mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-08 20:40:34 +00:00
[fix] fix llama modeling policy;
This commit is contained in:
@@ -96,7 +96,8 @@ class LlamaPolicy(Policy):
|
||||
target_key=attn_cls,
|
||||
)
|
||||
|
||||
if self.pipeline_stage_manager is not None:
|
||||
# if self.pipeline_stage_manager is not None:
|
||||
if self.pipeline_stage_manager is None:
|
||||
self.append_or_create_method_replacement(
|
||||
description={
|
||||
"forward": partial(
|
||||
|
Reference in New Issue
Block a user