Skip to content

Commit

Permalink
add fcs back
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg committed May 27, 2024
1 parent d80087f commit 1507c8b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions llmfoundry/models/mpt/modeling_mpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@
mpt_get_total_params,
)

# Import the fcs here so that recursive code creating the files for hf checkpoints can find them
# This is the only exception because fc.py is not imported in any other place in the codebase
# isort: off
from llmfoundry.models.layers.fc import fcs # type: ignore
# isort: on

log = logging.getLogger(__name__)


Expand Down

0 comments on commit 1507c8b

Please sign in to comment.