Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/flowertune-llm-code/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies = [
"bitsandbytes==0.49.1",
"scipy==1.13.0",
"peft==0.6.2",
"transformers==4.53.0",
"transformers==5.0.0rc3",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep transformers below v5 with current PEFT pin

Bumping to transformers==5.0.0rc3 while keeping peft==0.6.2 introduces a hard compatibility break: upstream PEFT explicitly documents Transformers v5 as incompatible with PEFT versions <0.18.0. This app imports and relies on PEFT in the training path (set_peft_model_state_dict/get_peft_model_state_dict), so environments created from this pyproject.toml can install successfully but fail at runtime once training starts. Please either keep Transformers on 4.x or upgrade the PEFT/TRL stack together in the same change.

Useful? React with 👍 / 👎.

"sentencepiece==0.2.1",
"omegaconf==2.3.0",
"hf_transfer==0.1.8",
Expand Down
Loading