Traceback (most recent call last):
File “/home/user/HoLa-Brep/app.py”, line 7, in
from app.AppLayout import *
File “/home/user/HoLa-Brep/app/init.py”, line 1, in
from .ModelBuilder import ModelBuilder
File “/home/user/HoLa-Brep/app/ModelBuilder.py”, line 7, in
from diffusion.diffusion_model import Diffusion_condition
ModuleNotFoundError: No module named ‘diffusion’
There does not exist any file named ‘diffusion’ in the entire space. I tried downloading the docker image and still received this error. I am confused why the space runs in the UI but not locally. Any help would be appreciated greatly.
Hi @william590y When duplicating a Space, we recommend using the same hardware as the original Space in order to avoid any issues. It looks like this Space is running on Nvidia T4 small.
We have more info on GPU upgrades here: Using GPU Spaces. Let us know if you continue running into issues on the upgraded hardware.
Hmm, that space seems to be in a very unusual state. Looking at the commit history, there are no signs of deletion, so it may have been Super Squash History, but I can’t find any files that seem to have been there before. I don’t think there are any matching files in the libraries installed via Dockerfile either. It may be installed as a dependency of one of the libraries. In any case, in its current state, the author’s code itself is actually running and working… https://huggingface.co/spaces/YuXingyao/HoLa-BRep/blob/main/diffusion/inference.py
Hi there John! Thank you for the kind reply. I’ve contacted the author and I’ve been told the default provided docker command:
docker run -it -p 7860:7860 --platform=linux/amd64 --gpus all
registry.hf.space/yuxingyao-hola-brep:latest
executes the huggingface front end, but not the core code, which is inside of the docker container. However, I can’t seem to find any reference to diffusion inside the container.