Spaces:
Build error
Build error
bump latest commit , use wheel ?
Browse fileshi
@bennyguo
, this fix helped a user to build successfully when duplicating it. wdyt?
- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -52,7 +52,8 @@ RUN pip install --upgrade pip setuptools ninja
|
|
52 |
RUN pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --index-url https://download.pytorch.org/whl/cu118
|
53 |
# Install nerfacc and tiny-cuda-nn before installing requirements.txt
|
54 |
# because these two installations are time consuming and error prone
|
55 |
-
RUN pip install git+https://github.com/KAIR-BAIR/nerfacc.git@v0.5.2
|
|
|
56 |
RUN pip install git+https://github.com/NVlabs/tiny-cuda-nn.git#subdirectory=bindings/torch
|
57 |
|
58 |
COPY requirements.txt /tmp
|
@@ -62,5 +63,5 @@ RUN cd /tmp && pip install -r requirements.txt
|
|
62 |
ADD "https://api.github.com/repos/threestudio-project/threestudio/commits?per_page=1" latest_commit
|
63 |
RUN git clone https://github.com/threestudio-project/threestudio.git /home/${USER_NAME}/threestudio
|
64 |
WORKDIR /home/${USER_NAME}/threestudio
|
65 |
-
RUN git checkout
|
66 |
CMD ["python", "gradio_app.py", "launch", "--listen", "--hf-space"]
|
|
|
52 |
RUN pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --index-url https://download.pytorch.org/whl/cu118
|
53 |
# Install nerfacc and tiny-cuda-nn before installing requirements.txt
|
54 |
# because these two installations are time consuming and error prone
|
55 |
+
# RUN pip install git+https://github.com/KAIR-BAIR/nerfacc.git@v0.5.2
|
56 |
+
RUN pip install nerfacc==0.5.2 -f https://nerfacc-bucket.s3.us-west-2.amazonaws.com/whl/torch-2.0.0_cu118.html
|
57 |
RUN pip install git+https://github.com/NVlabs/tiny-cuda-nn.git#subdirectory=bindings/torch
|
58 |
|
59 |
COPY requirements.txt /tmp
|
|
|
63 |
ADD "https://api.github.com/repos/threestudio-project/threestudio/commits?per_page=1" latest_commit
|
64 |
RUN git clone https://github.com/threestudio-project/threestudio.git /home/${USER_NAME}/threestudio
|
65 |
WORKDIR /home/${USER_NAME}/threestudio
|
66 |
+
RUN git checkout 27d69d9845016c8b8aa0bac92ab6d4fea8d1e1b8
|
67 |
CMD ["python", "gradio_app.py", "launch", "--listen", "--hf-space"]
|