Skip to content

Commit

Permalink
[Fix] configuration_internlm.py -> configuration_internlm2.py (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
HIT-cwh authored Feb 6, 2024
1 parent c332efa commit 81665a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lmdeploy/lite/apis/smooth_quant.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
'AutoModelForCausalLM': 'modeling_internlm.InternLMForCausalLM'
},
'InternLM2ForCausalLM': {
'AutoConfig': 'configuration_internlm.InternLMConfig',
'AutoConfig': 'configuration_internlm2.InternLMConfig',
'AutoModelForCausalLM': 'modeling_internlm2.InternLM2ForCausalLM',
'AutoModel': 'modeling_internlm2.InternLM2ForCausalLM'
},
Expand Down
2 changes: 1 addition & 1 deletion lmdeploy/pytorch/modeling/modeling_internlm2.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
except: # noqa # pylint: disable=bare-except
BaseStreamer = None

from .configuration_internlm import InternLMConfig as InternLM2Config
from .configuration_internlm2 import InternLM2Config

logger = get_logger('lmdeploy')

Expand Down

0 comments on commit 81665a6

Please sign in to comment.