mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-14 05:35:01 +08:00
[Bugfix] Fix TP > 1 for new granite (#8544)
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
This commit is contained in:
parent
56c3de018c
commit
98f9713399
@ -428,6 +428,7 @@ class GraniteForCausalLM(nn.Module, SupportsLoRA):
|
||||
sampling_metadata: SamplingMetadata) -> Optional[torch.Tensor]:
|
||||
logits = self.logits_processor(self.lm_head, hidden_states,
|
||||
sampling_metadata)
|
||||
if logits is not None:
|
||||
logits /= self.config.logits_scaling
|
||||
return logits
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user