Skip to content
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

Add support for SGD optimizer in minimal build #19901

Merged
merged 3 commits into from
Mar 14, 2024

Conversation

baijumeswani
Copy link
Contributor

Currently, the minimal build does assumes that the given optimizer is always of AdamW type.

This pull-request correctly reads the optimizer node from the session state and is able to distinguish between the two optimizer types.

This pull-request also allows users to customize their optimizer model by passing in the approriate custom onnxblock to the generate_artifacts method.

@baijumeswani baijumeswani added the training issues related to ONNX Runtime training; typically submitted using template label Mar 13, 2024
pengwa
pengwa previously approved these changes Mar 14, 2024
AdamLouly
AdamLouly previously approved these changes Mar 14, 2024
@baijumeswani baijumeswani dismissed stale reviews from AdamLouly and pengwa via 3df98ca March 14, 2024 01:06
@baijumeswani baijumeswani merged commit 226f60f into main Mar 14, 2024
95 checks passed
@baijumeswani baijumeswani deleted the baijumeswani/optimizer-support-on-device-training branch March 14, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
training issues related to ONNX Runtime training; typically submitted using template
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants