Skip to content

Commit 2c79295

Browse files
committed
Reduce memory
Signed-off-by: Jee Jee Li <[email protected]>
1 parent 90a9117 commit 2c79295

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tests/lora/test_minicpmv.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ def test_minicpmv_lora(minicpmv_lora_files):
6464
MODEL_PATH,
6565
max_num_seqs=2,
6666
enable_lora=True,
67-
max_loras=4,
68-
max_lora_rank=64,
67+
max_loras=2,
68+
max_lora_rank=8,
69+
enforce_eager=True,
6970
trust_remote_code=True,
7071
enable_chunked_prefill=True,
7172
)

tests/lora/test_minicpmv_tp.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ def test_minicpmv_tp2(minicpmv_lora_files, fully_sharded):
6464
MODEL_PATH,
6565
enable_lora=True,
6666
max_num_seqs=2,
67-
max_loras=4,
68-
max_lora_rank=64,
67+
max_loras=2,
68+
max_lora_rank=8,
6969
tensor_parallel_size=2,
7070
trust_remote_code=True,
7171
fully_sharded_loras=fully_sharded,
@@ -89,6 +89,7 @@ def test_minicpmv_tp4(minicpmv_lora_files, fully_sharded):
8989
max_lora_rank=64,
9090
tensor_parallel_size=4,
9191
trust_remote_code=True,
92+
enforce_eager=True,
9293
fully_sharded_loras=fully_sharded,
9394
enable_chunked_prefill=True,
9495
)

0 commit comments

Comments
 (0)