Skip to content

Commit

Permalink
change the thing being popped
Browse files Browse the repository at this point in the history
  • Loading branch information
milocress committed Jul 24, 2024
1 parent d297395 commit cf460ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/models/mpt/modeling_mpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def gen_rotary_embedding(
)
elif rope_impl == 'hf':
llama_rope_config = {**rope_hf_config}
llama_rope_config['rope_type'] = rope_hf_config.pop('type')
llama_rope_config['rope_type'] = llama_rope_config.pop('type')
if llama_rope_config['rope_type'] == 'no_scaling':
llama_rope_config['rope_type'] = 'default'
partial_llama_config = PartialLlamaConfig(
Expand Down

0 comments on commit cf460ec

Please sign in to comment.