Skip to content

Commit

Permalink
Remove the default LoRA rank warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Arsh Zahed authored and Arsh Zahed committed Dec 18, 2024
1 parent fa58e5b commit 18fbb74
Showing 1 changed file with 1 addition and 4 deletions.
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 18fbb74

Please sign in to comment.