Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.
This repository was archived by the owner on May 20, 2026. It is now read-only.

onnxruntime-training-examples mobile version can't load 'training_model.onnx' #202

@thenbest

Description

@thenbest

Image

When creating training session, throw a error when it load 'training_model.onnx'
ONNX Runtime only guarantees support for models stamped with official released onnx opset versions. Opset 5 is under development and support for this is limited. The operator schemas and/or other functionality may change before the next ONNX release and in this case, ONNX Runtime will not guarantee backward compatibility. Current office"...

And I'm using this script to get 'training_model.onnx'.
Image

The version of onnxruntime-training is 1.19 and I think maybe it is because the version of it is too high, so I changed serverl version of it, but when I use different version of onnxruntime-training it will raise another error about version incompatible
"RuntimeError: /onnxruntime_src/orttraining/orttraining/python/orttraining_pybind_state.cc:1035 onnxruntime::python::addObjectMethodsForTraining(pybind11::module&, onnxruntime::python::ExecutionProviderRegistrationFn)::<lambda(const std::vectorpybind11::bytes&, const std::vectorpybind11::bytes&, const string&)> SystemError : 17"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions