Unverified Commit 24a8cee6 authored by Binyao Jiang's avatar Binyao Jiang Committed by GitHub
Browse files

Fix GLM45v launch server cuda torch compile bug (#9554)

parent 3affa9dc
......@@ -526,6 +526,7 @@ class Qwen2_5_VLForConditionalGeneration(nn.Module):
def get_input_embeddings(self):
return self.model.embed_tokens
@torch.no_grad()
def forward(
self,
input_ids: torch.Tensor,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment