官方ONNX Runtime Docker镜像,基于openEuler构建,提供跨平台机器学习推理和训练加速,支持PyTorch、TensorFlow等框架及多种硬件,通过优化和硬件加速提升性能并降低成本。

下载次数: 0状态:社区镜像维护者:openEuler 官方容器镜像仓库类型:镜像最近更新:
下载命令
点击查看

Quick reference

  • The official ONNX Runtime docker image.

  • Maintained by: openEuler CloudNative SIG.

  • Where to get help: openEuler CloudNative SIG, openEuler.

ONNX Runtime | openEuler

ONNX Runtime is a cross-platform inference and training machine-learning accelerator. ONNX Runtime inference can enable faster customer experiences and lower costs, supporting models from deep learning frameworks such as PyTorch and TensorFlow/Keras as well as classical machine learning libraries such as scikit-learn, LightGBM, XGBoost, etc. ONNX Runtime is compatible with different hardware, drivers, and operating systems, and provides optimal performance by leveraging hardware accelerators where applicable alongside graph optimizations and transforms.

Learn more about on ONNX Runtime Website.

Supported tags and respective Dockerfile links

The tag of each ONNX Runtime docker image is consist of the complete software stack version. The details are as follows

TagCurrentlyArchitectures
https://gitee.com/openeuler/openeuler-docker-images/blob/master/AI/onnxruntime/1.31.0/24.03-lts-sp4/Dockerfileonnxruntime 1.31.0 on openEuler 24.03-LTS-SP4amd64, arm64
1.22.1-oe2403sp2ONNX Runtime 1.22.1 on openEuler 24.03-LTS-SP2amd64, arm64

Usage

In this usage, users can select the corresponding {Tag} and container startup options based on their requirements.

  • Pull the openeuler/onnxruntime image from docker

    bash
    docker pull openeuler/onnxruntime:{Tag}
    
  • Start a container

    bash
    docker run -it --name my-onnxruntime openeuler/onnxruntime:{Tag}
    
  • Container startup options

    OptionDescription
    --name my-onnxruntimeNames the container my-onnxruntime.
    -itStarts the container in interactive mode with a terminal.
    openeuler/onnxruntime:{Tag}Specifies the Docker image to run, replace {Tag} with the specific version tag.
  • Verify ONNX Runtime installation

    bash
    docker run --rm openeuler/onnxruntime:{Tag} python3 -c "import onnxruntime; print(onnxruntime.__version__)"
    
  • To get an interactive shell

    bash
    docker exec -it my-onnxruntime /bin/bash
    

Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 onnxruntime 镜像标签

docker pull docker.xuanyuan.run/openeuler/onnxruntime:<标签>

DockerHub 原生拉取命令

docker pull openeuler/onnxruntime:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告