Code Monkey home page Code Monkey logo

onnxruntimebuilder's Introduction

OnnxruntimeBuilder

简介

编译onnxruntime 动态库和静态库。

  • 仓库的Release的包不支持GPU,仅使用CPU;
  • 文件名包含shared代表动态库(windows是.dll,linux是.so,macos是.dylib);
  • 文件名包含static代表静态库(***.a);
  • 文件名包含windows,linux,macos,android,代表这4种操作系统平台使用的库;
  • 文件名包含musl,使用musl工具链交叉编译;

windows版本说明

  • windows版文件名含md代表动态链接crt,文件名含mt代表静态链接crt,静态链接时不需要依赖标准c库,部署时更方便,但文件体积增大;
  • 最好选择与你的vs版本一致的库;

ubuntu CPU架构支持信息

CPU架构 备注
amd64 x86_64 一般家用PC
arm arm/v7 armhf
arm64 arm64/v8 aarch64
ppc64le Power PC 64 LE

ubuntu版本说明

操作系统 gcc版本 libc版本 binutils版本
ubuntu 14.04 4.8.4 2.19 2.24
ubuntu 16.04 5.4.0 2.23 2.26.1
ubuntu 18.04 7.5.0 2.27 2.30
ubuntu 20.04 9.4.0 2.31 2.34
ubuntu 22.04 11.4.0 2.35 2.38
  • 最好选择与你的gcc一致的版本;
  • 低版本gcc使用高版本工具编译出来的库会出错;

musl版本说明

关于OpenMP

  • 官方v1.7.0版本说明 Starting from this release, all ONNX Runtime CPU packages are now built without OpenMP.
  • 官方仓库Release的从1.7.0开始,所有CPU版的包编译时没有启用OpenMP选项;
  • 本仓库重新编译的v1.6.0没有启用OpenMP选项;
  • 本仓库的初始版~1.8.0仍然启用了OpenMP选项,即使用本仓库的这些包时,编译环境要求安装OpenMP;

onnxruntimebuilder's People

Contributors

benjaminwan avatar znsoftm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.