Skip to content

Commit 7967f61

Browse files
binary-huskyclaude
andcommitted
Add required lora_load_format and lr params to multi-model example
These parameters are now required when lora_rank > 0. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 99642c5 commit 7967f61

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tutorial/example_train_multi_model/trans_roll_lora.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ def main():
5151
logging="swanlab",
5252
lora_rank=32,
5353
lora_alpha=32,
54+
lora_load_format="safetensors",
55+
lr=3e-4,
5456
)
5557

5658
job_7b = AgentJetJob(
@@ -64,6 +66,8 @@ def main():
6466
logging="swanlab",
6567
lora_rank=32,
6668
lora_alpha=32,
69+
lora_load_format="safetensors",
70+
lr=3e-4,
6771
)
6872

6973
# Original (sequential) version:

0 commit comments

Comments
 (0)