We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 80881c2 + f249fde commit 3294a89Copy full SHA for 3294a89
gemma/model_xla.py
@@ -527,7 +527,7 @@ def __init__(
527
self.layers = nn.ModuleList()
528
for i in range(config.num_hidden_layers):
529
if config.architecture == gemma_config.Architecture.GEMMA_1:
530
- self.layers.append(GemmaDecoderLayer(config))
+ self.layers.append(GemmaDecoderLayer(config, world_size, rank))
531
elif config.architecture == gemma_config.Architecture.GEMMA_2:
532
attn_type = (
533
config.attn_types[i]
0 commit comments