Add environment config and wok script, ignore symlinks

Added environment.yml for project dependencies and wok/go.sh script. Updated .gitignore to exclude symlinks in wok directory.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Stan Campbell 2025-10-17 01:34:41 -07:00
parent 7c81b2f27d
commit cc049067b6
3 changed files with 29 additions and 1 deletions

4
.gitignore vendored
View File

@ -34,4 +34,6 @@ Wan2.1-T2V-14B/
Wan2.1-T2V-1.3B/
Wan2.1-I2V-14B-480P/
Wan2.1-I2V-14B-720P/
poetry.lock
poetry.lock
wok/37ec512624d61f7aa208f7ea8140a131f93afc9a
wok/t2v-1.3b

24
environment.yml Normal file
View File

@ -0,0 +1,24 @@
name: wan21
channels:
- conda-forge
- defaults
dependencies:
- python>=3.10
- pytorch>=2.4.0
- torchvision>=0.19.0
- tqdm
- imageio
- imageio-ffmpeg
- numpy>=1.23.5,<2
- pip
- pip:
- opencv-python>=4.9.0.80
- diffusers>=0.31.0
- transformers>=4.49.0
- tokenizers>=0.20.3
- accelerate>=1.1.1
- easydict
- ftfy
- dashscope
- flash_attn
- gradio>=5.0.0

2
wok/go.sh Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/bash
python ../generate.py --task t2v-1.3B --size 480*832 --ckpt_dir ./t2v-1.3b --offload_model True --prompt "happy the dwarf and sneezy the dwarf wrestle to the death at madison square garden"