Text-to-Video
Diffusers
Safetensors
WanPipeline
wlsaidhi commited on
Commit
621c6ae
·
verified ·
1 Parent(s): 91bc7cc

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +11 -9
README.md CHANGED
@@ -49,15 +49,17 @@ The model is built on [Wan-AI/Wan2.1-T2V-1.3B-Diffusers](https://huggingface.co/
49
  ## Inference
50
 
51
  ```bash
52
- # Install Tiny Autoencoder
53
- git clone https://github.com/madebyollin/taehv.git
54
- uv pip install -e taehv/
55
-
56
- git clone https://github.com/hao-ai-lab/FastVideo.git
57
- cd FastVideo
58
- uv pip install -e .
59
- cd examples/inference/optimizations
60
- python nvfp4_qat_wan2_1_1_3b.py --taehv-checkpoint /path/to/taehv/taew2_1.pth
 
 
61
  ```
62
 
63
  ## Training
 
49
  ## Inference
50
 
51
  ```bash
52
+ docker run --gpus all --ipc=host --rm -it ghcr.io/hao-ai-lab/fastvideo/fastvideo-dev:py3.12-sha-f889e6b bash
53
+
54
+ # should drop you in /FastVideo with venv already activated
55
+ git fetch && git checkout main
56
+ # build fastvideo-kernel
57
+ cd fastvideo-kernels/ && ./build.sh && cd ..
58
+ git clone https://github.com/madebyollin/taehv
59
+ uv pip install ./taehv
60
+
61
+ # run generation:
62
+ FASTVIDEO_DISABLE_ATTENTION_COMPILE=0 FASTVIDEO_ATTENTION_BACKEND=ATTN_QAT_INFER python examples/inference/optimizations/FastWan_QAD_TAEHV.py --model FastVideo/FastWan-QAD-1.3B --distilled_model "" --taehv_checkpoint taehv/taew2_1.pth
63
  ```
64
 
65
  ## Training