File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ def test_dpo_request_lora():
124124 assert request .training_type .lora_alpha == _MODEL_LIMITS .lora_training .max_rank * 2
125125 assert request .training_type .lora_dropout == 0.0
126126 assert request .training_type .lora_trainable_modules == "all-linear"
127- assert request .batch_size == _MODEL_LIMITS . lora_training . max_batch_size_dpo
127+ assert request .batch_size == "max"
128128
129129
130130def test_dpo_request ():
@@ -137,8 +137,7 @@ def test_dpo_request():
137137 )
138138
139139 assert request .training_type .type == "Full"
140- assert request .batch_size == _MODEL_LIMITS .full_training .max_batch_size_dpo
141-
140+ assert request .batch_size == "max"
142141
143142def test_from_checkpoint_request ():
144143 request = create_finetune_request (
You can’t perform that action at this time.
0 commit comments