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/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies = [
"scipy==1.13.0",
"peft==0.6.2",
"fschat[model_worker,webui]==0.2.35",
"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 Align transformers pin with the existing PEFT stack

Changing this pin to transformers==5.0.0rc3 while the same file still pins peft==0.6.2 introduces a dependency mismatch that breaks this example’s training path: PEFT’s maintainers document Transformers v5 as incompatible with PEFT versions below 0.18, and this project imports/uses PEFT directly in flowertune_llm/models.py, flowertune_llm/client_app.py, and test.py. In practice, users installing this template will get an environment that fails at import/runtime unless the PEFT/TRL stack is upgraded together (or Transformers stays on 4.x).

Useful? React with 👍 / 👎.

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