why i am getting this error
May i know the size of gpu required to run the this model
Happens to me as well, i got this warning in the console maybe is related? UserWarning: The given NumPy array is not writable, and PyTorch does not support non-writable tensors. This means writing to this tensor will result in undefined behavior. You may want to copy the array to protect its data or make it writable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:212.)
I am getting the same issue with no console log indicating a problem. I added debug=True to the demo launch in app.py and still am not seeing any indication of what the problem is.
Upgrading to gradio 4 solved it for me
Upgrading to gradio 4 solved it for me
Which version gradio exactly did you upgrade to?
upgrading to gradio 4.0.0 does not work for me.
upgrading to gradio 4.0.0 does not work for me.
gradio with 5.12.0 works well for me. pip install -U gradio at 1/16/2025
upgrading to gradio 4.0.0 does not work for me.
gradio with 5.12.0 works well for me.
pip install -U gradioat 1/16/2025
Thanks! This works for me. For anyone who still faces the issue. I'm on windows 11 And the below versions work for me:
gradio==5.12.0
huggingface-hub==0.25.2
einops==0.8.0
omegaconf==2.3.0
torchmetrics==1.6.1
webdataset==0.2.100
accelerate==0.31.0
tensorboard==2.18.0
PyMCubes==0.1.6
trimesh==4.5.3
rembg==2.0.61
transformers==4.45.0
diffusers==0.20.2
What version of tokenizers is you have installed? @Welly0902