We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.eval()
1 parent e1c7e8c commit 8edaae9Copy full SHA for 8edaae9
tests/test_common_gpu.py
@@ -1153,7 +1153,7 @@ def test_4bit_dora_inference(self):
1153
)
1154
torch.manual_seed(0)
1155
config_dora = LoraConfig(r=8, init_lora_weights=False, use_dora=True)
1156
- model = get_peft_model(model, config_dora)
+ model = get_peft_model(model, config_dora).eval()
1157
1158
logits_dora = model(random_input).logits
1159
@@ -1187,7 +1187,7 @@ def test_8bit_dora_inference(self):
1187
1188
1189
1190
1191
1192
1193
0 commit comments