Skip to content

[autockpt] considering parameter and optimizer weights.#2279

Merged
super-dainiu merged 6 commits intohpcaitech:debug/ckpt-autoparallelfrom
super-dainiu:debug/ckpt-autoparallel
Jan 3, 2023
Merged

[autockpt] considering parameter and optimizer weights.#2279
super-dainiu merged 6 commits intohpcaitech:debug/ckpt-autoparallelfrom
super-dainiu:debug/ckpt-autoparallel

Conversation

@super-dainiu
Copy link
Copy Markdown
Contributor

I modify the free_memory of CheckpointSolverRotor. Now the budget will be subtracted from the model parameters and corresponding optimizer gradients. Need to pass an additional optim_multiplier: Optional[float] to specify the optimizer behavior (e.g. Adam requires optim_multiplier=3 to store gradient and moving averages)

@super-dainiu super-dainiu merged commit 8e8900f into hpcaitech:debug/ckpt-autoparallel Jan 3, 2023
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.

1 participant