From 138bc3e8813f4149788c6fc5291fb88dc20f2c78 Mon Sep 17 00:00:00 2001 From: Guoqing Bao Date: Wed, 15 Oct 2025 07:04:03 +0000 Subject: [PATCH] Switch to Github dependencies --- .cargo/config.toml | 4 +--- candle-core/Cargo.toml | 6 +++--- candle-examples/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 9adceda62d..3072f5ed18 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -10,6 +10,4 @@ rustflags = ["-C", "target-feature=+simd128"] rustflags = ["-C", "target-feature=-avx,-avx2"] [env] -ATOMIC_URL = "http://artifact.enflame.cn:80/artifactory/module_package/acore" -ATOMIC_VERSION = "01d7f5d" -ATOMIC_TAG = "3.3.20250314" \ No newline at end of file +ATOMIC_URL = "https://github.com/EnflameTechnology/Ubridge/releases/download/v0.1.0/" \ No newline at end of file diff --git a/candle-core/Cargo.toml b/candle-core/Cargo.toml index cf92171bf1..a28247bc46 100644 --- a/candle-core/Cargo.toml +++ b/candle-core/Cargo.toml @@ -34,9 +34,9 @@ ug-metal = { workspace = true, optional = true } yoke = { workspace = true } zip = { workspace = true } -ubridge = { path = "../../ubridge", version = "0.1.0", optional=true} -uhal = { path = "../../UHHI/uhal", version = "0.1.0", optional=true} -cust_core = { path = "../../UHHI/common_features/cust_core", version = "0.1.0", optional=true} +ubridge = { git = "https://github.com/EnflameTechnology/Ubridge.git", version = "0.1.0", optional=true, rev = "c6423ab"} +uhal = { git = "https://github.com/EnflameTechnology/UHHI.git", version = "0.1.0", optional=true, rev = "06356e7"} +cust_core = { git = "https://github.com/EnflameTechnology/UHHI.git", version = "0.1.0", optional=true, rev = "06356e7"} float_eq = { version = "0.7.0"} diff --git a/candle-examples/Cargo.toml b/candle-examples/Cargo.toml index 3dafeca41a..3fd04613d6 100644 --- a/candle-examples/Cargo.toml +++ b/candle-examples/Cargo.toml @@ -38,7 +38,7 @@ tokenizers = { workspace = true, features = ["onig"] } float_eq = "1" cpal = { version = "0.15.2", optional = true } pdf2image = { version = "0.1.2" , optional = true} -ubridge = { path = "../../ubridge", version = "0.1.0", optional=true} +ubridge = { git = "https://github.com/EnflameTechnology/Ubridge.git", version = "0.1.0", optional=true, rev = "c6423ab"} [dev-dependencies] anyhow = { workspace = true }