Skip to content

Commit

Permalink
precommit edits models
Browse files Browse the repository at this point in the history
  • Loading branch information
danbider committed Jun 26, 2023
1 parent 9d64a03 commit 63ef548
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llmfoundry/models/mpt/modeling_mpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ def forward(
'prefix_mask is a required argument when MPT is configured with prefix_lm=True.'
)


# Raise a not implemented error if input_embeds is not None (this is an arg in huggingface transformers and we need to support it for PEFT)
if inputs_embeds is not None:
raise NotImplementedError(
Expand Down

0 comments on commit 63ef548

Please sign in to comment.