-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: '>=' not supported between instances of 'NoneType' and 'int' #46
Comments
Please provide the full stack of errors |
I am getting the same message using rocm HIP with AMD gpu Alternatively if you have an AMD GPU please do the following (many thanks to Hackey for sharing these install instructions): pip3 install torch torchaudio triton --index-url https://download.pytorch.org/whl/rocm6.2 pip install -r requirements.txt
Check the documentation of torch.load to learn more about types accepted by default with weights_only https://pytorch.org/docs/stable/generated/torch.load.html. even though i am using the --sdpa switch at launch,,, in the end the script is trying to use safetensors which pytorch-rocm does not use?? TIA ` |
What comes before the errors there? If it's something about torch.nn.Buffers not existing, you are likely on the wrong version of torch. |
pls advise how to solve
Traceback (most recent call last):
File "E:\program\YuEGP\venv\lib\site-packages\mmgp\safetensors2.py", line 54, in finalizer
TypeError: '>=' not supported between instances of 'NoneType' and 'int'
The text was updated successfully, but these errors were encountered: