It’s been about a month since the space I use (photomaker v2) isn’t working. It’s giving an error called runtime error.
What’s the fix to this and when it can be fixed??
1 Like
Currently, due to hardware updates, PyTorch 2.0.0 is no longer supported and therefore no longer works. As an example, you can make it work by rewriting requirements.txt
as follows.
diffusers==0.29.0
torch==2.4.0
torchvision>=0.15.1
transformers<=4.49.0
accelerate
safetensors
einops
onnxruntime-gpu
spaces
omegaconf
peft
huggingface-hub==0.25.2
insightface==0.7.3
numpy<2
pydantic==2.10.6