sana
Use and maintain Sana image, video, training, evaluation, and deployment workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- sana
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use and maintain Sana image, video, training, evaluation, and deployment workflows.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/repo-provenance.md1.4 KB
- 参考文档references/repo-routing-metadata.json481 B
- 参考文档references/troubleshooting.md4.0 KB
03 SKILL.md 正文
Sana
Use this repo skill when the task names Sana, SANA-1.5, SANA-Sprint, SANA-Video, LongSANA, SANA-WM, SANA-Streaming, or Sol-RL, or when the request spans more than one Sana workflow family. This root skill is a router for the sub-skills below, not a long manual.
This skill is self-contained guidance distilled from the Sana repository. It does not require the original checkout to remain available once this tree has been generated.
Route By Task
| User task | Read |
|---|---|
| Still-image generation, prompt-file image batches, ControlNet HED, 4-bit/8-bit image inference, 2K/4K tiling, Gradio image demos | image-generation |
| SANA-Video, LongSANA, SANA-WM, SANA-WM streaming, or SANA-Streaming V2V | video-world-streaming |
| Image/video training, data layout validation, FSDP/DDP launch planning, LoRA/DreamBooth, Sprint, Sol-RL, or Cosmos-RL boundaries | training-data-configs |
Metrics, checkpoint conversion/export, sana-run, sana-upload, SGLang, ComfyUI, or deployment planning |
evaluation-conversion-deployment |
Common Entry Points
python scripts/check_sana_install.pyperforms a safe import/CLI smoke check.python scripts/check_sana_install.py --skip-clikeeps the check import-only.python -m pip install -e .is the expected editable install path after the required Python 3.11/CUDA stack is ready.sana-run --helpandsana-upload --helpare the public entry points for the two console scripts.
Shared References
references/troubleshooting.md: cross-cutting install, import, backend, and CLI triage.references/repo-provenance.md: source snapshot and staleness cues for this generated skill.references/repo-routing-metadata.json: structured managed-router metadata for this skill.
Start Here
- Pick the route that matches the user request.
- Read the sub-skill before drafting commands or explanations.
- Use the bundled helper in that sub-skill if the workflow has one.
- Keep final guidance self-contained; do not point runtime instructions back at the original checkout.
Boundaries
- Do not turn this root into a model runner, trainer, benchmark harness, or download assistant.
- Do not duplicate the full workflow manuals here; the sub-skills own those details.
- Do not assume CPU-only smoke checks prove a CUDA generation or distributed-training workflow works.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.