You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a cross platform build job for our rust app, it builds on the following targets but fails on windows and linux after I started to use the magika crate.
❌ x86_64-pc-windows-gnu
Image:ghcr.io/cross-rs/x86_64-pc-windows-gnu:main
Error: downloaded binaries not available for target x86_64-pc-windows-gnu
✅ x86_64-apple-darwin
Image:joseluisq/rust-linux-darwin-builder:1.82.0
✅ x86_64-unknown-linux-gnu
Image:joseluisq/rust-linux-darwin-builder:1.82.0
According to the platform support page there should be precompiled binaries for all platforms. But I assume they are not for the windows-gnu variant then. For windows-gnu pykeio/ort#189) says there is no support but I should be able to use the msvc binaries.
Where can I find these and how do I use them?
The text was updated successfully, but these errors were encountered:
The ort documentation is the reference on that matter. As they suggest, you can compile ONNX Runtime yourself (and either link it dynamically or statically). We actually do this when releasing the CLI (see https://github.com/google/magika/blob/main/.github/workflows/python-build-package.yml and https://github.com/google/magika/blob/main/rust/onnx/build.sh#L36-L37) which depends on the library as any other user would. If you believe something is missing in the library or it is preventing your use-case in some way, then we can fix it. But so far it seems the problem is that Pyke doesn't provide precompiled binaries for your platform, which is inconvenient and requires more work on your side.
We have a cross platform build job for our rust app, it builds on the following targets but fails on windows and linux after I started to use the magika crate.
ghcr.io/cross-rs/x86_64-pc-windows-gnu:main
downloaded binaries not available for target x86_64-pc-windows-gnu
joseluisq/rust-linux-darwin-builder:1.82.0
joseluisq/rust-linux-darwin-builder:1.82.0
According to the platform support page there should be precompiled binaries for all platforms. But I assume they are not for the windows-gnu variant then. For windows-gnu pykeio/ort#189) says there is no support but I should be able to use the msvc binaries.
Where can I find these and how do I use them?
The text was updated successfully, but these errors were encountered: