From 10737527d88c3059e98f91d9c9a27650e490bb0d Mon Sep 17 00:00:00 2001 From: Ahmed Yarub Hani Al Nuaimi Date: Fri, 10 May 2024 17:25:19 -0300 Subject: [PATCH] #1747 Upgrade Rust dependencies (#1748) * #1747 Upgrade Rust dependencies * Revert upgrade for tch The update of tch on windows gives an error: INTEL MKL ERROR: The specified module could not be found. mkl_vml_avx2.1.dll. Intel MKL FATAL ERROR: cannot load mkl_vml_avx2.1.dll or mkl_vml_def.1.dll. * Keep only .cargo/config.toml file which works with rust > 1.75 --------- Co-authored-by: Sylvain Benner --- .cargo/{config => config.toml} | 0 .gitignore | 1 - Cargo.lock | 858 ++++++++++++++---- Cargo.toml | 68 +- backend-comparison/Cargo.toml | 4 +- burn-book/src/basic-workflow/README.md | 2 +- burn-book/src/basic-workflow/model.md | 2 +- crates/burn-autodiff/Cargo.toml | 8 +- crates/burn-candle/Cargo.toml | 8 +- crates/burn-compute/Cargo.toml | 2 +- crates/burn-core/Cargo.toml | 24 +- crates/burn-cuda/Cargo.toml | 12 +- crates/burn-dataset/Cargo.toml | 2 +- crates/burn-fusion/Cargo.toml | 4 +- crates/burn-import/Cargo.toml | 2 +- crates/burn-jit/Cargo.toml | 14 +- crates/burn-ndarray/Cargo.toml | 10 +- crates/burn-no-std-tests/Cargo.toml | 4 +- crates/burn-tch/Cargo.toml | 6 +- crates/burn-tensor/Cargo.toml | 4 +- crates/burn-train/Cargo.toml | 4 +- .../src/renderer/tui/metric_numeric.rs | 7 +- crates/burn-wgpu/Cargo.toml | 12 +- crates/burn-wgpu/src/compute/server.rs | 1 + crates/burn/Cargo.toml | 4 +- examples/image-classification-web/Cargo.toml | 6 +- examples/pytorch-import/Cargo.toml | 2 +- 27 files changed, 779 insertions(+), 292 deletions(-) rename .cargo/{config => config.toml} (100%) diff --git a/.cargo/config b/.cargo/config.toml similarity index 100% rename from .cargo/config rename to .cargo/config.toml diff --git a/.gitignore b/.gitignore index 8e06ae67c..9d5f51b61 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,6 @@ target # These are backup files generated by rustfmt **/*.rs.bk .DS_Store -.cargo/config.toml .dir-locals.el .idea diff --git a/Cargo.lock b/Cargo.lock index b0fe41112..a04573b5e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -141,6 +141,9 @@ name = "arbitrary" version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110" +dependencies = [ + "derive_arbitrary", +] [[package]] name = "arboard" @@ -168,7 +171,7 @@ checksum = "0ae92a5119aa49cdbcf6b9f893fe4e1d98b04ccbf82ee0584ad948a44a734dea" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -194,7 +197,7 @@ checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -239,7 +242,7 @@ dependencies = [ [[package]] name = "backend-comparison" -version = "0.14.0" +version = "0.15.0" dependencies = [ "arboard", "burn", @@ -254,7 +257,7 @@ dependencies = [ "os_info", "percent-encoding", "rand", - "reqwest", + "reqwest 0.12.4", "rstest", "serde", "serde_json", @@ -366,9 +369,9 @@ checksum = "06c9989a51171e2e81038ab168b6ae22886fe9ded214430dbb4f41c28cf176da" [[package]] name = "blas-src" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa443ee19b4cde6cdbd49043eb8964f9dd367b6d98d67f04395958ebfa28f39d" +checksum = "b95e83dc868db96e69795c0213143095f03de9dd3252f205d4ac716e4076a7e0" dependencies = [ "accelerate-src", "netlib-src", @@ -423,7 +426,7 @@ checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "burn" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn-core", "burn-train", @@ -431,7 +434,7 @@ dependencies = [ [[package]] name = "burn-autodiff" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn-common", "burn-tensor", @@ -443,7 +446,7 @@ dependencies = [ [[package]] name = "burn-candle" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn-autodiff", "burn-tch", @@ -455,7 +458,7 @@ dependencies = [ [[package]] name = "burn-common" -version = "0.14.0" +version = "0.15.0" dependencies = [ "async-trait", "dashmap", @@ -463,7 +466,7 @@ dependencies = [ "getrandom", "indicatif", "rand", - "reqwest", + "reqwest 0.12.4", "serde", "spin", "tokio", @@ -473,7 +476,7 @@ dependencies = [ [[package]] name = "burn-compute" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn-common", "derive-new", @@ -491,7 +494,7 @@ dependencies = [ [[package]] name = "burn-core" -version = "0.14.0" +version = "0.15.0" dependencies = [ "bincode", "burn-autodiff", @@ -521,7 +524,7 @@ dependencies = [ [[package]] name = "burn-dataset" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn-common", "csv", @@ -552,17 +555,17 @@ dependencies = [ [[package]] name = "burn-derive" -version = "0.14.0" +version = "0.15.0" dependencies = [ "derive-new", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] name = "burn-fusion" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn-common", "burn-tensor", @@ -575,7 +578,7 @@ dependencies = [ [[package]] name = "burn-import" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "bytemuck", @@ -595,16 +598,16 @@ dependencies = [ "serde_json", "strum", "strum_macros", - "syn 2.0.60", + "syn 2.0.61", "thiserror", "tracing-core", "tracing-subscriber", - "zip", + "zip 1.2.1", ] [[package]] name = "burn-jit" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn-autodiff", "burn-common", @@ -628,7 +631,7 @@ dependencies = [ [[package]] name = "burn-ndarray" -version = "0.14.0" +version = "0.15.0" dependencies = [ "blas-src", "burn-autodiff", @@ -647,7 +650,7 @@ dependencies = [ [[package]] name = "burn-no-std-tests" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "burn-ndarray", @@ -656,7 +659,7 @@ dependencies = [ [[package]] name = "burn-tch" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn-autodiff", "burn-tensor", @@ -668,7 +671,7 @@ dependencies = [ [[package]] name = "burn-tensor" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn-common", "burn-tensor-testgen", @@ -683,7 +686,7 @@ dependencies = [ [[package]] name = "burn-tensor-testgen" -version = "0.14.0" +version = "0.15.0" dependencies = [ "proc-macro2", "quote", @@ -691,7 +694,7 @@ dependencies = [ [[package]] name = "burn-train" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn-core", "burn-ndarray", @@ -710,7 +713,7 @@ dependencies = [ [[package]] name = "burn-wgpu" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn-common", "burn-compute", @@ -743,7 +746,7 @@ checksum = "4da9a32f3fed317401fa3c862968128267c3106685286e15d5aaa3d7389c2f60" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -793,8 +796,8 @@ dependencies = [ [[package]] name = "candle-core" -version = "0.5.0" -source = "git+https://github.com/huggingface/candle.git?rev=2817643#2817643db9c687cacd330ad53385ae278d018c00" +version = "0.5.1" +source = "git+https://github.com/huggingface/candle.git?rev=82b641f#82b641fd2752e3b14db6a9c91faef70e3329f3b5" dependencies = [ "accelerate-src", "byteorder", @@ -805,7 +808,7 @@ dependencies = [ "half", "libc", "memmap2", - "metal", + "metal 0.27.0", "num-traits", "num_cpus", "rand", @@ -814,23 +817,23 @@ dependencies = [ "safetensors 0.4.3", "thiserror", "yoke", - "zip", + "zip 1.2.1", ] [[package]] name = "candle-kernels" -version = "0.5.0" -source = "git+https://github.com/huggingface/candle.git?rev=2817643#2817643db9c687cacd330ad53385ae278d018c00" +version = "0.5.1" +source = "git+https://github.com/huggingface/candle.git?rev=82b641f#82b641fd2752e3b14db6a9c91faef70e3329f3b5" dependencies = [ "bindgen_cuda", ] [[package]] name = "candle-metal-kernels" -version = "0.5.0" -source = "git+https://github.com/huggingface/candle.git?rev=2817643#2817643db9c687cacd330ad53385ae278d018c00" +version = "0.5.1" +source = "git+https://github.com/huggingface/candle.git?rev=82b641f#82b641fd2752e3b14db6a9c91faef70e3329f3b5" dependencies = [ - "metal", + "metal 0.27.0", "once_cell", "thiserror", "tracing", @@ -842,6 +845,15 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" +[[package]] +name = "castaway" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a17ed5635fc8536268e5d4de1e22e81ac34419e5f052d4d51f4e01dcc263fcc" +dependencies = [ + "rustversion", +] + [[package]] name = "cblas-sys" version = "0.1.4" @@ -969,7 +981,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -1068,6 +1080,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "compact_str" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f86b9c4c00838774a6d902ef931eff7470720c51d90c2e32cfe15dc304737b3f" +dependencies = [ + "castaway", + "cfg-if", + "itoa", + "ryu", + "static_assertions", +] + [[package]] name = "console" version = "0.15.8" @@ -1097,6 +1122,12 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" +[[package]] +name = "constant_time_eq" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" + [[package]] name = "core-foundation" version = "0.9.4" @@ -1146,6 +1177,21 @@ dependencies = [ "libc", ] +[[package]] +name = "crc" +version = "3.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" +dependencies = [ + "crc-catalog", +] + +[[package]] +name = "crc-catalog" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" + [[package]] name = "crc32fast" version = "1.4.0" @@ -1253,26 +1299,27 @@ dependencies = [ [[package]] name = "cudarc" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9395df0cab995685664e79cc35ad6302bf08fb9c5d82301875a183affe1278b1" +checksum = "0e67e1e78ead17f24b0e0747cbc39a88520f2e250f9522cc282b6dcf575b8788" dependencies = [ "half", + "libloading 0.8.3", ] [[package]] name = "custom-csv-dataset" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "csv", - "reqwest", + "reqwest 0.12.4", "serde", ] [[package]] name = "custom-image-dataset" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "flate2", @@ -1281,7 +1328,7 @@ dependencies = [ [[package]] name = "custom-renderer" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "bytemuck", @@ -1293,7 +1340,7 @@ dependencies = [ [[package]] name = "custom-training-loop" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "bytemuck", @@ -1305,7 +1352,7 @@ dependencies = [ [[package]] name = "custom-wgpu-kernel" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "bytemuck", @@ -1316,9 +1363,9 @@ dependencies = [ [[package]] name = "d3d12" -version = "0.19.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e3d747f100290a1ca24b752186f61f6637e1deffe3bf6320de6fcb29510a307" +checksum = "b28bfe653d79bd16c77f659305b195b82bb5ce0c0eb2a4846b82ddbd77586813" dependencies = [ "bitflags 2.5.0", "libloading 0.8.3", @@ -1346,7 +1393,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.10.0", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -1357,7 +1404,7 @@ checksum = "a668eda54683121533a393014d8692171709ff57a7d61f187b6e782719f8933f" dependencies = [ "darling_core", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -1373,6 +1420,12 @@ dependencies = [ "parking_lot_core 0.9.10", ] +[[package]] +name = "deflate64" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83ace6c86376be0b6cdcf3fb41882e81d94b31587573d1cfa9d01cd06bba210d" + [[package]] name = "deranged" version = "0.3.11" @@ -1390,7 +1443,18 @@ checksum = "d150dea618e920167e5973d70ae6ece4385b7164e0d799fe7c122dd0a5d912ad" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", +] + +[[package]] +name = "derive_arbitrary" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", ] [[package]] @@ -1411,7 +1475,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -1421,7 +1485,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "206868b8242f27cecce124c19fd88157fbd0dd334df2587f36417bafbc85097b" dependencies = [ "derive_builder_core", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -1499,6 +1563,26 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "displaydoc" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "document-features" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef5282ad69563b5fc40319526ba27e0e7363d552a896f0297d54f767717f9b95" +dependencies = [ + "litrs", +] + [[package]] name = "dyn-stack" version = "0.10.0" @@ -1539,7 +1623,7 @@ dependencies = [ "heck 0.4.1", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -1636,9 +1720,6 @@ name = "faster-hex" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2a2b11eda1d40935b26cf18f6833c526845ae8c41e58d09af6adeb6f0269183" -dependencies = [ - "serde", -] [[package]] name = "fastrand" @@ -1674,6 +1755,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" dependencies = [ "crc32fast", + "libz-ng-sys", "miniz_oxide", ] @@ -1728,7 +1810,7 @@ checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -1819,7 +1901,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -1998,9 +2080,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "js-sys", @@ -2033,7 +2115,7 @@ checksum = "98852ab71f5613dac02a0d1b41f3ffaf993b69449904dd13a10575612a56074d" dependencies = [ "chrono", "clap 3.2.25", - "reqwest", + "reqwest 0.11.27", "serde", "serde_derive", "serde_json", @@ -2041,29 +2123,31 @@ dependencies = [ [[package]] name = "gix-features" -version = "0.36.1" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d46a4a5c6bb5bebec9c0d18b65ada20e6517dbd7cf855b87dd4bbdce3a771b2" +checksum = "db4254037d20a247a0367aa79333750146a369719f0c6617fec4f5752cc62b37" dependencies = [ "gix-hash", "gix-trace", + "gix-utils", "libc", ] [[package]] name = "gix-fs" -version = "0.8.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20e86eb040f5776a5ade092282e51cdcad398adb77d948b88d17583c2ae4e107" +checksum = "e2184c40e7910529677831c8b481acf788ffd92427ed21fad65b6aa637e631b8" dependencies = [ "gix-features", + "gix-utils", ] [[package]] name = "gix-hash" -version = "0.13.3" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f8cf8c2266f63e582b7eb206799b63aa5fa68ee510ad349f637dfe2d0653de0" +checksum = "f93d7df7366121b5018f947a04d37f034717e113dcf9ccd85c34b58e57a74d5e" dependencies = [ "faster-hex", "thiserror", @@ -2071,9 +2155,9 @@ dependencies = [ [[package]] name = "gix-tempfile" -version = "11.0.1" +version = "13.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388dd29114a86ec69b28d1e26d6d63a662300ecf61ab3f4cc578f7d7dc9e7e23" +checksum = "a761d76594f4443b675e85928e4902dec333273836bd386906f01e7e346a0d11" dependencies = [ "dashmap", "gix-fs", @@ -2091,6 +2175,16 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f924267408915fddcd558e3f37295cc7d6a3e50f8bd8b606cee0808c3915157e" +[[package]] +name = "gix-utils" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35192df7fd0fa112263bad8021e2df7167df4cc2a6e6d15892e1e55621d3d4dc" +dependencies = [ + "fastrand", + "unicode-normalization", +] + [[package]] name = "gl_generator" version = "0.14.0" @@ -2187,9 +2281,9 @@ dependencies = [ [[package]] name = "gpu-descriptor" -version = "0.2.4" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc11df1ace8e7e564511f53af41f3e42ddc95b56fd07b3f4445d2a6048bc682c" +checksum = "9c08c1f623a8d0b722b8b99f821eb0ba672a1618f0d3b16ddbee1cedd2dd8557" dependencies = [ "bitflags 2.5.0", "gpu-descriptor-types", @@ -2198,16 +2292,16 @@ dependencies = [ [[package]] name = "gpu-descriptor-types" -version = "0.1.2" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bf0b36e6f090b7e1d8a4b49c0cb81c1f8376f72198c65dd3ad9ff3556b8b78c" +checksum = "fdf242682df893b86f33a73828fb09ca4b2d3bb6cc95249707fc684d27484b91" dependencies = [ "bitflags 2.5.0", ] [[package]] name = "guide" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "log", @@ -2225,7 +2319,26 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.12", + "indexmap 2.2.6", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "h2" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "816ec7294445779408f36fe57bc5b7fc1cf59664059096c65f905c1c61f58069" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http 1.1.0", "indexmap 2.2.6", "slab", "tokio", @@ -2276,9 +2389,9 @@ dependencies = [ [[package]] name = "hashlink" -version = "0.8.4" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" +checksum = "692eaaf7f7607518dd3cef090f1474b61edc5301d8012f09579920df68b725ee" dependencies = [ "hashbrown 0.14.5", ] @@ -2383,6 +2496,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.6" @@ -2390,7 +2514,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http", + "http 0.2.12", + "pin-project-lite", +] + +[[package]] +name = "http-body" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" +dependencies = [ + "bytes", + "http 1.1.0", +] + +[[package]] +name = "http-body-util" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0475f8b2ac86659c21b64320d5d653f9efe42acd2a4e560073ec61a155a34f1d" +dependencies = [ + "bytes", + "futures-core", + "http 1.1.0", + "http-body 1.0.0", "pin-project-lite", ] @@ -2422,9 +2569,9 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2", - "http", - "http-body", + "h2 0.3.26", + "http 0.2.12", + "http-body 0.4.6", "httparse", "httpdate", "itoa", @@ -2436,6 +2583,26 @@ dependencies = [ "want", ] +[[package]] +name = "hyper" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe575dd17d0862a9a33781c8c4696a55c320909004a67a00fb286ba8b1bc496d" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "h2 0.4.4", + "http 1.1.0", + "http-body 1.0.0", + "httparse", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + [[package]] name = "hyper-tls" version = "0.5.0" @@ -2443,12 +2610,48 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes", - "hyper", + "hyper 0.14.28", "native-tls", "tokio", "tokio-native-tls", ] +[[package]] +name = "hyper-tls" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" +dependencies = [ + "bytes", + "http-body-util", + "hyper 1.3.1", + "hyper-util", + "native-tls", + "tokio", + "tokio-native-tls", + "tower-service", +] + +[[package]] +name = "hyper-util" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca38ef113da30126bbff9cd1705f9273e15d45498615d138b0c20279ac7a76aa" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "http 1.1.0", + "http-body 1.0.0", + "hyper 1.3.1", + "pin-project-lite", + "socket2", + "tokio", + "tower", + "tower-service", + "tracing", +] + [[package]] name = "iana-time-zone" version = "0.1.60" @@ -2529,7 +2732,7 @@ dependencies = [ [[package]] name = "image-classification-web" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "burn-candle", @@ -2628,7 +2831,7 @@ checksum = "c34819042dc3d3971c46c2190835914dfbe0c3c13f61449b2997f4e9722dfa60" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -2775,21 +2978,37 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.27.0" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4e226dcd58b4be396f7bd3c20da8fdee2911400705297ba7d2d7cc2c30f716" +checksum = "0c10584274047cb335c23d3e61bcef8e323adae7c5c8c760540f73610177fc3f" dependencies = [ "cc", "pkg-config", "vcpkg", ] +[[package]] +name = "libz-ng-sys" +version = "1.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6409efc61b12687963e602df8ecf70e8ddacf95bc6576bcf16e3ac6328083c5" +dependencies = [ + "cmake", + "libc", +] + [[package]] name = "linux-raw-sys" version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" +[[package]] +name = "litrs" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4ce301924b7887e9d637144fdade93f9dfff9b60981d4ac161db09720d39aa5" + [[package]] name = "lock_api" version = "0.4.12" @@ -2824,6 +3043,16 @@ dependencies = [ "hashbrown 0.14.5", ] +[[package]] +name = "lzma-rs" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "297e814c836ae64db86b36cf2a557ba54368d03f6afcd7d947c266692f71115e" +dependencies = [ + "byteorder", + "crc", +] + [[package]] name = "macro_rules_attribute" version = "0.2.0" @@ -2909,6 +3138,21 @@ dependencies = [ "paste", ] +[[package]] +name = "metal" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5637e166ea14be6063a3f8ba5ccb9a4159df7d8f6d61c02fc3d480b1f90dcfcb" +dependencies = [ + "bitflags 2.5.0", + "block", + "core-graphics-types", + "foreign-types 0.5.0", + "log", + "objc", + "paste", +] + [[package]] name = "mime" version = "0.3.17" @@ -2945,7 +3189,7 @@ dependencies = [ [[package]] name = "mnist" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "log", @@ -2954,7 +3198,7 @@ dependencies = [ [[package]] name = "mnist-inference-web" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "console_error_panic_hook", @@ -2991,15 +3235,16 @@ checksum = "bf307cbbbd777a9c10cec88ddafee572b3484caad5cce0c9236523c3803105a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] name = "naga" -version = "0.19.2" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50e3524642f53d9af419ab5e8dd29d3ba155708267667c2f3f06c88c9e130843" +checksum = "e536ae46fcab0876853bd4a632ede5df4b1c2527a58f6c5a4150fe86be858231" dependencies = [ + "arrayvec", "bit-set", "bitflags 2.5.0", "codespan-reporting", @@ -3016,7 +3261,7 @@ dependencies = [ [[package]] name = "named-tensor" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "serde", @@ -3150,7 +3395,7 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -3194,6 +3439,27 @@ dependencies = [ "libc", ] +[[package]] +name = "num_enum" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02339744ee7253741199f897151b38e72257d13802d4ee837285cc2990a90845" +dependencies = [ + "num_enum_derive", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.61", +] + [[package]] name = "num_threads" version = "0.1.7" @@ -3211,12 +3477,12 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" [[package]] name = "nvml-wrapper" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cd21b9f5a1cce3c3515c9ffa85f5c7443e07162dae0ccf4339bb7ca38ad3454" +checksum = "0c9bff0aa1d48904a1385ea2a8b97576fbdcbc9a3cfccd0d31fe978e1c4038c5" dependencies = [ - "bitflags 1.3.2", - "libloading 0.7.4", + "bitflags 2.5.0", + "libloading 0.8.3", "nvml-wrapper-sys", "static_assertions", "thiserror", @@ -3225,11 +3491,11 @@ dependencies = [ [[package]] name = "nvml-wrapper-sys" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c961a2ea9e91c59a69b78e69090f6f5b867bb46c0c56de9482da232437c4987e" +checksum = "698d45156f28781a4e79652b6ebe2eaa0589057d588d3aec1333f6466f13fcb5" dependencies = [ - "libloading 0.7.4", + "libloading 0.8.3", ] [[package]] @@ -3345,7 +3611,7 @@ dependencies = [ [[package]] name = "onnx-inference" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "burn-import", @@ -3354,7 +3620,7 @@ dependencies = [ [[package]] name = "onnx-tests" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "burn-import", @@ -3412,7 +3678,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -3539,12 +3805,42 @@ dependencies = [ "sha2", ] +[[package]] +name = "pbkdf2" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" +dependencies = [ + "digest", + "hmac", +] + [[package]] name = "percent-encoding" version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +[[package]] +name = "pin-project" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + [[package]] name = "pin-project-lite" version = "0.2.14" @@ -3616,6 +3912,15 @@ dependencies = [ "yansi", ] +[[package]] +name = "proc-macro-crate" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +dependencies = [ + "toml_edit 0.21.1", +] + [[package]] name = "proc-macro-error" version = "1.0.4" @@ -3642,9 +3947,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.81" +version = "1.0.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba" +checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" dependencies = [ "unicode-ident", ] @@ -3665,7 +3970,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8021cf59c8ec9c432cfc2526ac6b8aa508ecaf29cd415f271b8406c1b851c3fd" dependencies = [ "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -3734,7 +4039,7 @@ dependencies = [ [[package]] name = "pytorch-import" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "burn-import", @@ -3743,7 +4048,7 @@ dependencies = [ [[package]] name = "pytorch-tests" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "burn-autodiff", @@ -3790,9 +4095,9 @@ dependencies = [ [[package]] name = "r2d2_sqlite" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dc290b669d30e20751e813517bbe13662d020419c5c8818ff10b6e8bb7777f6" +checksum = "6a982edf65c129796dba72f8775b292ef482b40d035e827a9825b3bc07ccc5f2" dependencies = [ "r2d2", "rusqlite", @@ -3847,12 +4152,13 @@ checksum = "9c8a99fddc9f0ba0a85884b8d14e3592853e787d581ca1816c91349b10e4eeab" [[package]] name = "ratatui" -version = "0.25.0" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5659e52e4ba6e07b2dad9f1158f578ef84a73762625ddb51536019f34d180eb" +checksum = "a564a852040e82671dc50a37d88f3aa83bbc690dfc6844cfe7a2591620206a80" dependencies = [ "bitflags 2.5.0", "cassowary", + "compact_str", "crossterm", "indoc", "itertools 0.12.1", @@ -4011,6 +4317,14 @@ dependencies = [ "thiserror", ] +[[package]] +name = "refactor" +version = "0.15.0" +dependencies = [ + "burn", + "serde", +] + [[package]] name = "regex" version = "1.10.4" @@ -4042,7 +4356,7 @@ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "regression" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "log", @@ -4072,11 +4386,11 @@ dependencies = [ "encoding_rs", "futures-core", "futures-util", - "h2", - "http", - "http-body", - "hyper", - "hyper-tls", + "h2 0.3.26", + "http 0.2.12", + "http-body 0.4.6", + "hyper 0.14.28", + "hyper-tls 0.5.0", "ipnet", "js-sys", "log", @@ -4098,7 +4412,50 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "winreg", + "winreg 0.50.0", +] + +[[package]] +name = "reqwest" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "566cafdd92868e0939d3fb961bd0dc25fcfaaed179291093b3d43e6b3150ea10" +dependencies = [ + "base64 0.22.0", + "bytes", + "encoding_rs", + "futures-channel", + "futures-core", + "futures-util", + "h2 0.4.4", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", + "hyper 1.3.1", + "hyper-tls 0.6.0", + "hyper-util", + "ipnet", + "js-sys", + "log", + "mime", + "native-tls", + "once_cell", + "percent-encoding", + "pin-project-lite", + "rustls-pemfile 2.1.2", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "system-configuration", + "tokio", + "tokio-native-tls", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "winreg 0.52.0", ] [[package]] @@ -4149,9 +4506,9 @@ dependencies = [ [[package]] name = "rstest" -version = "0.18.2" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97eeab2f3c0a199bc4be135c36c924b6590b88c377d416494288c14f2db30199" +checksum = "9d5316d2a1479eeef1ea21e7f9ddc67c191d497abc8fc3ba2467857abbb68330" dependencies = [ "futures", "futures-timer", @@ -4161,9 +4518,9 @@ dependencies = [ [[package]] name = "rstest_macros" -version = "0.18.2" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d428f8247852f894ee1be110b375111b586d4fa431f6c46e64ba5a0dcccbe605" +checksum = "04a9df72cc1f67020b0d63ad9bfe4a323e459ea7eb68e03bd9824db49f9a4c25" dependencies = [ "cfg-if", "glob", @@ -4172,15 +4529,15 @@ dependencies = [ "regex", "relative-path", "rustc_version", - "syn 2.0.60", + "syn 2.0.61", "unicode-ident", ] [[package]] name = "rusqlite" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a78046161564f5e7cd9008aff3b2990b3850dc8e0349119b98e8f251e099f24d" +checksum = "b838eba278d213a8beaf485bd313fd580ca4505a00d5871caeb1457c55322cae" dependencies = [ "bitflags 2.5.0", "fallible-iterator", @@ -4424,9 +4781,9 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" [[package]] name = "serde" -version = "1.0.200" +version = "1.0.201" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddc6f9cc94d67c0e21aaf7eda3a010fd3af78ebf6e096aa6e2e13c79749cce4f" +checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" dependencies = [ "serde_derive", ] @@ -4444,20 +4801,20 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.200" +version = "1.0.201" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "856f046b9400cee3c8c94ed572ecdb752444c24528c035cd35882aad6f492bcb" +checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] name = "serde_json" -version = "1.0.116" +version = "1.0.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813" +checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" dependencies = [ "itoa", "ryu", @@ -4466,9 +4823,9 @@ dependencies = [ [[package]] name = "serde_rusqlite" -version = "0.34.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4600dac14aada464c5584d327baa164e372153309bc4c0fb1498bbfbaa5a028b" +checksum = "836d903d9524cecbcd7b75745b6ee0e3f3774b878ea489dfaf2ea749463283d6" dependencies = [ "rusqlite", "serde", @@ -4517,7 +4874,7 @@ checksum = "82fe9db325bcef1fbcde82e078a5cc4efdf787e96b3b9cf45b50b529f2083d67" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -4662,12 +5019,12 @@ dependencies = [ [[package]] name = "stability" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebd1b177894da2a2d9120208c3386066af06a488255caabc5de8ddca22dbc3ce" +checksum = "2ff9eaf853dec4c8802325d8b6d3dffa86cc707fd7a1a4cdbf416e13b061787a" dependencies = [ "quote", - "syn 1.0.109", + "syn 2.0.61", ] [[package]] @@ -4696,24 +5053,24 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "strum" -version = "0.25.0" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" dependencies = [ "strum_macros", ] [[package]] name = "strum_macros" -version = "0.25.3" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946" dependencies = [ "heck 0.4.1", "proc-macro2", "quote", "rustversion", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -4735,9 +5092,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.60" +version = "2.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3" +checksum = "c993ed8ccba56ae856363b1845da7266a7cb78e1d146c8a32d54b45a8b831fc9" dependencies = [ "proc-macro2", "quote", @@ -4758,7 +5115,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -4777,9 +5134,9 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.30.11" +version = "0.30.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87341a165d73787554941cd5ef55ad728011566fe714e987d1b976c15dbc3a83" +checksum = "732ffa00f53e6b2af46208fba5718d9662a421049204e156328b66791ffa15ae" dependencies = [ "cfg-if", "core-foundation-sys", @@ -4870,7 +5227,7 @@ dependencies = [ "safetensors 0.3.3", "thiserror", "torch-sys", - "zip", + "zip 0.6.6", ] [[package]] @@ -4896,7 +5253,7 @@ dependencies = [ [[package]] name = "text-classification" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "derive-new", @@ -4906,7 +5263,7 @@ dependencies = [ [[package]] name = "text-generation" -version = "0.14.0" +version = "0.15.0" dependencies = [ "burn", "derive-new", @@ -4934,22 +5291,22 @@ checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" [[package]] name = "thiserror" -version = "1.0.59" +version = "1.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0126ad08bff79f29fc3ae6a55cc72352056dfff61e3ff8bb7129476d44b23aa" +checksum = "579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.59" +version = "1.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1cd413b5d558b4c5bf3680e324a6fa5014e7b7c067a51e69dbdf47eb7148b66" +checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -5072,6 +5429,7 @@ dependencies = [ "bytes", "libc", "mio", + "num_cpus", "pin-project-lite", "socket2", "tokio-macros", @@ -5086,7 +5444,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -5122,7 +5480,7 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit", + "toml_edit 0.22.12", ] [[package]] @@ -5134,6 +5492,17 @@ dependencies = [ "serde", ] +[[package]] +name = "toml_edit" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +dependencies = [ + "indexmap 2.2.6", + "toml_datetime", + "winnow 0.5.40", +] + [[package]] name = "toml_edit" version = "0.22.12" @@ -5144,7 +5513,7 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.6.7", ] [[package]] @@ -5159,9 +5528,31 @@ dependencies = [ "serde", "serde_json", "ureq", - "zip", + "zip 0.6.6", ] +[[package]] +name = "tower" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" +dependencies = [ + "futures-core", + "futures-util", + "pin-project", + "pin-project-lite", + "tokio", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tower-layer" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" + [[package]] name = "tower-service" version = "0.3.2" @@ -5174,6 +5565,7 @@ version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ + "log", "pin-project-lite", "tracing-attributes", "tracing-core", @@ -5199,7 +5591,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -5243,6 +5635,12 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" +[[package]] +name = "typed-arena" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" + [[package]] name = "typenum" version = "1.17.0" @@ -5438,7 +5836,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", "wasm-bindgen-shared", ] @@ -5472,7 +5870,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -5546,13 +5944,14 @@ checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082" [[package]] name = "wgpu" -version = "0.19.4" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbd7311dbd2abcfebaabf1841a2824ed7c8be443a0f29166e5d3c6a53a762c01" +checksum = "32ff1bfee408e1028e2e3acbf6d32d98b08a5a059ccbf5f33305534453ba5d3e" dependencies = [ "arrayvec", "cfg-if", "cfg_aliases", + "document-features", "js-sys", "log", "naga", @@ -5571,15 +5970,16 @@ dependencies = [ [[package]] name = "wgpu-core" -version = "0.19.4" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28b94525fc99ba9e5c9a9e24764f2bc29bad0911a7446c12f446a8277369bf3a" +checksum = "ac6a86eaa5e763e59c73cf9e97d55fffd4dfda69fd8bda19589fcf851ddfef1f" dependencies = [ "arrayvec", "bit-vec", "bitflags 2.5.0", "cfg_aliases", "codespan-reporting", + "document-features", "indexmap 2.2.6", "log", "naga", @@ -5597,9 +5997,9 @@ dependencies = [ [[package]] name = "wgpu-hal" -version = "0.19.4" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc1a4924366df7ab41a5d8546d6534f1f33231aa5b3f72b9930e300f254e39c3" +checksum = "4d71c8ae05170583049b65ee562fd839fdc0b3e9ddb84f4e40c9d5f8ea0d4c8c" dependencies = [ "android_system_properties", "arrayvec", @@ -5621,7 +6021,7 @@ dependencies = [ "libc", "libloading 0.8.3", "log", - "metal", + "metal 0.28.0", "naga", "ndk-sys", "objc", @@ -5642,9 +6042,9 @@ dependencies = [ [[package]] name = "wgpu-types" -version = "0.19.2" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b671ff9fb03f78b46ff176494ee1ebe7d603393f42664be55b64dc8d53969805" +checksum = "1353d9a46bff7f955a680577f34c69122628cc2076e1d6f3a9be6ef00ae793ef" dependencies = [ "bitflags 2.5.0", "js-sys", @@ -5858,6 +6258,15 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" +[[package]] +name = "winnow" +version = "0.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] + [[package]] name = "winnow" version = "0.6.7" @@ -5877,6 +6286,16 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "winreg" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5" +dependencies = [ + "cfg-if", + "windows-sys 0.48.0", +] + [[package]] name = "wrapcenum-derive" version = "0.4.1" @@ -5886,7 +6305,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -5969,7 +6388,7 @@ checksum = "9e6936f0cce458098a201c245a11bef556c6a0181129c7034d10d76d1ec3a2b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", "synstructure", ] @@ -5990,7 +6409,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -6010,7 +6429,7 @@ checksum = "e6a647510471d372f2e6c2e6b7219e44d8c574d24fdc11c610a61455782f18c3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", "synstructure", ] @@ -6019,6 +6438,20 @@ name = "zeroize" version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] [[package]] name = "zip" @@ -6029,15 +6462,56 @@ dependencies = [ "aes", "byteorder", "bzip2", - "constant_time_eq", + "constant_time_eq 0.1.5", "crc32fast", "crossbeam-utils", "flate2", "hmac", - "pbkdf2", + "pbkdf2 0.11.0", "sha1", "time", - "zstd", + "zstd 0.11.2+zstd.1.5.2", +] + +[[package]] +name = "zip" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "006d078b7b6fc587bb25e022ad39e7086f44e5c4fef6076964ea601533241beb" +dependencies = [ + "aes", + "arbitrary", + "bzip2", + "constant_time_eq 0.3.0", + "crc32fast", + "crossbeam-utils", + "deflate64", + "displaydoc", + "flate2", + "hmac", + "indexmap 2.2.6", + "lzma-rs", + "num_enum", + "pbkdf2 0.12.2", + "rand", + "sha1", + "thiserror", + "time", + "zeroize", + "zopfli", + "zstd 0.13.1", +] + +[[package]] +name = "zopfli" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c1f48f3508a3a3f2faee01629564400bc12260f6214a056d06a3aaaa6ef0736" +dependencies = [ + "crc32fast", + "log", + "simd-adler32", + "typed-arena", ] [[package]] @@ -6046,7 +6520,16 @@ version = "0.11.2+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" dependencies = [ - "zstd-safe", + "zstd-safe 5.0.2+zstd.1.5.2", +] + +[[package]] +name = "zstd" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d789b1514203a1120ad2429eae43a7bd32b90976a7bb8a05f7ec02fa88cc23a" +dependencies = [ + "zstd-safe 7.1.0", ] [[package]] @@ -6059,6 +6542,15 @@ dependencies = [ "zstd-sys", ] +[[package]] +name = "zstd-safe" +version = "7.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cd99b45c6bc03a018c8b8a86025678c87e55526064e38f9df301989dce7ec0a" +dependencies = [ + "zstd-sys", +] + [[package]] name = "zstd-sys" version = "2.0.10+zstd.1.5.6" diff --git a/Cargo.toml b/Cargo.toml index dbc26b783..fd65a9f9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,61 +21,61 @@ exclude = [ [workspace.package] edition = "2021" -version = "0.14.0" +version = "0.15.0" readme = "README.md" license = "MIT OR Apache-2.0" [workspace.dependencies] async-trait = "0.1.80" -bytemuck = "1.15" +bytemuck = "1.15.0" # candle-core = { version = "0.4.1" } -candle-core = { git = "https://github.com/huggingface/candle.git", rev = "2817643" } +candle-core = { git = "https://github.com/huggingface/candle.git", rev = "82b641f" } clap = { version = "4.5.4", features = ["derive"] } colored = "2.1.0" console_error_panic_hook = "0.1.7" csv = "1.3.0" dashmap = "5.5.3" dirs = "5.0.1" -fake = "2.9.1" -flate2 = "1.0.29" +fake = "2.9.2" +flate2 = "1.0.30" float-cmp = "0.9.0" -getrandom = { version = "0.2.14", default-features = false } -gix-tempfile = { version = "11.0.0", features = ["signals"] } +getrandom = { version = "0.2.15", default-features = false } +gix-tempfile = { version = "13.1.1", features = ["signals"] } globwalk = "0.9.1" hashbrown = "0.14.5" indicatif = "0.17.8" js-sys = "0.3.69" libm = "0.2.8" log = { default-features = false, version = "0.4.21" } -pretty_assertions = "1.4" -proc-macro2 = "1.0.79" -protobuf = "3.3" -protobuf-codegen = "3.3" -quote = "1.0.33" +pretty_assertions = "1.4.0" +proc-macro2 = "1.0.82" +protobuf = "3.4.0" +protobuf-codegen = "3.4.0" +quote = "1.0.36" percent-encoding = "2.3.1" r2d2 = "0.8.10" -r2d2_sqlite = { version = "0.23.0" } +r2d2_sqlite = { version = "0.24.0" } rayon = "1.10.0" regex = "1.10.4" -reqwest = "0.11.27" +reqwest = "0.12.4" rmp-serde = "1.3.0" -rstest = "0.18.2" -rusqlite = { version = "0.30.0" } +rstest = "0.19.0" +rusqlite = { version = "0.31.0" } rust-format = { version = "0.3.4" } sanitize-filename = "0.5.0" -serde_rusqlite = "0.34.0" +serde_rusqlite = "0.35.0" serde-wasm-bindgen = "0.6.5" spin = { version = "0.9.8", features = ["mutex", "spin_mutex"] } -strum = "0.25.0" -strum_macros = "0.25.3" -syn = { version = "2.0", features = ["full", "extra-traits"] } +strum = "0.26.2" +strum_macros = "0.26.2" +syn = { version = "2.0.61", features = ["full", "extra-traits"] } tempfile = "3.10.1" -thiserror = "1.0.58" +thiserror = "1.0.60" tokio = { version = "1.37.0", features = ["rt", "macros"] } tracing-appender = "0.2.3" tracing-core = "0.1.32" tracing-subscriber = "0.3.18" -wasm-bindgen = "0.2.88" +wasm-bindgen = "0.2.92" wasm-bindgen-futures = "0.4.42" wasm-logger = "0.2.0" wasm-timer = "0.2.5" @@ -84,20 +84,20 @@ serial_test = "3.1.1" web-time = "1.1.0" hound = "3.5.1" image = "0.25.1" -zip = "0.6.6" +zip = "1.2.1" # Terminal UI -ratatui = "0.25" -crossterm = "0.27" +ratatui = "0.26.2" +crossterm = "0.27.0" # WGPU stuff -futures-intrusive = "0.5" +futures-intrusive = "0.5.0" text_placeholder = "0.5.0" -pollster = "0.3" -wgpu = "0.19.4" +pollster = "0.3.0" +wgpu = "0.20.0" # Benchmarks and Burnbench -arboard = "3.3.2" +arboard = "3.4.0" github-device-flow = "0.2.0" os_info = "3.8.2" wsl = "0.1.0" @@ -120,7 +120,7 @@ half = { version = "2.4.1", features = [ ndarray = { version = "0.15.6", default-features = false } matrixmultiply = { version = "0.3.8", default-features = false } openblas-src = "0.10.9" -blas-src = { version = "0.9.0", default-features = false } +blas-src = { version = "0.10.0", default-features = false } num-traits = { version = "0.2.19", default-features = false, features = [ "libm", ] } # libm is for no_std @@ -128,17 +128,17 @@ rand = { version = "0.8.5", default-features = false, features = [ "std_rng", ] } # std_rng is for no_std rand_distr = { version = "0.4.3", default-features = false } -serde = { version = "1.0.200", default-features = false, features = [ +serde = { version = "1.0.201", default-features = false, features = [ "derive", "alloc", ] } # alloc is for no_std, derive is needed -serde_json = { version = "1.0.115", default-features = false } +serde_json = { version = "1.0.117", default-features = false } uuid = { version = "1.8.0", default-features = false } libc = "0.2.154" tch = "0.15.0" -nvml-wrapper = "0.9.0" -sysinfo = "0.30.10" +nvml-wrapper = "0.10.0" +sysinfo = "0.30.12" systemstat = "0.2.3" diff --git a/backend-comparison/Cargo.toml b/backend-comparison/Cargo.toml index 269592c34..0f8cb8cb5 100644 --- a/backend-comparison/Cargo.toml +++ b/backend-comparison/Cargo.toml @@ -28,8 +28,8 @@ wgpu-fusion = ["wgpu", "burn/fusion"] [dependencies] arboard = { workspace = true } burn = { path = "../crates/burn", default-features = false } -burn-common = { path = "../crates/burn-common", version = "0.14.0" } -burn-wgpu = { path = "../crates/burn-wgpu", default-features = false, version = "0.14.0" } +burn-common = { path = "../crates/burn-common", version = "0.15.0" } +burn-wgpu = { path = "../crates/burn-wgpu", default-features = false, version = "0.15.0" } clap = { workspace = true } colored = { workspace = true } derive-new = { workspace = true } diff --git a/burn-book/src/basic-workflow/README.md b/burn-book/src/basic-workflow/README.md index 4350df82f..78cb46d40 100644 --- a/burn-book/src/basic-workflow/README.md +++ b/burn-book/src/basic-workflow/README.md @@ -14,7 +14,7 @@ automatically add the missing imports as you add the code snippets to your code. Be sure to checkout the git branch corresponding to the version of Burn you are using to follow this guide. -The current version of Burn is `0.14` and the corresponding branch to checkout is `main`. +The current version of Burn is `0.15` and the corresponding branch to checkout is `main`. The code for this demo can be executed from Burn's base directory using the command: diff --git a/burn-book/src/basic-workflow/model.md b/burn-book/src/basic-workflow/model.md index 9868bc814..c457937ab 100644 --- a/burn-book/src/basic-workflow/model.md +++ b/burn-book/src/basic-workflow/model.md @@ -20,7 +20,7 @@ version = "0.1.0" edition = "2021" [dependencies] -burn = { version = "0.14.0", features = ["train", "wgpu", "vision"] } +burn = { version = "0.15.0", features = ["train", "wgpu", "vision"] } ``` Our goal will be to create a basic convolutional neural network used for image classification. We diff --git a/crates/burn-autodiff/Cargo.toml b/crates/burn-autodiff/Cargo.toml index cacea7a3c..17b87f9d8 100644 --- a/crates/burn-autodiff/Cargo.toml +++ b/crates/burn-autodiff/Cargo.toml @@ -17,15 +17,15 @@ std = [] async = [] # Require std [dependencies] -burn-common = { path = "../burn-common", version = "0.14.0" } -burn-tensor = { path = "../burn-tensor", version = "0.14.0", default-features = false } -burn-tensor-testgen = { path = "../burn-tensor-testgen", version = "0.14.0", optional = true } +burn-common = { path = "../burn-common", version = "0.15.0" } +burn-tensor = { path = "../burn-tensor", version = "0.15.0", default-features = false } +burn-tensor-testgen = { path = "../burn-tensor-testgen", version = "0.15.0", optional = true } derive-new = { workspace = true } spin = { workspace = true } log = { workspace = true } [dev-dependencies] -burn-tensor = { path = "../burn-tensor", version = "0.14.0", default-features = false, features = [ +burn-tensor = { path = "../burn-tensor", version = "0.15.0", default-features = false, features = [ "export_tests", ] } diff --git a/crates/burn-candle/Cargo.toml b/crates/burn-candle/Cargo.toml index 770e8530a..0d110a096 100644 --- a/crates/burn-candle/Cargo.toml +++ b/crates/burn-candle/Cargo.toml @@ -21,17 +21,17 @@ accelerate = ["candle-core/accelerate"] [dependencies] derive-new = { workspace = true } -burn-tensor = { path = "../burn-tensor", version = "0.14.0", default-features = false } +burn-tensor = { path = "../burn-tensor", version = "0.15.0", default-features = false } half = { workspace = true } candle-core = { workspace = true } [dev-dependencies] -burn-autodiff = { path = "../burn-autodiff", version = "0.14.0", default-features = false, features = [ +burn-autodiff = { path = "../burn-autodiff", version = "0.15.0", default-features = false, features = [ "export_tests", ] } -burn-tch = { path = "../burn-tch", version = "0.14.0", default-features = false, features = [ +burn-tch = { path = "../burn-tch", version = "0.15.0", default-features = false, features = [ ] } -burn-tensor = { path = "../burn-tensor", version = "0.14.0", default-features = false, features = [ +burn-tensor = { path = "../burn-tensor", version = "0.15.0", default-features = false, features = [ "export_tests", ] } diff --git a/crates/burn-compute/Cargo.toml b/crates/burn-compute/Cargo.toml index e9fd5c37d..d1ac8e7f1 100644 --- a/crates/burn-compute/Cargo.toml +++ b/crates/burn-compute/Cargo.toml @@ -34,7 +34,7 @@ autotune-persistent-cache = [ ] # Assume std [dependencies] -burn-common = { path = "../burn-common", version = "0.14.0", default-features = false } +burn-common = { path = "../burn-common", version = "0.15.0", default-features = false } derive-new = { workspace = true } spin = { workspace = true } log = { workspace = true } diff --git a/crates/burn-core/Cargo.toml b/crates/burn-core/Cargo.toml index 9467cb645..9f4f8dad8 100644 --- a/crates/burn-core/Cargo.toml +++ b/crates/burn-core/Cargo.toml @@ -99,17 +99,17 @@ test-wgpu = ["wgpu"] # To use wgpu during testing, default uses ndarray. # ** Please make sure all dependencies support no_std when std is disabled ** -burn-common = { path = "../burn-common", version = "0.14.0", default-features = false } -burn-dataset = { path = "../burn-dataset", version = "0.14.0", optional = true, default-features = false } -burn-derive = { path = "../burn-derive", version = "0.14.0" } -burn-tensor = { path = "../burn-tensor", version = "0.14.0", default-features = false } +burn-common = { path = "../burn-common", version = "0.15.0", default-features = false } +burn-dataset = { path = "../burn-dataset", version = "0.15.0", optional = true, default-features = false } +burn-derive = { path = "../burn-derive", version = "0.15.0" } +burn-tensor = { path = "../burn-tensor", version = "0.15.0", default-features = false } # Backends -burn-ndarray = { path = "../burn-ndarray", version = "0.14.0", optional = true, default-features = false } -burn-wgpu = { path = "../burn-wgpu", version = "0.14.0", optional = true, default-features = false } -burn-autodiff = { path = "../burn-autodiff", version = "0.14.0", optional = true } -burn-tch = { path = "../burn-tch", version = "0.14.0", optional = true } -burn-candle = { path = "../burn-candle", version = "0.14.0", optional = true } +burn-ndarray = { path = "../burn-ndarray", version = "0.15.0", optional = true, default-features = false } +burn-wgpu = { path = "../burn-wgpu", version = "0.15.0", optional = true, default-features = false } +burn-autodiff = { path = "../burn-autodiff", version = "0.15.0", optional = true } +burn-tch = { path = "../burn-tch", version = "0.15.0", optional = true } +burn-candle = { path = "../burn-candle", version = "0.15.0", optional = true } derive-new = { workspace = true } log = { workspace = true, optional = true } @@ -135,12 +135,12 @@ num-traits = { workspace = true } [dev-dependencies] tempfile = { workspace = true } -burn-dataset = { path = "../burn-dataset", version = "0.14.0", features = [ +burn-dataset = { path = "../burn-dataset", version = "0.15.0", features = [ "fake", ] } -burn-ndarray = { path = "../burn-ndarray", version = "0.14.0", default-features = false } -burn-autodiff = { path = "../burn-autodiff", version = "0.14.0" } +burn-ndarray = { path = "../burn-ndarray", version = "0.15.0", default-features = false } +burn-autodiff = { path = "../burn-autodiff", version = "0.15.0" } [package.metadata.docs.rs] features = ["doc"] diff --git a/crates/burn-cuda/Cargo.toml b/crates/burn-cuda/Cargo.toml index bd0ac1e57..80b7ef1ad 100644 --- a/crates/burn-cuda/Cargo.toml +++ b/crates/burn-cuda/Cargo.toml @@ -18,11 +18,11 @@ doc = ["burn-jit/doc"] std = ["burn-jit/std"] [dependencies] -burn-jit = { path = "../burn-jit", version = "0.14.0", default-features = false } -burn-compute = { path = "../burn-compute", version = "0.14.0" } -burn-tensor = { path = "../burn-tensor", version = "0.14.0" } -burn-common = { path = "../burn-common", version = "0.14.0" } -burn-fusion = { path = "../burn-fusion", version = "0.14.0", optional = true } +burn-jit = { path = "../burn-jit", version = "0.15.0", default-features = false } +burn-compute = { path = "../burn-compute", version = "0.15.0" } +burn-tensor = { path = "../burn-tensor", version = "0.15.0" } +burn-common = { path = "../burn-common", version = "0.15.0" } +burn-fusion = { path = "../burn-fusion", version = "0.15.0", optional = true } half = { workspace = true } bytemuck = { workspace = true } @@ -32,7 +32,7 @@ log = { workspace = true } derive-new = { workspace = true } [dev-dependencies] -burn-jit = { path = "../burn-jit", version = "0.14.0", default-features = false, features = [ +burn-jit = { path = "../burn-jit", version = "0.15.0", default-features = false, features = [ "export_tests", ] } diff --git a/crates/burn-dataset/Cargo.toml b/crates/burn-dataset/Cargo.toml index 42057d688..0f69f77da 100644 --- a/crates/burn-dataset/Cargo.toml +++ b/crates/burn-dataset/Cargo.toml @@ -33,7 +33,7 @@ __sqlite-shared = [ ] [dependencies] -burn-common = { path = "../burn-common", version = "0.14.0", optional = true, features = [ +burn-common = { path = "../burn-common", version = "0.15.0", optional = true, features = [ "network", ] } csv = { workspace = true } diff --git a/crates/burn-fusion/Cargo.toml b/crates/burn-fusion/Cargo.toml index 4dfaca2c5..4ce3f2981 100644 --- a/crates/burn-fusion/Cargo.toml +++ b/crates/burn-fusion/Cargo.toml @@ -16,8 +16,8 @@ std = ["serde/std"] doc = ["default"] [dependencies] -burn-tensor = { path = "../burn-tensor", version = "0.14.0" } -burn-common = { path = "../burn-common", version = "0.14.0" } +burn-tensor = { path = "../burn-tensor", version = "0.15.0" } +burn-common = { path = "../burn-common", version = "0.15.0" } hashbrown = { workspace = true } derive-new = {workspace = true } spin = { workspace = true } diff --git a/crates/burn-import/Cargo.toml b/crates/burn-import/Cargo.toml index b12296eaa..4e9cd5ec9 100644 --- a/crates/burn-import/Cargo.toml +++ b/crates/burn-import/Cargo.toml @@ -19,7 +19,7 @@ onnx = [] pytorch = ["burn/record-item-custom-serde", "thiserror", "zip"] [dependencies] -burn = { path = "../burn", version = "0.14.0", features = ["ndarray"] } +burn = { path = "../burn", version = "0.15.0", features = ["ndarray"] } bytemuck = { workspace = true } candle-core = { workspace = true } diff --git a/crates/burn-jit/Cargo.toml b/crates/burn-jit/Cargo.toml index 82a523c70..e3f07f99c 100644 --- a/crates/burn-jit/Cargo.toml +++ b/crates/burn-jit/Cargo.toml @@ -27,9 +27,9 @@ export_tests = [ ] [dependencies] -burn-common = { path = "../burn-common", version = "0.14.0" } -burn-tensor = { path = "../burn-tensor", version = "0.14.0" } -burn-fusion = { path = "../burn-fusion", version = "0.14.0", optional = true } +burn-common = { path = "../burn-common", version = "0.15.0" } +burn-tensor = { path = "../burn-tensor", version = "0.15.0" } +burn-fusion = { path = "../burn-fusion", version = "0.15.0", optional = true } bytemuck = { workspace = true } derive-new = { workspace = true } @@ -44,16 +44,16 @@ serde = { workspace = true } text_placeholder = { workspace = true, features = ["struct_context"] } hashbrown = { workspace = true } -burn-compute = { path = "../burn-compute", version = "0.14.0", default-features = false, features = [ +burn-compute = { path = "../burn-compute", version = "0.15.0", default-features = false, features = [ "channel-mutex", "std", ] } -burn-tensor-testgen = { path = "../burn-tensor-testgen", version = "0.14.0", optional = true } +burn-tensor-testgen = { path = "../burn-tensor-testgen", version = "0.15.0", optional = true } # When exporting tests serial_test = { workspace = true, optional = true } -burn-autodiff = { path = "../burn-autodiff", version = "0.14.0", default-features = false, optional = true } -burn-ndarray = { path = "../burn-ndarray", version = "0.14.0", optional = true } +burn-autodiff = { path = "../burn-autodiff", version = "0.15.0", default-features = false, optional = true } +burn-ndarray = { path = "../burn-ndarray", version = "0.15.0", optional = true } [package.metadata.docs.rs] features = ["doc"] diff --git a/crates/burn-ndarray/Cargo.toml b/crates/burn-ndarray/Cargo.toml index bfd689f3b..321dd5339 100644 --- a/crates/burn-ndarray/Cargo.toml +++ b/crates/burn-ndarray/Cargo.toml @@ -42,9 +42,9 @@ blas-openblas-system = [ # ** Please make sure all dependencies support no_std when std is disabled ** -burn-autodiff = { path = "../burn-autodiff", version = "0.14.0", optional = true } -burn-common = { path = "../burn-common", version = "0.14.0", default-features = false } -burn-tensor = { path = "../burn-tensor", version = "0.14.0", default-features = false } +burn-autodiff = { path = "../burn-autodiff", version = "0.15.0", optional = true } +burn-common = { path = "../burn-common", version = "0.15.0", default-features = false } +burn-tensor = { path = "../burn-tensor", version = "0.15.0", default-features = false } matrixmultiply = { workspace = true, default-features = false } rayon = { workspace = true, optional = true } @@ -58,10 +58,10 @@ rand = { workspace = true } spin = { workspace = true } # using in place of use std::sync::Mutex; [dev-dependencies] -burn-autodiff = { path = "../burn-autodiff", version = "0.14.0", default-features = false, features = [ +burn-autodiff = { path = "../burn-autodiff", version = "0.15.0", default-features = false, features = [ "export_tests", ] } -burn-tensor = { path = "../burn-tensor", version = "0.14.0", default-features = false, features = [ +burn-tensor = { path = "../burn-tensor", version = "0.15.0", default-features = false, features = [ "export_tests", ] } diff --git a/crates/burn-no-std-tests/Cargo.toml b/crates/burn-no-std-tests/Cargo.toml index 8946353da..4fe2cfe75 100644 --- a/crates/burn-no-std-tests/Cargo.toml +++ b/crates/burn-no-std-tests/Cargo.toml @@ -14,7 +14,7 @@ version.workspace = true # ** Please make sure all dependencies support no_std ** -burn = { path = "../burn", version = "0.14.0", default-features = false } -burn-ndarray = { path = "../burn-ndarray", version = "0.14.0", default-features = false } +burn = { path = "../burn", version = "0.15.0", default-features = false } +burn-ndarray = { path = "../burn-ndarray", version = "0.15.0", default-features = false } serde = { workspace = true } diff --git a/crates/burn-tch/Cargo.toml b/crates/burn-tch/Cargo.toml index ef30f2ef7..b96e16546 100644 --- a/crates/burn-tch/Cargo.toml +++ b/crates/burn-tch/Cargo.toml @@ -15,7 +15,7 @@ default = [] doc = ["tch/doc-only"] [dependencies] -burn-tensor = { path = "../burn-tensor", version = "0.14.0" } +burn-tensor = { path = "../burn-tensor", version = "0.15.0" } half = { workspace = true, features = ["std"] } libc = { workspace = true } @@ -23,10 +23,10 @@ rand = { workspace = true, features = ["std"] } tch = { workspace = true, features = ["download-libtorch"] } [dev-dependencies] -burn-autodiff = { path = "../burn-autodiff", version = "0.14.0", default-features = false, features = [ +burn-autodiff = { path = "../burn-autodiff", version = "0.15.0", default-features = false, features = [ "export_tests", ] } -burn-tensor = { path = "../burn-tensor", version = "0.14.0", default-features = false, features = [ +burn-tensor = { path = "../burn-tensor", version = "0.15.0", default-features = false, features = [ "export_tests", ] } diff --git a/crates/burn-tensor/Cargo.toml b/crates/burn-tensor/Cargo.toml index d114e9ad7..80b04d193 100644 --- a/crates/burn-tensor/Cargo.toml +++ b/crates/burn-tensor/Cargo.toml @@ -20,8 +20,8 @@ repr = [] wasm-sync = [] [dependencies] -burn-common = { path = "../burn-common", version = "0.14.0", default-features = false } -burn-tensor-testgen = { path = "../burn-tensor-testgen", version = "0.14.0", optional = true } +burn-common = { path = "../burn-common", version = "0.15.0", default-features = false } +burn-tensor-testgen = { path = "../burn-tensor-testgen", version = "0.15.0", optional = true } derive-new = { workspace = true } half = { workspace = true } diff --git a/crates/burn-train/Cargo.toml b/crates/burn-train/Cargo.toml index 8b35a8ed8..481cb9688 100644 --- a/crates/burn-train/Cargo.toml +++ b/crates/burn-train/Cargo.toml @@ -17,7 +17,7 @@ metrics = ["nvml-wrapper", "sysinfo", "systemstat"] tui = ["ratatui", "crossterm"] [dependencies] -burn-core = { path = "../burn-core", version = "0.14.0", features = ["dataset"] } +burn-core = { path = "../burn-core", version = "0.15.0", features = ["dataset"] } log = { workspace = true } tracing-subscriber = { workspace = true } @@ -38,7 +38,7 @@ derive-new = { workspace = true } serde = { workspace = true, features = ["std", "derive"] } [dev-dependencies] -burn-ndarray = { path = "../burn-ndarray", version = "0.14.0" } +burn-ndarray = { path = "../burn-ndarray", version = "0.15.0" } [package.metadata.docs.rs] features = ["doc"] diff --git a/crates/burn-train/src/renderer/tui/metric_numeric.rs b/crates/burn-train/src/renderer/tui/metric_numeric.rs index eb44a29d6..c5acd41d4 100644 --- a/crates/burn-train/src/renderer/tui/metric_numeric.rs +++ b/crates/burn-train/src/renderer/tui/metric_numeric.rs @@ -219,12 +219,7 @@ impl<'a> NumericMetricView<'a> { ) .split(size); - let titles = titles - .iter() - .map(|i| Line::from(vec![i.clone().yellow()])) - .collect(); - - let tabs = Tabs::new(titles) + let tabs = Tabs::new(titles.iter().map(|i| Line::from(vec![i.clone().yellow()]))) .select(selected) .style(Style::default()) .highlight_style( diff --git a/crates/burn-wgpu/Cargo.toml b/crates/burn-wgpu/Cargo.toml index 740eed477..dbb7a4f1f 100644 --- a/crates/burn-wgpu/Cargo.toml +++ b/crates/burn-wgpu/Cargo.toml @@ -19,11 +19,11 @@ doc = ["burn-jit/doc"] std = ["burn-jit/std"] [dependencies] -burn-jit = { path = "../burn-jit", version = "0.14.0", default-features = false } -burn-compute = { path = "../burn-compute", version = "0.14.0" } -burn-tensor = { path = "../burn-tensor", version = "0.14.0" } -burn-common = { path = "../burn-common", version = "0.14.0" } -burn-fusion = { path = "../burn-fusion", version = "0.14.0", optional = true } +burn-jit = { path = "../burn-jit", version = "0.15.0", default-features = false } +burn-compute = { path = "../burn-compute", version = "0.15.0" } +burn-tensor = { path = "../burn-tensor", version = "0.15.0" } +burn-common = { path = "../burn-common", version = "0.15.0" } +burn-fusion = { path = "../burn-fusion", version = "0.15.0", optional = true } bytemuck = { workspace = true } wgpu = { workspace = true, features = ["fragile-send-sync-non-atomic-wasm"] } @@ -35,6 +35,6 @@ derive-new = { workspace = true } hashbrown = { workspace = true } [dev-dependencies] -burn-jit = { path = "../burn-jit", version = "0.14.0", default-features = false, features = [ +burn-jit = { path = "../burn-jit", version = "0.15.0", default-features = false, features = [ "export_tests", ] } diff --git a/crates/burn-wgpu/src/compute/server.rs b/crates/burn-wgpu/src/compute/server.rs index 4d95d87ad..04aa39e73 100644 --- a/crates/burn-wgpu/src/compute/server.rs +++ b/crates/burn-wgpu/src/compute/server.rs @@ -109,6 +109,7 @@ where layout: None, module: &module, entry_point: "main", + compilation_options: Default::default(), }), ) } diff --git a/crates/burn/Cargo.toml b/crates/burn/Cargo.toml index ea62a1058..770c368f5 100644 --- a/crates/burn/Cargo.toml +++ b/crates/burn/Cargo.toml @@ -68,8 +68,8 @@ record-item-custom-serde = ["burn-core/record-item-custom-serde"] # ** Please make sure all dependencies support no_std when std is disabled ** -burn-core = { path = "../burn-core", version = "0.14.0", default-features = false } -burn-train = { path = "../burn-train", version = "0.14.0", optional = true, default-features = false } +burn-core = { path = "../burn-core", version = "0.15.0", default-features = false } +burn-train = { path = "../burn-train", version = "0.15.0", optional = true, default-features = false } [package.metadata.docs.rs] features = ["doc"] diff --git a/examples/image-classification-web/Cargo.toml b/examples/image-classification-web/Cargo.toml index 08344cf79..64563eb63 100644 --- a/examples/image-classification-web/Cargo.toml +++ b/examples/image-classification-web/Cargo.toml @@ -14,11 +14,11 @@ default = [] half_precision = [] [dependencies] -burn = { path = "../../crates/burn", version = "0.14.0", default-features = false, features = [ +burn = { path = "../../crates/burn", version = "0.15.0", default-features = false, features = [ "ndarray", ] } -burn-wgpu = { path = "../../crates/burn-wgpu", version = "0.14.0", default-features = false } -burn-candle = { path = "../../crates/burn-candle", version = "0.14.0", default-features = false } +burn-wgpu = { path = "../../crates/burn-wgpu", version = "0.15.0", default-features = false } +burn-candle = { path = "../../crates/burn-candle", version = "0.15.0", default-features = false } js-sys = { workspace = true } log = { workspace = true } diff --git a/examples/pytorch-import/Cargo.toml b/examples/pytorch-import/Cargo.toml index 957ee96bb..72b662b4f 100644 --- a/examples/pytorch-import/Cargo.toml +++ b/examples/pytorch-import/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "MIT OR Apache-2.0" name = "pytorch-import" publish = false -version = "0.14.0" +version = "0.15.0" [dependencies] burn = { path = "../../crates/burn", features = [