AGENT SKILL

intern-gpt

Operate InternGPT/InternChat multimodal agent deployments, visual-dialogue tools, cross-modal generation, DragGAN, and video workflows.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
intern-gpt
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Operate InternGPT/InternChat multimodal agent deployments, visual-dialogue tools, cross-modal generation, DragGAN, and video workflows.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

InternGPT

Use this skill when the task names InternGPT, InternChat, iGPT, iChat, or describes a pointing-language multimodal ChatGPT/Gradio agent that uses visual tools for image, audio, thermal, DragGAN, or video workflows.

Do not use this skill for unrelated Gradio, Stable Diffusion, SAM, ImageBind, or video-model tasks unless the user is working with InternGPT's app.py service, tool class names, model_zoo layout, Gradio tabs, or generated image/ media workflow.

First decisions

  1. Identify the user's surface: service launch, image dialogue/masks, cross-modal generation/DragGAN, or video understanding.
  2. Check whether the answer needs a live runtime or only a static plan. Most full InternGPT workflows need Linux, Python 3.8+, CUDA/PyTorch, large checkpoints in model_zoo, and sometimes an OpenAI API key.
  3. Prefer the bundled static validators before recommending expensive launches or model calls.
  4. Never claim a model output, Gradio service start, checkpoint conversion, Docker build, or OpenAI-backed clip generation unless that action was actually run in the user's provisioned environment.

Route map

Shared references and scripts

Installation snapshot

  • Use this distilled setup baseline: create a Python 3.8+ environment, install the runtime requirements with pip install -r requirements.txt, and then add the model-zoo and checkpoint files needed for the workflow you want.
  • If you only need to sanity-check the generated skill tree itself, run scripts/check_static_skill_readiness.py first. That command is the minimal verification step for the generated skill package structure.

Safe static checks

From this skill directory, use these checks before heavy runtime work:

python scripts/check_static_skill_readiness.py --skill-root .
python sub-skills/app-deployment/scripts/validate_load_plan.py --load "StyleGAN_cuda:0" --tab DragGAN --https -e
python sub-skills/cross-modal-generation/scripts/validate_multimodal_assets.py --tool AudioText2Image --tool-input "sample.wav,a rainy street"
python sub-skills/video-understanding/scripts/validate_video_plan.py --video sample.mp4 --tool ActionRecognition --uniformerv2-ready

For mask workflows, use sub-skills/visual-dialogue-tools/scripts/validate_mask_inputs.py with real local image and mask paths. That helper needs Pillow because it verifies readable image dimensions and non-empty mask pixels.

Runtime boundary

InternGPT is not packaged as a normal importable distribution in this checkout. Treat it as a service-style repository launched through its app entry point after dependency and checkpoint preparation. Static validators in this skill intentionally avoid importing InternGPT modules because those imports can pull heavy model stacks, download checkpoints, require credentials, or start services.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351