microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
13.92k stars 2.81k forks source link

[Training] Compiling ONNX Runtime for MIPS32 Linux for On-Device Training Capabilities #20884

Open Leo5050xvjf opened 2 months ago

Leo5050xvjf commented 2 months ago

Describe the issue

Hello, Since I'm new to this area, my questions might be a bit unclear. I'm currently looking to perform on-device training on my edge device, and I would like to know if onnxruntime training can run on a mips32 Linux edge device using a CPU. If it's possible, are there any tutorials or documentation I can refer to? Thank you!

To reproduce

OS: Linux architecture: mips32

Urgency

No response

ONNX Runtime Installation

Other / Unknown

ONNX Runtime Version or Commit ID

unknown

PyTorch Version

unknown

Execution Provider

Default CPU

Execution Provider Library Version

No response

kshama-msft commented 2 months ago

Thank you for reaching out. ORT On-device training uses CPUs, so it should work with MIPS32. We have not tested it though and do not have a MIPS32 specific tutorial. However, if you want to try it out, we are happy to support and answer any questions along the way. You can follow along this tutorial, or anything else that seems more relevant for your use case in the tutorials directory and let us know how it goes. https://github.com/microsoft/onnxruntime-training-examples/tree/master/on_device_training/desktop/csharp/image_classification

github-actions[bot] commented 1 month ago

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.