Skip to content

Commit

Permalink
fix a bug for single gpu
Browse files Browse the repository at this point in the history
  • Loading branch information
pufanyi committed Apr 15, 2024
1 parent 8519075 commit 49a23db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmms_eval/models/llava.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(
trust_remote_code: Optional[bool] = False,
revision=None,
use_flash_attention_2=True,
device_map="",
device_map="auto",
conv_template="vicuna_v1",
use_cache=True,
truncate_context=False, # whether to truncate the context in generation, set it False for LLaVA-1.6
Expand Down

0 comments on commit 49a23db

Please sign in to comment.