Skip to content

Commit

Permalink
Better comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoin committed Oct 16, 2024
1 parent f1cc569 commit 466ea3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vllm/model_executor/models/llava.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ def __init__(self,
self.config = config
self.multimodal_config = multimodal_config

# HACK: Special cases for pixtral
# NOTE: These are special cases for Pixtral-12B in the HF-format
# https://huggingface.co/mistral-community/pixtral-12b/blob/main/config.json # noqa
if (config.text_config.architectures is None
and config.text_config.model_type == "mistral"):
config.text_config.architectures = ["MistralForCausalLM"]
Expand Down

0 comments on commit 466ea3e

Please sign in to comment.