Downloads · 30 days
18
26% of all-time downloads
Perflow-Shuai/Wan2.2-5B-CFG5-to-CFG1-50Step-LoRA-r64-iter250
Wan2.2-5B-CFG5-to-CFG1-50Step-LoRA-r64-iter250 is a image-to-video model from Perflow-Shuai. Use it for the image-to-video task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
This is the generator LoRA from a CFG-only distillation run on Wan-AI/Wan2.2-TI2V-5B. It distills the base model's standard CFG=5 guided flow into one conditional student forward at CFG=1. It does not distill the deno…
Downloads · 30 days
18
26% of all-time downloads
All-time downloads
69
Public
Repo size
1.3 GB
Likes
1
Public
Click a slice to open those files.
.pt645 MB · 50%
From the Hugging Face model README
This is the generator LoRA from a CFG-only distillation run on Wan-AI/Wan2.2-TI2V-5B. It distills the base model's standard CFG=5 guided flow into one conditional student forward at CFG=1. It does not distill the denoising schedule and is not a few-step/DMD checkpoint.
| Setting | Value |
|---|---|
| Teacher CFG scale used for distillation | 5.0 |
| Student CFG during training | 1.0 |
| Recommended inference CFG | 1.0 |
| Default LoRA weight scale | 1.0 |
| Teacher → student denoising steps | 50 → 50 |
| Scheduler / timestep shift | FlowUniPC / 5.0 |
| LoRA rank / alpha | 64 / 64 |
| Training checkpoint | step 250 |
At inference, guidance_scale: 1.0 means conditional-only denoising: one DiT
forward per denoising step and no negative/unconditional branch. CFG scale and
LoRA weight scale are different controls; the training-aligned LoRA weight
scale is 1.0.
The frozen teacher target at each cached native-trajectory state is
v_cfg5 = v_uncond + 5 * (v_cond - v_uncond)
The trainable base+LoRA student makes one conditional forward and minimizes
relative-guidance-weighted MSE to v_cfg5. The run uses frozen teacher
trajectory states; the student does not generate its own rollout during
training (no self-forcing/self-generation loop). There is no DMD critic.
The run keeps the native 50-step schedule. Its training configuration is
included verbatim as training_config.yaml.
adapter_model.safetensors: generator LoRA in safe portable formatadapter_config.json: PEFT configuration and exact 300 target modulesgenerator_lora.pt: native LongLive payload with generator_lora and steptraining_config.yaml: exact training configurationinference_overrides.yaml: native-50-step, CFG=1 inference settingsrelease_metadata.json: machine-readable CFG and evaluation contractprovenance.json: source identities and local file checksumsSHA256SUMS: checksums for the published artifactsfrom huggingface_hub import hf_hub_download
lora_path = hf_hub_download(
repo_id="Perflow-Shuai/Wan2.2-5B-CFG5-to-CFG1-50Step-LoRA-r64-iter250",
filename="generator_lora.pt",
)
print(lora_path)
Configure the LongLive Wan2.2-5B inference path with:
checkpoints:
lora_ckpt: /path/to/generator_lora.pt
inference:
sampling_steps: 50
guidance_scale: 1.0
lora_weight_scale: 1.0
adapter:
type: lora
rank: 64
alpha: 64
dropout: 0.0
The matched evaluation profile used 1280×704 output, 121 frames at 24 FPS, 50 FlowUniPC steps, base default CFG=5, and distilled inference CFG=1.
| Weight file | Bytes | SHA-256 |
|---|---|---|
generator_lora.pt | 645089990 | 776e7475a0a5122bc93483313bb90d7a35273035bef2edeacf8c69db15a28525 |
adapter_model.safetensors | 644949288 | c16212b483e3fd3d3a8a91b9732342777addc23d08ef0be055ff442c650944d4 |
Original combined step-250 checkpoint SHA-256: ca079c126dda1744436174001cf419ce4d0ffca23b419c01f2d63a5155c1598b.
Training configuration SHA-256: 72060c553a8137df63c1dee4e3d657abc7d192c9351dfe405ef36995be23290c.
Training code commit: 4b33b3aae331c7811ed51374532a734df919ffcb.
This is a research checkpoint. The release records artifact integrity and the executed training contract; it does not claim universal prompt or downstream model quality.