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

[js/web/training] runEvalStep & runOptimizerStep implementations #18117

Closed
wants to merge 35 commits into from

Conversation

carzh
Copy link
Contributor

@carzh carzh commented Oct 26, 2023

Description

  • implemented runEvalStep & runOptimizerStep
  • as part of this work, abstracted out similarities between runEvalStep and runTrainStep
  • updated the js/common interface
    • now includes evalInputNames and evalOutputNames as fields in TrainingSession
    • TrainingSession also includes private boolean values for hasEvalModel and hasOptimizerModel so that method calls that require an evalModel/optimizerModel to be loaded can throw an error at the TrainingSession level
    • updated the TrainingSessionHandler interface to include evalInputNames and evalOutputNames as well.

Motivation and Context

carzh and others added 30 commits October 2, 2023 14:54
…ggested fix of adding backend-wasm-inference.ts
…ng-session' into carzh/create-training-session
fixed proxy worker

run format
renamed session-handler for inference files

lint + format
wrote untested getContiguousParameters method

updated getInputOutputCount and getInputOutputNames signature, added more informative error message

updated parameter names according to suggestions

semi working getContiguousParameters impl

working getContiguousParams, started writing loadParametersBuffer

working version of loadParametersBuffer
@carzh carzh closed this Nov 2, 2023
@carzh carzh deleted the carzh/web-runstep-methods branch December 20, 2023 22:32
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.

2 participants