mirror of
https://github.com/pykeio/ort
synced 2026-04-25 16:34:55 +02:00
fix(sys): do not require -fapple-link-rtlib
it really is that shrimple
This commit is contained in:
@@ -3,7 +3,6 @@ publish = false
|
||||
name = "example-async-gpt2-api"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
build = "../build.rs"
|
||||
|
||||
[dependencies]
|
||||
ort = { path = "../../", features = [ "fetch-models" ] }
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
fn main() {
|
||||
// Need this for CoreML. See: https://ort.pyke.io/perf/execution-providers#coreml
|
||||
#[cfg(target_os = "macos")]
|
||||
println!("cargo:rustc-link-arg=-fapple-link-rtlib");
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
[package]
|
||||
publish = false
|
||||
name = "example-cudarc"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
@@ -3,7 +3,6 @@ publish = false
|
||||
name = "example-custom-ops"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
build = "../build.rs"
|
||||
|
||||
[dependencies]
|
||||
ort = { path = "../../" }
|
||||
|
||||
@@ -3,7 +3,6 @@ publish = false
|
||||
name = "example-gpt2"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
build = "../build.rs"
|
||||
|
||||
[dependencies]
|
||||
ort = { path = "../../", features = [ "fetch-models" ] }
|
||||
|
||||
@@ -3,7 +3,6 @@ publish = false
|
||||
name = "example-model-info"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
build = "../build.rs"
|
||||
|
||||
[dependencies]
|
||||
ort = { path = "../../" }
|
||||
|
||||
@@ -3,7 +3,6 @@ publish = false
|
||||
name = "example-modnet"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
build = "../build.rs"
|
||||
|
||||
[dependencies]
|
||||
ort = { path = "../../", features = [ "fetch-models" ] }
|
||||
|
||||
@@ -3,7 +3,6 @@ publish = false
|
||||
name = "example-phi-3-vision"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
build = "../build.rs"
|
||||
|
||||
[dependencies]
|
||||
ort = { path = "../../" }
|
||||
|
||||
@@ -3,7 +3,6 @@ publish = false
|
||||
name = "example-sentence-transformers"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
build = "../build.rs"
|
||||
|
||||
[dependencies]
|
||||
ort = { path = "../../", features = [ "fetch-models" ] }
|
||||
|
||||
@@ -3,7 +3,6 @@ publish = false
|
||||
name = "example-training"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
build = "../build.rs"
|
||||
|
||||
[dependencies]
|
||||
ort = { path = "../../", features = [ "training" ] }
|
||||
|
||||
Reference in New Issue
Block a user