- Wan2.2-TI2V-5B GPU 视频推理 - ahserver + longtasks 异步任务队列 - OpenAI 兼容 API: POST /api/submit, GET /api/task, GET /api/status - 模型常驻内存,惰性加载 - 全局串行推理锁(GPU 安全) - 支持 t2v/i2v/ti2v/s2v 四种任务类型
7 lines
187 B
Bash
Executable File
7 lines
187 B
Bash
Executable File
#!/bin/bash
|
|
pkill -f "python ah.py.*wan22" 2>/dev/null
|
|
# fallback: kill by port
|
|
PID=$(ss -tlnp | grep 8079 | grep -oP 'pid=\K\d+')
|
|
[ -n "$PID" ] && kill $PID
|
|
echo "wan22-service stopped"
|