mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 20:04:52 +00:00
bugfix
This commit is contained in:
parent
f4932aec89
commit
6a017f5208
@ -189,6 +189,7 @@ class FlashLlamaAttention(torch.nn.Module):
|
||||
|
||||
self.rotary_emb = PositionRotaryEmbedding.static(
|
||||
dim=self.head_size, base=config.rope_theta, device=weights.device,
|
||||
config=config
|
||||
)
|
||||
|
||||
self.softmax_scale = self.head_size**-0.5
|
||||
|
Loading…
Reference in New Issue
Block a user