-
Notifications
You must be signed in to change notification settings - Fork 441
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
Remove non-existant objects from __all__
#902
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchtune/902
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 82efe61 with merge base 437241f (): This comment was automatically generated by Dr. CI and updates every 15 minutes. |
__all__\
__all__
torchtune/modules/peft/__init__.py
Outdated
@@ -19,7 +19,6 @@ | |||
"AdapterModule", | |||
"get_adapter_params", | |||
"set_trainable_params", | |||
"validate_missing_and_unexpected_for_lora", |
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.
This one I think is still used? https://github.com/search?q=repo%3Apytorch%2Ftorchtune+validate_missing_and_unexpected_for_lora&type=code
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.
In my IDE it appeared as not linked but let me double check!
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.
Got it, it was not imported!
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 fixing it!
A couple of objects are listed in
__all__
but can't be found in the lib