-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Use Python 3.9 as RUFF target version and apply fixes #2483
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
|
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 updating the ruff config and applying the changes.
Signed-off-by: cyy <cyyever@outlook.com>
|
Hey, it's easier for us to review the PR if you don't squash and force push :) |
Signed-off-by: cyy <cyyever@outlook.com>
|
@BenjaminBossan Sorry, too many changes to revert. |
No worries, just something to keep in mind for the future. |
--------- Signed-off-by: cyy <cyyever@outlook.com>
--------- Signed-off-by: cyy <cyyever@outlook.com>
* reorganize doc * consistent ing * Add reducing_memory_usage.md * integration with peft * Add new files and update table of contents * Add speeding_up_training.md to docs/source and update _toctree.yml * unsloth * Liger kernel * Truncation * Update truncation parameters for DPO and SFT * dedicated Intergation section * clarify * illustrate * Sort * badge for prm
Apply RUFF fixes based on Python 3.9 features. Most changes are about type annotations. Rule
C420has been disabled for readability. Overall, it's safe to merge them.