start_multi_servers.sh 564 Bytes
Newer Older
xuwx1's avatar
xuwx1 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

# set path and first
lightx2v_path=/mnt/afs/users/lijiaqi2/deploy-comfyui-ljq-custom_nodes/ComfyUI-Lightx2vWrapper/lightx2v
model_path=/mnt/afs/users/lijiaqi2/wan_model/Wan2.1-R2V0909-Audio-14B-720P-fp8


export CUDA_VISIBLE_DEVICES=0,1,2,3

# set environment variables
source ${lightx2v_path}/scripts/base/base.sh

# Start multiple servers
torchrun --nproc_per_node 4 -m lightx2v.server \
    --model_cls seko_talk \
    --task i2v \
    --model_path $model_path \
    --config_json ${lightx2v_path}/configs/seko_talk/xxx_dist.json \
    --port 8000