lumina-t2x
Routes Lumina-T2X tasks across text-to-image generation, image training, audio/music demos, visual anagrams, and ImageNet benchmark training.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- lumina-t2x
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Routes Lumina-T2X tasks across text-to-image generation, image training, audio/music demos, visual anagrams, and ImageNet benchmark training.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/overview.md2.1 KB
- 参考文档references/repo-provenance.md1.9 KB
- 参考文档references/repo-routing-metadata.json498 B
- 参考文档references/troubleshooting.md5.2 KB
- 脚本scripts/check_env.py5.6 KB
03 SKILL.md 正文
Lumina-T2X
Lumina-T2X is a family skill for the Alpha-VLLM image, audio, music, and benchmark subprojects in this repository. Use this root router when the user asks about Lumina-T2I, Lumina-Next-T2I, Lumina-Next-T2I-Mini, compositional generation, text-to-audio, text-to-music, visual anagrams, or the Flag-DiT / Next-DiT ImageNet training branches.
Quick prerequisites
- CUDA-capable GPU support is required for the model-backed workflows in this repo.
flash-attnis required by the image, audio/music, visual-anagram, and ImageNet model code paths.- A full CUDA+C++ Apex build is optional, but a Python-only Apex install is a known failure mode.
- The repo has multiple dependency families:
- core image generation:
pip install -e . - audio extras:
pip install -e ".[audio]" - music extras:
pip install -e ".[music]"
- core image generation:
- For a fast environment sanity check, run
scripts/check_env.pybefore any heavy workflow.
Route map
sub-skills/image-generation/SKILL.md- Text-to-image inference, checkpoint conversion, demos, img2img, compositional generation, and SD3-style image generation.
sub-skills/image-training/SKILL.md- Lumina-T2I / Lumina-Next-T2I / Lumina-Next-T2I-Mini training, data preparation, resume logic, and DreamBooth-style finetuning.
sub-skills/audio-music/SKILL.md- Text-to-audio and text-to-music demos, checkpoint layout, structure-caption setup, and config editing.
sub-skills/visual-anagrams/SKILL.md- Optical-illusion generation, view selection, animation, and metadata handling.
sub-skills/imagenet-training/SKILL.md- Flag-DiT, Next-DiT, and Next-DiT-MoE ImageNet training and sampling.
Read next
references/repo-provenance.mdwhen checking whether this skill matches the current checkout.references/troubleshooting.mdfor shared install, backend, and checkpoint failures.references/overview.mdfor the compact repo family map.scripts/check_env.pywhen you need a safe dependency and backend probe.
Common navigation hints
- If the request mentions
luminaorlumina_next, start withimage-generationorimage-training. - If the request mentions
demo_audio.py,demo_music.py, or structure captions, start withaudio-music. - If the request mentions
generate.py,views,animate.py, or illusion metadata, start withvisual-anagrams. - If the request mentions
ImageNet,FSDP,srun,torchrun, orrun_8gpus.sh, start withimagenet-training.
04 同仓库更多 Skills
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.
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.
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.
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.
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.
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).