support kunlunxin

This commit is contained in:
yuxiaojie@4paradigm.com
2025-09-08 16:29:07 +08:00
parent 08b5a1433a
commit 0ae0bd7904
2 changed files with 13 additions and 0 deletions

5
run_in_docker_r200.sh Executable file
View File

@@ -0,0 +1,5 @@
#! /usr/bin/env bash
# cnmon
image=harbor-contest.4pd.io/zhanghao/t2v:r200-0.1
device_id=2
docker run -it -v /root/zhanghao:/workspace -v /mnt:/mnt --security-opt=seccomp=unconfined --cap-add=SYS_PTRACE --cap-add=SYS_ADMIN --device /dev/fuse --shm-size=32g --ulimit=memlock=-1 --ulimit=nofile=120000 --ulimit=stack=67108864 --device=/dev/xpu$device_id:/dev/xpu0 --device=/dev/xpuctrl:/dev/xpuctrl $image bash