Skip to content

Conversation

@ImaGoodFella
Copy link
Contributor

Adds the missing param_names parameter to SuperOffloadOptimizer_Stage3 initializer, fixing a crash when using SuperOffload.

Fixes #7627

Signed-off-by: Rahul Steiger <[email protected]>
Copilot AI review requested due to automatic review settings December 6, 2025 17:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a crash in SuperOffloadOptimizer_Stage3 by adding the missing param_names parameter that was causing initialization failures when SuperOffload was enabled.

  • Adds param_names parameter to SuperOffloadOptimizer_Stage3.__init__() signature
  • Passes param_names to parent class DeepSpeedZeroOptimizer_Stage3 constructor

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@xylian86
Copy link
Contributor

xylian86 commented Dec 7, 2025

@tjruwase @tohtana The PR looks good to me.

@tohtana tohtana enabled auto-merge (squash) December 9, 2025 23:56
@tohtana tohtana merged commit 0e77020 into deepspeedai:master Dec 10, 2025
12 of 15 checks passed
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.

[BUG] Improper coupling of paramter list between DeepSpeedZeroOptimizer_Stage3 and SuperOffloadOptimizer_Stage3

4 participants