-
Notifications
You must be signed in to change notification settings - Fork 2.1k
FIX: update deprecated torch_dtype to dtype (fixes #2835) #2837
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
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
BenjaminBossan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this PR to take care of the deprecated torch_dtype argument. I checked the changes and found a couple of instances where the change has to be reverted, but most look good. I haven't checked if you missed anything, but even so, those instances can be updated later.
examples/multi_adapter_examples/multi_adapter_weighted_inference_diffusers.ipynb
Outdated
Show resolved
Hide resolved
|
I have reverted the files stated above. Please re-review and suggest any changes if required. @BenjaminBossan |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
BenjaminBossan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this deprecation, LGTM.
Fixes #2835
This PR addresses the deprecation of the
torch_dtypeargument in favor ofdtype. The changes are applied across documentation, examples, and tests to maintain compatibility and ensure future-proofness.Key changes:
torch_dtypewithdtype.