AGENT SKILL

paired-inference

Route Pix2Pix-Turbo paired image-translation inference for edge-to-image, stochastic sketch-to-image, custom Pix2Pix checkpoints, and local paired Gradio demos.

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

01 前言 Front Matter

name
paired-inference
license
MIT
metadata
{ "disco-role": "operating", "root-skill": "img2img-turbo" }
description
Route Pix2Pix-Turbo paired image-translation inference for edge-to-image, stochastic sketch-to-image, custom Pix2Pix checkpoints, and local paired Gradio demos.
disable-model-invocation
true

02 资源文件 6

03 SKILL.md 正文

Paired Inference Router

Use this sub-skill when the task is Pix2Pix-Turbo paired image translation:

  • Canny edge-to-image from an RGB image plus a text prompt.
  • Stochastic sketch-to-image from a sketch plus a text prompt, guidance value, and seed.
  • Inference from a custom Pix2Pix-Turbo checkpoint produced by the paired training workflow.
  • Local Gradio demos for the paired Canny and sketch interfaces.

Do not use this sub-skill for unpaired CycleGAN-Turbo translation; route that to unpaired-inference. Do not use it for dataset layout, training, or checkpoint creation; route those to training.

Operating references

  1. Read CLI and API reference for exact selectors, flags, constructor and forward signatures, output files, and checkpoint schema expectations.
  2. Use workflows for ready-to-adapt edge, sketch, custom-checkpoint, and Gradio recipes.
  3. Use troubleshooting for CUDA/download, selector, prompt, resize, Canny/gamma, and Gradio failures.

Bundled safe helpers

These helpers do not run model inference or launch a server by default:

Safety and evidence limits

The source paired inference code is CUDA-oriented and constructs Stable Diffusion Turbo components plus Pix2Pix-Turbo LoRA checkpoints before inference. This generated sub-skill preserves the verified command/API behavior and safe parser/preprocessing helpers, but it does not claim that full model inference, checkpoint download, Gradio serving, or training was executed during skill drafting.

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