-
Notifications
You must be signed in to change notification settings - Fork 250
Resolves #1519 #1539
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
base: main
Are you sure you want to change the base?
Resolves #1519 #1539
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchchat/1539
Note: Links to docs will display an error until the docs builds have been completed. ❌ 4 New Failures, 2 Cancelled JobsAs of commit 8b9d9df with merge base 0299a37 ( NEW FAILURES - The following jobs have failed:
CANCELLED JOBS - The following jobs were cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Oops, it seems to me that there are some problems with linting... I've ran it according to the |
Thanks for the PR, just kicked off the CI hmm we'll take a gander at the linter (not blocking this pr on lint) |
Thanks for the initial pass (lint changes are also looking good) |
You can ignore the failing et/executorch CI, that's a separate issue |
Thanks for the review! Sure, let's put them deeper then. |
@Jack-Khuu Hey! Fixed according to your comments. Moved imports deeper in cases when it was reasonable |
torchtune
now can be an optional dependency. In most of the cases, the import was just moved to a specific function or class. In the case of theopenai_api.py
, the better solution was to just remove the unused import andMessage
type hint, because it is not a real reason to have an import of an optional library in the class.