Skip to content
Back to skills

Checkpoint And Setup

ASecurity

"Guides HunyuanVideo installation, CUDA dependency choices,

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
toolspythonbashdockerbackend

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill checkpoint-and-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Checkpoint And Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Checkpoint And Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-checkpoint-and-setup/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-checkpoint-and-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: checkpoint-and-setup
description: "Guides HunyuanVideo installation, CUDA dependency choices,
  checkpoint layout validation, text encoder preparation, and model-root
  troubleshooting."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# HunyuanVideo Checkpoint and Setup

Use this sub-skill when the task is about installing HunyuanVideo, preparing `ckpts/`, validating model files, diagnosing missing text encoders/VAE/DIT weights, or deciding whether CUDA hardware is sufficient before generation.

## Read first

- `references/installation.md` for Python, CUDA, Docker, and dependency guidance.
- `references/checkpoint-layout.md` for the expected checkpoint tree and text encoder preprocessing.
- `references/troubleshooting.md` for setup failures and memory/backend triage.
- `scripts/validate_checkpoint_layout.py` to validate file presence without downloading or loading weights.

## Safe workflow

1. Confirm the environment has the repo-pinned dependencies and CUDA if generation is required. From the root skill, run:

```bash
python scripts/check_hunyuan_video_env.py --check-optional
```

2. Validate model files before launching a long generation job:

```bash
python sub-skills/checkpoint-and-setup/scripts/validate_checkpoint_layout.py --model-base ckpts
```

3. If using FP8, validate the companion map file too:

```bash
python sub-skills/checkpoint-and-setup/scripts/validate_checkpoint_layout.py --model-base ckpts --require-fp8 --dit-weight ckpts/hunyuan-video-t2v-720p/transformers/mp_rank_00_model_states_fp8.pt
```

4. Route to `../inference/SKILL.md` for single-GPU command construction, `../parallel-and-optimization/SKILL.md` for FP8/xDiT commands, or `../web-demo/SKILL.md` for Gradio launch.

## Important constraints

- `--model-base` defaults to `ckpts`; if that directory does not exist, the canonical sampling script fails before model loading.
- The default constants also read a `MODEL_BASE` environment variable at import time. Keep `MODEL_BASE` and `--model-base` consistent when customizing paths.
- Full generation is not proven by parser or layout checks. It requires downloaded checkpoint files, CUDA, and enough VRAM.
- The repository documents Linux, Python 3.10.9, PyTorch 2.6.0, CUDA 12.4 or 11.8, flash-attn, and optional xDiT.

Files in this skill

  • SKILL.md2.3 KB
  • references/checkpoint-layout.md2.2 KB
  • references/installation.md2.4 KB
  • references/troubleshooting.md2 KB
  • scripts/extract_llava_text_encoder.py2.3 KB
  • scripts/validate_checkpoint_layout.py5.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.