Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg committed Apr 12, 2024
1 parent a407d46 commit b61d761
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion llmfoundry/models/layers/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ def __init__(
del kwargs # unused, just to capture any extra args from the config
super().__init__()

ffn_type = ffn_config.pop('ffn_type')

self.ffn = build_ffn(
name=ffn_config['ffn_type'],
name=ffn_type,
d_model=d_model,
expansion_ratio=expansion_ratio,
device=device,
Expand Down

0 comments on commit b61d761

Please sign in to comment.