From ce9d690ef4188a465aaebc6d3135ab8e71e0a90b Mon Sep 17 00:00:00 2001 From: Mick Date: Tue, 27 May 2025 15:28:11 +0800 Subject: [PATCH] fix: fix nightly test from updating transformers (#6658) --- python/sglang/srt/configs/model_config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/sglang/srt/configs/model_config.py b/python/sglang/srt/configs/model_config.py index 96a558266..7a90cf413 100644 --- a/python/sglang/srt/configs/model_config.py +++ b/python/sglang/srt/configs/model_config.py @@ -199,6 +199,7 @@ class ModelConfig: if ( "MistralModel" in self.hf_config.architectures or "MixtralForCausalLM" in self.hf_config.architectures + or "MistralForCausalLM" in self.hf_config.architectures ): if getattr(self, "head_dim", None) is None: self.head_dim = (