Skip to content

build: update peft requirement from <0.19.0,>=0.18.0 to >=0.18.0,<0.20.0#663

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/peft-gte-0.18.0-and-lt-0.20.0
Open

build: update peft requirement from <0.19.0,>=0.18.0 to >=0.18.0,<0.20.0#663
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/peft-gte-0.18.0-and-lt-0.20.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 19, 2026

Updates the requirements on peft to permit the latest version.

Release notes

Sourced from peft's releases.

v0.19.1

A small patch release containing these fixes:

Full Changelog: huggingface/peft@v0.19.0...v0.19.1

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [peft](https://github.com/huggingface/peft) to permit the latest version.
- [Release notes](https://github.com/huggingface/peft/releases)
- [Commits](huggingface/peft@v0.18.0...v0.19.1)

---
updated-dependencies:
- dependency-name: peft
  dependency-version: 0.19.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 227ef6d. Configure here.

Comment thread pyproject.toml
# peft 0.19+ enforces torchao>=0.16 in PEFT (is_torchao_available); keep <0.19 while core torchao stays <0.16.
# https://github.com/huggingface/peft/blob/6d5a6f4f2f902dbf13d21d2661d57c3c05df1dae/src/peft/import_utils.py#L131
"peft>=0.18.0,<0.19.0",
"peft>=0.18.0,<0.20.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Peft bump ignores torchao cap

Medium Severity

Widening peft to <0.20.0 allows 0.19.x, which treats torchao below 0.16 as unavailable in PEFT, while dependencies still cap torchao below 0.16. The comment still says to keep peft below 0.19 for that reason but was not updated.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 227ef6d. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants