yumoqing 769fc4968e feat: initial wan22 video generation service
- Wan2.2-TI2V-5B GPU 视频推理
- ahserver + longtasks 异步任务队列
- OpenAI 兼容 API: POST /api/submit, GET /api/task, GET /api/status
- 模型常驻内存,惰性加载
- 全局串行推理锁(GPU 安全)
- 支持 t2v/i2v/ti2v/s2v 四种任务类型
2026-06-09 22:00:22 +08:00

6 lines
196 B
Bash
Executable File

#!/bin/bash
cd ~/wan22-service
export WAN22_GPU_ID=${WAN22_GPU_ID:-2}
nohup /share/vllm-0.8.5/bin/python ah.py > wan22-service.log 2>&1 &
echo "wan22-service started, PID: $!, GPU: $WAN22_GPU_ID"