-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ds-chat CI regression #7015
base: master
Are you sure you want to change the base?
Conversation
@inkcherry, FYI |
@@ -124,7 +124,7 @@ def backward(ctx: Any, grad_output: torch.Tensor) -> Tuple[None, torch.Tensor]: | |||
return None, grad_output | |||
|
|||
|
|||
class Replaced_Layer(nn.Module, ABC): | |||
class TensorParallel_Layer(nn.Module, ABC): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@inkcherry, please note this renaming for your tutorial work.
if self.inference_policies[child.__class__][0] == LinearLayer: | ||
self._other_layers.append(self.inference_policies[child.__class__][0](module=child, | ||
mp_group=None, | ||
skip_partition=True)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@inkcherry, I set mp_group=None
here because I was not sure whether autotp_training is tested/compatible with hybrid_engine. Is this okay?
Fix #7014
Avoid naming collision on
partition()