[Bugfix] Fix OOM tests in initialization test (#21921)

Signed-off-by: Isotr0py <2037008807@qq.com>
This commit is contained in:
Isotr0py
2025-07-30 22:35:47 +08:00
committed by GitHub
parent 88edf5994c
commit 6e599eebe8
2 changed files with 9 additions and 6 deletions

View File

@@ -1275,6 +1275,7 @@ class Glm4vForConditionalGeneration(nn.Module, SupportsMultiModal,
vllm_config=vllm_config,
prefix=maybe_prefix(prefix, ""),
architectures=["Glm4ForCausalLM"],
hf_config=self.config.get_text_config(),
)
self.make_empty_intermediate_tensors = (