-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Build] moduleNotfoundError: no module named 'onnxruntime.training' & 'No matching distribution found for onnxruntime-training' #20985
Comments
Ah, the commands If you've followed the instructions for build, then you've also built a local version of the wheel file. To find it, go to your onnxruntime repository, then go to |
We only publish packages for x86_64. Sorry you need to build it from source. |
As the error says, please upgrade your cmake. You can get the latest one from cmake.org |
I've upgraded the cmake to 3.29.5, and tried to build using: |
Could you show us more logs please? |
This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details. |
Hi, I encountered a similar problem. Have you solved this issue? Thank you! |
Describe the issue
While I was trying to deploy the artifacts and run the onnx model on the edge device (Linux OS aarch64) its showing up with the following error:
I've followed the instructions for building the onnx runtime from the following link: https://onnxruntime.ai/docs/build/training.html#build-for-on-device-training
How to get rid of that error?
I even tried with the commands 'pip install onnxruntime-training'; 'pip3 install onnxruntime-training'; 'pip3.9 install onnx runtime-training' Nothing seems to work!
Urgency
Critical
Target platform
Linux (Am62x)
Build script
git clone --recursive https://github.com/Microsoft/onnxruntime.git
cd onnxruntime
./build.sh --config RelWithDebInfo --build_shared_lib --parallel --enable_training_apis
./build.sh --config RelWithDebInfo --build_shared_lib --parallel --enable_training
./build.sh --enable_training --use_dnnl
Error / output
Visual Studio Version
No response
GCC / Compiler Version
GCC 9.2.1
The text was updated successfully, but these errors were encountered: