Skip to content

Commit 1eed9c6

Browse files
committed
fix
1 parent db59637 commit 1eed9c6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

paddleformers/transformers/qwen2/modeling.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,6 @@ class Qwen2PretrainedModel(PretrainedModel):
281281

282282
@classmethod
283283
def _get_tensor_parallel_mappings(cls, config: Qwen2Config, is_split=True):
284-
if config.run_single_model:
285-
return {}
286284
"""Generate tensor parallel mappings for model conversion."""
287285
from ..conversion_utils import split_or_merge_func
288286

0 commit comments

Comments
 (0)