mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
Wrong default.
This commit is contained in:
parent
4aa0642f4d
commit
25c9611c04
@ -162,7 +162,7 @@ def _load_gqa(config, prefix: str, weights):
|
||||
|
||||
|
||||
class FlashGemmaAttention(torch.nn.Module):
|
||||
def __init__(self, prefix: str, config, weights, causal: bool = True):
|
||||
def __init__(self, prefix: str, config, weights, causal: bool):
|
||||
super().__init__()
|
||||
self.num_heads = config.num_attention_heads
|
||||
self.head_size = config.head_dim
|
||||
|
Loading…
Reference in New Issue
Block a user