Skip to content

Commit ba0d781

Browse files
committed
Fix
Signed-off-by: Jee Jee Li <[email protected]>
1 parent 0987dfa commit ba0d781

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/lora/test_minicpmv_tp.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def test_minicpmv_lora(minicpmv_lora_files):
6767
max_lora_rank=8,
6868
enforce_eager=True,
6969
max_model_len=2048,
70+
trust_remote_code=True,
7071
)
7172
output1 = do_sample(llm, minicpmv_lora_files, lora_id=1)
7273
for i in range(len(EXPECTED_OUTPUT)):
@@ -90,6 +91,7 @@ def test_minicpmv_tp4_wo_fully_sharded_loras(minicpmv_lora_files):
9091
max_loras=4,
9192
max_lora_rank=64,
9293
tensor_parallel_size=4,
94+
trust_remote_code=True,
9395
)
9496
output_tp = do_sample(llm, minicpmv_lora_files, lora_id=1)
9597
for i in range(len(EXPECTED_OUTPUT)):
@@ -110,6 +112,8 @@ def test_minicpmv_tp4_fully_sharded_loras(minicpmv_lora_files):
110112
max_loras=2,
111113
max_lora_rank=8,
112114
tensor_parallel_size=4,
115+
trust_remote_code=True,
116+
fully_sharded_loras=True,
113117
)
114118
output_tp = do_sample(llm, minicpmv_lora_files, lora_id=1)
115119
for i in range(len(EXPECTED_OUTPUT)):

0 commit comments

Comments
 (0)