Coder Social home page Coder Social logo

Mac M1 support about onnxruntime.jl HOT 8 CLOSED

rssdev10 avatar rssdev10 commented on July 29, 2024
Mac M1 support

from onnxruntime.jl.

Comments (8)

jw3126 avatar jw3126 commented on July 29, 2024

Sure if it is already a tarball you can just add it to Artifacts.toml. If not we need to repackage it. Happy to guide a PR if you want to give it a shot.

from onnxruntime.jl.

rssdev10 avatar rssdev10 commented on July 29, 2024

If I understand right, all the binaries are available. And, number of supported architectures in general is much higher compared with the previous version. But, the first step - somebody have to upload these files to https://github.com/jw3126/ONNXRunTimeArtifacts/releases/download/ .

If you explain me how to do it, I can check ONNXRunTime with both Mac architectures. But I don't have other architectures. And, if you have some script for automation generating the following descriptions and check sums, it would be good to have it too:

[[onnxruntime_cpu]]
arch = "x86_64"
git-tree-sha1 = "f07f041b61f199fa853a0e66652633c2d9007478"
lazy = true
libc = "glibc"
os = "linux"

    [[onnxruntime_cpu.download]]
    sha256 = "f386ab80e9d6d41f14ed9e61bff4acc6bf375770691bc3ba883ba0ba3cabca7f"
    url = "https://github.com/jw3126/ONNXRunTimeArtifacts/releases/download/v1.9.0-rc4/onnxruntime-linux-x64-1.9.0.tgz"

from onnxruntime.jl.

jw3126 avatar jw3126 commented on July 29, 2024

If I understand right, all the binaries are available. And, number of supported architectures in general is much higher compared with the previous version. But, the first step - somebody have to upload these files to https://github.com/jw3126/ONNXRunTimeArtifacts/releases/download/ .

Repackaging to ONNXRunTimeArtifacts should only be necessary for windows. The other binaries can be taken directly from
https://github.com/microsoft/onnxruntime/releases/tag/v1.13.1, see also #24.

from onnxruntime.jl.

jw3126 avatar jw3126 commented on July 29, 2024

With #24 merged, it should now be easier for you to add M1 support.

from onnxruntime.jl.

jw3126 avatar jw3126 commented on July 29, 2024

I use this script, in case you need to adapt it: https://github.com/jw3126/ONNXRunTimeArtifacts/blob/main/script.jl

from onnxruntime.jl.

rssdev10 avatar rssdev10 commented on July 29, 2024

Thanks, but a minor fix for the script:

    (
    artifact_name="onnxruntime_cpu",
    download_name="onnxruntime-osx-universal2-$version.tgz",
    platform=Pkg.Artifacts.Platform("x86_64", "macos"),
    version=version,
   ),
    (
    artifact_name="onnxruntime_cpu",
    download_name="onnxruntime-osx-universal2-$version.tgz",
    platform=Pkg.Artifacts.Platform("aarch64", "macos"),
    version=version,
   ),

from onnxruntime.jl.

rssdev10 avatar rssdev10 commented on July 29, 2024

and, with #25 that works on M1.

from onnxruntime.jl.

jw3126 avatar jw3126 commented on July 29, 2024

fixed by #25 if some issues remain, please reopen.

from onnxruntime.jl.

Related Issues (14)

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.