File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff 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 )):
You can’t perform that action at this time.
0 commit comments