Skip to content

Conversation

@inkcherry
Copy link
Contributor

@inkcherry inkcherry commented Mar 6, 2025

Reapply #6846.
FYI @oelayan7

Signed-off-by: inkcherry <[email protected]>
Signed-off-by: inkcherry <[email protected]>
Signed-off-by: inkcherry <[email protected]>
@inkcherry inkcherry force-pushed the fix_keep_module_on_host branch from 215ea7d to 4bc63f4 Compare March 6, 2025 03:02
self.orig_layer_impl = orig_layer_impl
self.linear_policies = None
self.conv_linear_layer = False
self.keep_module_on_host = keep_module_on_host
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self.keep_module_on_host can be deleted, as it won't be used anywhere.
You can simply pass keep_module_on_host without saving it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! removed.

self.linear_policies = None
self.conv_linear_layer = False
self.keep_module_on_host = keep_module_on_host
TensorParallel_Layer.set_keep_module_on_host(self.keep_module_on_host)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TensorParallel_Layer.set_keep_module_on_host(keep_module_on_host)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed~

Signed-off-by: inkcherry <[email protected]>
@oelayan7
Copy link
Contributor

oelayan7 commented Mar 7, 2025

LGTM

@tjruwase tjruwase added this pull request to the merge queue Mar 8, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 9, 2025
@loadams loadams added this pull request to the merge queue Mar 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 10, 2025
@loadams loadams enabled auto-merge March 10, 2025 16:42
@loadams loadams added this pull request to the merge queue Mar 10, 2025
Merged via the queue into deepspeedai:master with commit 8ec1af5 Mar 10, 2025
11 checks passed
inkcherry added a commit to inkcherry/DeepSpeed that referenced this pull request Mar 13, 2025
Reapply deepspeedai#6846.
FYI @oelayan7

---------

Signed-off-by: inkcherry <[email protected]>
Co-authored-by: Logan Adams <[email protected]>
Signed-off-by: inkcherry <[email protected]>
mauryaavinash95 pushed a commit to DataStates/DeepSpeed that referenced this pull request Mar 20, 2025
Reapply deepspeedai#6846.
FYI @oelayan7

---------

Signed-off-by: inkcherry <[email protected]>
Co-authored-by: Logan Adams <[email protected]>
loadams added a commit that referenced this pull request Mar 25, 2025
Reapply #6846.
FYI @oelayan7

---------

Signed-off-by: inkcherry <[email protected]>
Co-authored-by: Logan Adams <[email protected]>
Signed-off-by: Logan Adams <[email protected]>
ys950902 pushed a commit to ys950902/DeepSpeed that referenced this pull request May 21, 2025
Reapply deepspeedai#6846.
FYI @oelayan7

---------

Signed-off-by: inkcherry <[email protected]>
Co-authored-by: Logan Adams <[email protected]>
Signed-off-by: yisheng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants