Spaces:
Paused

Reverb commited on
Commit
eb018ed
·
1 Parent(s): 75e8e33

Fix: replace PyPI nvdiffrast (doesn't exist) with Jeff Xiang's prebuilt wheel

Browse files

nvdiffrast is not published on PyPI — pip found zero matching distributions.
Use the prebuilt cp310 wheel from JeffreyXiang/Storages instead.

Also add try/except guards at the top of every @spaces.GPU baking function
so that if the wheel fails to load at runtime (e.g. ABI mismatch with
torch 2.8+) the Space still boots and the baking steps return a clear
error message rather than crashing the process.

4 files changed +24 -5
Files changed (4)
requirements.txt+4-1
src/stages/stage2_bake_albedo.py+10-2
src/stages/stage2_bake_ao.py+5-1
src/stages/stage2_bake_normal.py+5-1