Crates.io | onnxruntime-sys-patch |
lib.rs | onnxruntime-sys-patch |
version | 0.0.14 |
source | src |
created_at | 2022-02-11 08:10:23.408781 |
updated_at | 2022-02-11 08:10:23.408781 |
description | Unsafe wrapper around Microsoft's ONNX Runtime |
homepage | https://github.com/nbigaouette/onnxruntime-rs |
repository | https://github.com/nbigaouette/onnxruntime-rs |
max_upload_size | |
id | 530618 |
size | 1,731,698 |
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.
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" }