diff --git a/Cargo.lock b/Cargo.lock index ac371c433..5dff65e66 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -286,11 +286,37 @@ dependencies = [ "rand 0.9.4", "rand_distr", "rayon", - "safetensors", + "safetensors 0.7.0", "thiserror 2.0.18", "tokenizers", "yoke", - "zip", + "zip 7.2.0", +] + +[[package]] +name = "candle-core" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ecb245093b0f791b89d3420c3df9c6d49c60ab63ba54db896bf8a3baf486706" +dependencies = [ + "byteorder", + "float8", + "gemm", + "half", + "libc", + "libm", + "memmap2", + "num-traits", + "num_cpus", + "rand 0.9.4", + "rand_distr", + "rayon", + "safetensors 0.8.0", + "thiserror 2.0.18", + "tokenizers", + "yoke", + "zerocopy", + "zip 8.6.0", ] [[package]] @@ -299,12 +325,12 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9317a09d6530b758990ed7f625ac69ff43653bc9ee28b0464644ad1169ada87" dependencies = [ - "candle-core", + "candle-core 0.10.2", "half", "libc", "num-traits", "rayon", - "safetensors", + "safetensors 0.7.0", "serde", "thiserror 2.0.18", ] @@ -868,6 +894,12 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" +[[package]] +name = "fastrand" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" + [[package]] name = "ff" version = "0.13.1" @@ -2757,6 +2789,19 @@ dependencies = [ "serde_json", ] +[[package]] +name = "safetensors" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79b079b829cb27a1c3c374341345ed2e8b2c0c839034522cee576c140bd7f846" +dependencies = [ + "hashbrown 0.16.1", + "libc", + "serde", + "serde_json", + "tempfile", +] + [[package]] name = "same-file" version = "1.0.6" @@ -3139,7 +3184,7 @@ version = "0.1.0" dependencies = [ "anyhow", "axum", - "candle-core", + "candle-core 0.11.0", "candle-nn", "chrono", "clap", @@ -3166,6 +3211,19 @@ dependencies = [ "walkdir", ] +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom 0.4.2", + "once_cell", + "rustix", + "windows-sys 0.61.2", +] + [[package]] name = "thiserror" version = "1.0.69" @@ -4279,6 +4337,18 @@ dependencies = [ "typed-path", ] +[[package]] +name = "zip" +version = "8.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d04a6b5381502aa6087c94c669499eb1602eb9c5e8198e534de571f7154809b" +dependencies = [ + "crc32fast", + "indexmap", + "memchr", + "typed-path", +] + [[package]] name = "zmij" version = "1.0.21" diff --git a/bootstrap/Cargo.toml b/bootstrap/Cargo.toml index 4ca2a43c6..b58285621 100644 --- a/bootstrap/Cargo.toml +++ b/bootstrap/Cargo.toml @@ -34,7 +34,7 @@ hyper-util = { version = "0.1", features = ["tokio", "client-legacy", "http1"] } http-body-util = "0.1" lazy_static = "1.5" regex = "1" -candle-core = "0.10.2" +candle-core = "0.11.0" candle-nn = "0.10.2" [build-dependencies]