mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-13 21:22:49 +00:00
[infer] fix test bug (#4838)
* fix test bug * delete useless code * fix typo
This commit is contained in:
@@ -873,7 +873,7 @@ class ChatGLMModel(ChatGLMPreTrainedModel):
|
||||
|
||||
self.rotary_pos_emb = RotaryEmbedding(
|
||||
rotary_dim // 2,
|
||||
original_impl=config.original_rope,
|
||||
# original_impl=config.original_rope, # config has no attribute original_rope
|
||||
device=device,
|
||||
dtype=config.torch_dtype,
|
||||
)
|
||||
|
Reference in New Issue
Block a user