mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-10 07:13:31 +08:00
[Bugfix] Fix compute_logits in Jamba (#6093)
This commit is contained in:
parent
f1c78138aa
commit
7cd2ebb025
@ -876,7 +876,7 @@ class JambaForCausalLM(nn.Module):
|
|||||||
|
|
||||||
def compute_logits(self, hidden_states: torch.Tensor,
|
def compute_logits(self, hidden_states: torch.Tensor,
|
||||||
sampling_metadata: SamplingMetadata) -> torch.Tensor:
|
sampling_metadata: SamplingMetadata) -> torch.Tensor:
|
||||||
logits = self.logits_processor(self.lm_head.weight, hidden_states,
|
logits = self.logits_processor(self.lm_head, hidden_states,
|
||||||
sampling_metadata)
|
sampling_metadata)
|
||||||
return logits
|
return logits
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user