Build timeout when starting space
Hi, I duplicatedthreestudio - a Hugging Face Space by bennyguo. I’ve tried to start it a couple of times and it always ends with…Build errorBuild timeout…with no obvious errors in the logs. Is there some time limit to building the space that I can change in settings? I set the sleep settings to 10 hours so it’s not that.
2023-08-16T17:31:22Z
hi@neilmendozaIndeed, I’m trying now the duplication with a t4 GPU, and it’s stuck buildingnerfaccpython wheel.We do have the undocumented parameter for the README.md yamlstartup_duration_timeout: 1h, However, you can try replacing the build with a pre-compile wheelHerehuggingface.coDockerfile · radames/threestudio at 04b0278dc25e0614d5858573429fe324edef8f15We’re on a journey to advance and democratize artificial intelligence through open source and open science.Line 55 on the DockerfileRUN pip install nerfacc==0.5.2 -f https://nerfacc-bucket.s3.us-west-2.amazonaws.com/whl/torch-2.0.0_cu118.html
2023-08-16T17:43:57Z
never mind, since it stills need to buildtinycudannso better try withstartup_duration_timeout: 1h
2023-08-16T17:59:31Z
Hi@radames!!Running it on an A10G as seems like you need20GB of VRAMto run some of the bigger models. Think it will actually take longer than an hour to build so stuckstartup_duration_timeout: 2hin README.md as seems like where the settings go (complete noob here).
2023-08-16T20:20:51Z
hi@neilmendoza, not it successfully build on a T4 16gb VRAM if you’re using Stable Diffusion, if you need DeepFloyd then you need >20VRAM# if you have agreed the license of DeepFloyd IF and have >20GB VRAM
# please try this configuration for higher quality
python launch.py --config configs/dreamfusion-if.yaml --train --gpu 0 system.prompt_processor.prompt="a zoomed out DSLR photo of a baby bunny sitting on top of a stack of pancakes"
# otherwise you could try with the Stable Diffusion model, which fits in 6GB VRAM
python launch.py --config configs/dreamfusion-sd.yaml --train --gpu 0 system.prompt_processor.prompt="a zoomed out DSLR photo of a baby bunny sitting on top of a stack of pancakes"Need the following patchesDockerfile#L55Dockerfile#L65
2023-08-17T11:36:54Z
Thanks! I setstartup_duration_timeout: 4hin the README.md and also used your patches but still seems to time out when building
2023-08-17T21:12:04Z
hi@neilmendoza,just tried again on a A10, 100s to the first pass, building tiny-nn.Please try factory reboot.here’s the Docker build log..
DONE 102.2s

--> ADD https://api.github.com/repos/threestudio-project/threestudio/commits?per_page=1 latest_commit
DONE 0.1s

--> RUN git clone https://github.com/threestudio-project/threestudio.git /home/dreamer/threestudio
Cloning into '/home/dreamer/threestudio'...
DONE 1.0s

--> WORKDIR /home/dreamer/threestudio
DONE 0.0s

--> RUN git checkout 27d69d9845016c8b8aa0bac92ab6d4fea8d1e1b8
Note: switching to '27d69d9845016c8b8aa0bac92ab6d4fea8d1e1b8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 27d69d9 update zero123 simple config
DONE 0.2s

--> Pushing image
DONE 33.6s

--> Exporting cache
DONE 8.8s