-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[js/web/training] Add CreateTrainingSession #17891
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ggested fix of adding backend-wasm-inference.ts
…ng-session' into carzh/create-training-session
fixed proxy worker run format
carzh
force-pushed
the
carzh/create-training-session
branch
from
October 17, 2023 00:03
06e8f74
to
05a708f
Compare
askhade
reviewed
Oct 20, 2023
askhade
reviewed
Oct 20, 2023
askhade
reviewed
Oct 20, 2023
askhade
reviewed
Oct 20, 2023
askhade
reviewed
Oct 20, 2023
askhade
reviewed
Oct 20, 2023
askhade
reviewed
Oct 20, 2023
…more informative error message
askhade
reviewed
Oct 25, 2023
askhade
reviewed
Oct 25, 2023
askhade
reviewed
Oct 25, 2023
askhade
reviewed
Oct 25, 2023
askhade
requested changes
Oct 25, 2023
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.
Added a few comments
Co-authored-by: Ashwini Khade <[email protected]>
askhade
reviewed
Oct 25, 2023
askhade
approved these changes
Oct 25, 2023
guschmue
approved these changes
Oct 25, 2023
carzh
added a commit
that referenced
this pull request
Nov 2, 2023
### Description * based on design document & following InferenceSession's run implementation, implemented TrainingSession.runTrainStep ### Motivation and Context * Adding web bindings for training #### Related work * #16521 allowed for training artifacts to be built * #17333 added interfaces for training * #17474 allowed for training package to be built + added training backend to web package * #17891 implementation for createTrainingSession on the TypeScript side **[SHOULD BE MERGED IN BEFORE THIS PR]** --------- Co-authored-by: Yulong Wang <[email protected]> Co-authored-by: Ashwini Khade <[email protected]>
kleiti
pushed a commit
to kleiti/onnxruntime
that referenced
this pull request
Mar 22, 2024
### Description * Adds TrainingSession.create() functionality following the web bindings for training design doc * Added 2 new training APIs to wasm/api.h: * OrtTrainingGetInputOutputName * OrtTrainingGetInputOutputCount * Moved isOrtEnvInitialized boolean to the wasm-core-impl and added a method that references it ### Motivation and Context * Adding web bindings for training #### Related work * microsoft#16521 allowed for training artifacts to be built * microsoft#17333 added interfaces for training * microsoft#17474 allows for training package to be built + adds training backend to web package **[MUST BE MERGED IN BEFORE THIS ONE]** --------- Co-authored-by: Yulong Wang <[email protected]> Co-authored-by: Ashwini Khade <[email protected]>
kleiti
pushed a commit
to kleiti/onnxruntime
that referenced
this pull request
Mar 22, 2024
### Description * based on design document & following InferenceSession's run implementation, implemented TrainingSession.runTrainStep ### Motivation and Context * Adding web bindings for training #### Related work * microsoft#16521 allowed for training artifacts to be built * microsoft#17333 added interfaces for training * microsoft#17474 allowed for training package to be built + added training backend to web package * microsoft#17891 implementation for createTrainingSession on the TypeScript side **[SHOULD BE MERGED IN BEFORE THIS PR]** --------- Co-authored-by: Yulong Wang <[email protected]> Co-authored-by: Ashwini Khade <[email protected]>
siweic0
pushed a commit
to siweic0/onnxruntime-web
that referenced
this pull request
May 9, 2024
### Description * Adds TrainingSession.create() functionality following the web bindings for training design doc * Added 2 new training APIs to wasm/api.h: * OrtTrainingGetInputOutputName * OrtTrainingGetInputOutputCount * Moved isOrtEnvInitialized boolean to the wasm-core-impl and added a method that references it ### Motivation and Context * Adding web bindings for training #### Related work * microsoft#16521 allowed for training artifacts to be built * microsoft#17333 added interfaces for training * microsoft#17474 allows for training package to be built + adds training backend to web package **[MUST BE MERGED IN BEFORE THIS ONE]** --------- Co-authored-by: Yulong Wang <[email protected]> Co-authored-by: Ashwini Khade <[email protected]>
siweic0
pushed a commit
to siweic0/onnxruntime-web
that referenced
this pull request
May 9, 2024
### Description * based on design document & following InferenceSession's run implementation, implemented TrainingSession.runTrainStep ### Motivation and Context * Adding web bindings for training #### Related work * microsoft#16521 allowed for training artifacts to be built * microsoft#17333 added interfaces for training * microsoft#17474 allowed for training package to be built + added training backend to web package * microsoft#17891 implementation for createTrainingSession on the TypeScript side **[SHOULD BE MERGED IN BEFORE THIS PR]** --------- Co-authored-by: Yulong Wang <[email protected]> Co-authored-by: Ashwini Khade <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Motivation and Context
Related work