Skip to content

Commit

Permalink
refactor(framework) Update dependency and fix a print issue for Flowe…
Browse files Browse the repository at this point in the history
…rTune template (#4220)
  • Loading branch information
yan-gao-GY authored Sep 19, 2024
1 parent ebb78ae commit 839e5d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/py/flwr/cli/new/new.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def new(
)
)

_add = " huggingface-cli login\n" if framework_str == "flowertune" else ""
_add = " huggingface-cli login\n" if llm_challenge_str else ""
print(
typer.style(
f" cd {package_name}\n" + " pip install -e .\n" + _add + " flwr run\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ dependencies = [
"transformers==4.39.3",
"sentencepiece==0.2.0",
"omegaconf==2.3.0",
"hf_transfer==0.1.8",
]

[tool.hatch.build.targets.wheel]
Expand Down

0 comments on commit 839e5d9

Please sign in to comment.