You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering an error while trying to load weights in Krita that uses PyTorch. The error message is as follows:
Server execution error: Weights only load failed. In PyTorch 2.6, we changed the default value of the weights_only argument in torch.load from False to True. Re-running torch.load with weights_only set to False will likely succeed, but it can result in arbitrary code execution. Do it only if you got the file from a trusted source.
Please file an issue with the following so that we can make weights_only=True compatible with your use case: WeightsUnpickler error: Unsupported operand 60
Hello,
I am encountering an error while trying to load weights in Krita that uses PyTorch. The error message is as follows:
Server execution error: Weights only load failed. In PyTorch 2.6, we changed the default value of the
weights_only
argument intorch.load
fromFalse
toTrue
. Re-runningtorch.load
withweights_only
set toFalse
will likely succeed, but it can result in arbitrary code execution. Do it only if you got the file from a trusted source.Please file an issue with the following so that we can make
weights_only=True
compatible with your use case: WeightsUnpickler error: Unsupported operand 60Check 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.
I would appreciate any guidance on how to resolve this issue, as I am unable to proceed with my work in Krita.
Thank you!
The text was updated successfully, but these errors were encountered: