Runtime error on photomaker v2

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

Hi there. Thanks for the response… However I’m a beginner and I don’t know how to rewrite this… Is there any tutorial on how to do this?
And how would I do this on the site itself when I’m just a user and not the website designer?

1 Like

I see. For now, I’ve requested that the original space be corrected.

Thanks… Let’s see when the updated requirements gets into affect

1 Like

It’s still not working… Is there any way around it? Like can someone make a copy of it and publish it with the updated requirements?
Or is there a contact page where we can ask them directly to update it?

1 Like

Like can someone make a copy of it and publish it with the updated requirements?

Well, anyone with a Pro/Enterprise subscription can do it, but I don’t have enough slots, so it’s impossible for me…

a contact page

The Discussion section is roughly equivalent to that. However, it is not very responsive…

The page has changed… Now as soon as you enter it shows a configuration error

1 Like