在服务器上运行成功的模型步骤
conda create -n fastvideo python=3.12
conda activate fastvideo
# Install FastVideo
pip install fastvideo
conda install flash-attn
# 运行Wan2.2-T2V-A14B
export HF_ENDPOINT=https://hf-mirror.com
pip install "huggingface_hub[cli]"
huggingface-cli download Wan-AI/Wan2.2-T2V-A14B --local-dir ./Wan2.2-T2V-A14B
torchrun --nproc_per_node=8 generate.py --task t2v-A14B --size 1280*720 --ckpt_dir ./Wan2.2-T2V-A14B --dit_fsdp --t5_fsdp --ulysses_size 8 --prompt "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage."
# 运行MoviiGen1.1
huggingface-cli download ZuluVision/MoviiGen1.1 --local-dir ./MoviiGen1.1
python -m pip install xfuser
PYTHONPATH=. torchrun --nproc_per_node=8 scripts/inference/generate.py --task t2v-14B --size 1280*560 --ckpt_dir ./MoviiGen1.1 --dit_fsdp --t5_fsdp --ulysses_size 8 --prompt "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage."
# 实时监控显存使用
watch -n 1 nvidia-smi

0、【Python】【PyPi】搭建本地PyPi镜像源

1、《Attention Is All You Need》
2、Transformer【DiT】
3、大白话解释Token

视频模型

1、阿里开源AI视频生成大模型 Wan2.1:14B
2、MoviiGen 1.1 – AI视频生成模型,支持生成电影级画质
【huggingface下载加速https://hf-mirror.com/】
. 在这里插入图片描述
1、【FastVideo】
2、【comfyui】
3、【runninghub】
注释:
入门桌面化工作流ComfyUI 文生图【同coze】
closerAI ComfyUI强悍!MoviiGen 1.1
部署:
flash-attn

conda install flash-attn
export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True
export HF_ENDPOINT=https://hf-mirror.com
# 使用 huggingface-cli 下载模型
pip install "huggingface_hub[cli]"
huggingface-cli download ZuluVision/MoviiGen1.1 --local-dir ./MoviiGen1.1
# 使用 modelscope-cli 下载模型
pip install modelscope
modelscope download Wan-AI/Wan2.2-T2V-A14B --local_dir ./Wan2.2-T2V-A14B

AI深度学习模型可视化工具:Netron

在这里插入图片描述

Logo

聚焦RDK与具身智能,汇集机器人开发教程、开源案例和技术交流

更多推荐