Download misc/fix_envs8.sh from AIGeeksGroup/PhysicalWM: direct link, hf CLI and curl.
- Browser
- Download file 1.23 kB
-
https://huggingface.co/datasets/AIGeeksGroup/PhysicalWM/resolve/main/misc/fix_envs8.sh
- Command line
-
hf download hf://datasets/AIGeeksGroup/PhysicalWM/misc/fix_envs8.sh
-
curl -L -o fix_envs8.sh https://huggingface.co/datasets/AIGeeksGroup/PhysicalWM/resolve/main/misc/fix_envs8.sh
1.23 kB
| set -uo pipefail | |
| source ~/miniconda3/etc/profile.d/conda.sh | |
| export TMPDIR=$HOME/jiayin/tmp PIP_CACHE_DIR=$HOME/jiayin/pipcache | |
| T=$HOME/jiayin/tmp/ovow_exts | |
| cd ~/jiayin/OVOW | |
| conda activate ovow-opg | |
| export CUDA_HOME=$HOME/jiayin/cuda121 PATH=$HOME/jiayin/cuda121/bin:$PATH | |
| export CPATH=$HOME/jiayin/cuda121/include:${CPATH:-} | |
| export CPATH=$CPATH | |
| pip install ninja pybind11 | |
| pip install --no-build-isolation git+https://github.com/JeffreyXiang/CuMesh.git && echo CUMESH_OK | |
| for p in fpose fpose/fpose/bundlesdf/mycuda DA3 SAM2-in-video Amodal3R SpaTrackerV2 trellis; do pip install -e engine/oneposeviagen/$p --no-build-isolation && echo OK_$p || echo FAIL_$p; done | |
| pip install --no-build-isolation git+https://github.com/facebookresearch/pytorch3d.git && echo P3D_OK || echo FAIL_pytorch3d | |
| [ -d $T/nvdiffrec ] || git clone -b renderutils https://github.com/JeffreyXiang/nvdiffrec.git $T/nvdiffrec | |
| pip install --no-build-isolation $T/nvdiffrec && echo NVDIFFREC_OK || echo FAIL_nvdiffrec | |
| pip install --no-build-isolation -e engine/oneposeviagen/TRELLIS2/o-voxel && echo OVOXEL_OK || echo FAIL_ovoxel | |
| pip install flash-attn --no-build-isolation && echo FLASH_OK || echo FAIL_flashattn | |
| conda deactivate | |
| echo EIGHT_DONE | |