#!/bin/bash cd ~/wan22-service WAN22_GPU_ID=2 export WAN22_GPU_ID export CUDA_VISIBLE_DEVICES=2 export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True export PYTHONPATH=/data/ymq/wan22-service/repo:~/Win2.2 nohup py3/bin/python ah.py > nohup.out 2>&1 & echo "wan22-service started, PID: $!, GPU: $WAN22_GPU_ID"