modify gitignore
This commit is contained in:
parent
74c3c52a23
commit
eae67dc538
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
build/
|
build/
|
||||||
dummy/
|
dummy/
|
||||||
|
thirdparty/
|
||||||
!scripts/build
|
!scripts/build
|
||||||
builddir/
|
builddir/
|
||||||
conan-deps/
|
conan-deps/
|
||||||
|
|||||||
@ -25,12 +25,10 @@ ENV CUDA_HOME=/usr/local/cuda-11.8 \
|
|||||||
|
|
||||||
RUN useradd -m -s /bin/bash e_user
|
RUN useradd -m -s /bin/bash e_user
|
||||||
WORKDIR /EmbodiedGen
|
WORKDIR /EmbodiedGen
|
||||||
COPY . .
|
|
||||||
RUN chown -R e_user:e_user /EmbodiedGen
|
RUN chown -R e_user:e_user /EmbodiedGen
|
||||||
USER e_user
|
USER e_user
|
||||||
|
|
||||||
RUN conda create -n embodiedgen python=3.10.13 -y && \
|
RUN conda create -n embodiedgen python=3.10.13 -y
|
||||||
conda run -n embodiedgen bash install.sh
|
|
||||||
|
|
||||||
RUN /opt/conda/bin/conda init bash && \
|
RUN /opt/conda/bin/conda init bash && \
|
||||||
echo "conda activate embodiedgen" >> /home/e_user/.bashrc
|
echo "conda activate embodiedgen" >> /home/e_user/.bashrc
|
||||||
0
Dockerfile.dev
Normal file
0
Dockerfile.dev
Normal file
4
Dockerfile.prod
Normal file
4
Dockerfile.prod
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
FROM embodiedgen:v0.1.2
|
||||||
|
WORKDIR /EmbodiedGen
|
||||||
|
COPY . .
|
||||||
|
|
||||||
@ -471,4 +471,4 @@ with gr.Blocks(delete_cache=(43200, 43200), theme=custom_theme) as demo:
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
demo.launch(server_port=8082)
|
demo.launch(server_name="0.0.0.0", server_port=8082)
|
||||||
|
|||||||
26
docker.sh
Normal file
26
docker.sh
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
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
|
||||||
@ -5,8 +5,9 @@ source "$SCRIPT_DIR/_utils.sh"
|
|||||||
|
|
||||||
PIP_INSTALL_PACKAGES=(
|
PIP_INSTALL_PACKAGES=(
|
||||||
"pip==22.3.1"
|
"pip==22.3.1"
|
||||||
"torch==2.4.0 torchvision==0.19.0 --index-url https://download.pytorch.org/whl/cu118"
|
"torch==2.4.0+cu121 torchvision==0.19.0+cu121 --index-url https://download.pytorch.org/whl/cu121"
|
||||||
"xformers==0.0.27.post2 --index-url https://download.pytorch.org/whl/cu118"
|
"xformers==0.0.27.post2 --index-url https://download.pytorch.org/whl/cu121"
|
||||||
|
"flash-attn==2.7.0.post2 --no-build-isolation"
|
||||||
"-r requirements.txt --use-deprecated=legacy-resolver"
|
"-r requirements.txt --use-deprecated=legacy-resolver"
|
||||||
"flash-attn==2.7.0.post2"
|
"flash-attn==2.7.0.post2"
|
||||||
"utils3d@git+https://github.com/EasternJournalist/utils3d.git@9a4eb15"
|
"utils3d@git+https://github.com/EasternJournalist/utils3d.git@9a4eb15"
|
||||||
|
|||||||
16
run_docker.sh
Normal file
16
run_docker.sh
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
IMAGE=embodiedgen:v0.1.1
|
||||||
|
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 \
|
||||||
|
-v /data1/liy/projects/EmbodiedGen:/EmbodiedGen \
|
||||||
|
--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"
|
||||||
1
thirdparty/TRELLIS
vendored
1
thirdparty/TRELLIS
vendored
@ -1 +0,0 @@
|
|||||||
Subproject commit 55a8e8164b195bbf927e0978f00e76c835e6011f
|
|
||||||
1
thirdparty/pano2room
vendored
1
thirdparty/pano2room
vendored
@ -1 +0,0 @@
|
|||||||
Subproject commit bbf93ae57086ed700edc6ee445852d4457a9d704
|
|
||||||
Loading…
x
Reference in New Issue
Block a user