27 lines
991 B
Bash
27 lines
991 B
Bash
IMAGE=wangxinjie/embodiedgen:v0.1.x
|
|
CONTAINER=EmbodiedGen-docker-${USER}
|
|
docker pull ${IMAGE}
|
|
docker run -itd --shm-size="64g" --gpus all --cap-add=SYS_PTRACE \
|
|
--security-opt seccomp=unconfined --privileged --net=host \
|
|
--name ${CONTAINER} ${IMAGE}
|
|
|
|
docker exec -it ${CONTAINER} bash
|
|
|
|
|
|
|
|
export no_proxy="localhost,127.0.0.1,192.168.48.210,120.48.161.22"
|
|
export ENDPOINT="https://llmproxy.d-robotics.cc/v1"
|
|
export API_KEY="sk-B8urDShf4TLeruwI3dB8286485Aa4984A722E945F566EfF4"
|
|
export MODEL_NAME="azure/gpt-4.1"
|
|
|
|
|
|
# start a tmux run in backend
|
|
CUDA_VISIBLE_DEVICES=0 nohup python apps/image_to_3d.py > /dev/null 2>&1 &
|
|
CUDA_VISIBLE_DEVICES=1 nohup python apps/text_to_3d.py > /dev/null 2>&1 &
|
|
CUDA_VISIBLE_DEVICES=2 nohup python apps/texture_edit.py > /dev/null 2>&1 &
|
|
|
|
# server_name="0.0.0.0", server_port=10001
|
|
# 120.48.161.22:10001
|
|
# unset http_proxy https_proxy no_proxy ENDPOINT API_KEY MODEL_NAME
|
|
# export http_proxy=http://192.168.16.76:18000 https_proxy=http://192.168.16.76:18000
|