Skip to content

Conversation

@cyyever
Copy link
Contributor

@cyyever cyyever commented Apr 8, 2025

Apply RUFF fixes based on Python 3.9 features. Most changes are about type annotations. Rule C420 has been disabled for readability. Overall, it's safe to merge them.

@HuggingFaceDocBuilderDev

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.

Copy link
Member

@BenjaminBossan BenjaminBossan left a 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>
@BenjaminBossan
Copy link
Member

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>
@cyyever
Copy link
Contributor Author

cyyever commented Apr 8, 2025

@BenjaminBossan Sorry, too many changes to revert.

@BenjaminBossan
Copy link
Member

Sorry, too many changes to revert.

No worries, just something to keep in mind for the future.

@BenjaminBossan BenjaminBossan merged commit cb65a0d into huggingface:main Apr 8, 2025
14 checks passed
@cyyever cyyever deleted the ruff11 branch April 9, 2025 02:07
Guy-Bilitski pushed a commit to Guy-Bilitski/peft that referenced this pull request May 13, 2025
---------

Signed-off-by: cyy <cyyever@outlook.com>
efraimdahl pushed a commit to efraimdahl/peft that referenced this pull request Jul 12, 2025
---------

Signed-off-by: cyy <cyyever@outlook.com>
cyyever pushed a commit to cyyever/peft that referenced this pull request Sep 4, 2025
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants