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

[Training] Cannot export model for inferencing from session created from buffers #21152

Open
riccardopinosio opened this issue Jun 24, 2024 · 0 comments
Labels
training issues related to ONNX Runtime training; typically submitted using template

Comments

@riccardopinosio
Copy link

Describe the issue

Currently, if you create a training session with the C api using CreateTrainingSessionFromBuffer() there is no way to export the final model using ExportModelForInferencing(), because the latter complains that no eval path has been provided.

It should be possible I believe to allow for the export of the final model even if the session has been created from buffers.

To reproduce

Just initialize any training session with any model from buffers and try to export the model.

Urgency

No response

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

v2.18.0

PyTorch Version

2.3.1

Execution Provider

Default CPU

Execution Provider Library Version

No response

@riccardopinosio riccardopinosio added the training issues related to ONNX Runtime training; typically submitted using template label Jun 24, 2024
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

No branches or pull requests

1 participant