-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Bug] SECURITY ERROR #4035
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
This error is not related to rocm because I have the same error with the device = cpu. The audio can still be generated but I see this error each time.
To Reproduce
Expected behavior
What chat gpt think is the ERROR:
The issues you mentioned in your message mainly show warnings regarding the use of certain features of libraries like PyTorch and Transformers. Here is an analysis of the reported issues in terms of severity:
FutureWarning regarding
torch.load
:torch.load
withweights_only=False
can be risky as it allows arbitrary code execution during the deserialization of objects viapickle
. This behavior will evolve in future releases of the library.weights_only=True
if you do not have full control over the loaded files.Warning regarding
GPT2InferenceModel
andGenerationMixin
:GPT2InferenceModel
does not directly derive fromGenerationMixin
, which means it could lose generation-related functionalities in future versions of the libraries. It is suggested to contact the code owner to make modifications.Conclusions:
torch.load
, as it raises potentially serious security concerns.Logs
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: