onnxruntime-sys-patch

Crates.ioonnxruntime-sys-patch
lib.rsonnxruntime-sys-patch
version0.0.14
sourcesrc
created_at2022-02-11 08:10:23.408781
updated_at2022-02-11 08:10:23.408781
descriptionUnsafe wrapper around Microsoft's ONNX Runtime
homepagehttps://github.com/nbigaouette/onnxruntime-rs
repositoryhttps://github.com/nbigaouette/onnxruntime-rs
max_upload_size
id530618
size1,731,698
He Li (lihe07)

documentation

https://docs.rs/onnxruntime-sys

README

onnxruntime-sys-patch

Fixed onnxruntime-sys not being able to access GitHub in China.

Due to the interference of GitHub in China, when building onnxruntime-sys, it will display:

thread 'main' panicked at 'ERROR: Failed to download https://github.com/microsoft/onnxruntime/releases/download/v1.8.1/.....'

This crate replaces the original link and uses a mirror server to download the library files.

Usage

Add the following to the project configuration file Cargo.toml that uses onnxruntime or onnxruntime-sys:

[patch.crates-io]
onnxruntime-sys = { package = "onnxruntime-sys-patch" }
Commit count: 447

cargo fmt