Skip to content

Commit

Permalink
Remove the default LoRA rank warning
Browse files Browse the repository at this point in the history
Remove the default LoRA rank warning
  • Loading branch information
azahed98 authored Dec 18, 2024
2 parents fa58e5b + bc307c5 commit 298901e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build-backend = "poetry.masonry.api"

[tool.poetry]
name = "together"
version = "1.3.9"
version = "1.3.10"
authors = [
"Together AI <[email protected]>"
]
Expand Down
5 changes: 1 addition & 4 deletions src/together/cli/api/finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,7 @@ def create(
"batch_size": model_limits.lora_training.max_batch_size,
"learning_rate": 1e-3,
}
log_warn_once(
f"The default LoRA rank for {model} has been changed to {default_values['lora_r']} as the max available.\n"
f"Also, the default learning rate for LoRA fine-tuning has been changed to {default_values['learning_rate']}."
)

for arg in default_values:
arg_source = ctx.get_parameter_source("arg") # type: ignore[attr-defined]
if arg_source == ParameterSource.DEFAULT:
Expand Down

0 comments on commit 298901e

Please sign in to comment.