Skip to content

Commit

Permalink
pc
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg committed Apr 12, 2024
1 parent fedb6ac commit bc3cc50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion llmfoundry/models/layers/layer_builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import torch

from llmfoundry.layers_registry import attention_classes, norms, fcs
from llmfoundry.layers_registry import attention_classes, fcs, norms
from llmfoundry.utils.registry_utils import construct_from_registry


Expand Down Expand Up @@ -34,6 +34,7 @@ def build_attention_layer(
pre_validation_function=torch.nn.Module,
kwargs=attn_kwargs)


def build_fc(
name: str,
in_features: int,
Expand Down
2 changes: 1 addition & 1 deletion llmfoundry/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

from llmfoundry.interfaces import CallbackWithConfig
from llmfoundry.layers_registry import (attention_classes,
attention_implementations, norms, fcs)
attention_implementations, fcs, norms)
from llmfoundry.utils.registry_utils import create_registry

_loggers_description = (
Expand Down

0 comments on commit bc3cc50

Please sign in to comment.