From d5a8e3a5b7e16fce0d86bc62c5cddd00cdf00d78 Mon Sep 17 00:00:00 2001 From: Thiago Machado Date: Tue, 5 Dec 2023 07:58:03 -0500 Subject: [PATCH] patch crossbeam Note that crossbeam is an indirect dependency and they are still to release a version that [passes](https://github.com/crossbeam-rs/crossbeam/pull/996) on this miri check. So to temporarily get this out of the way, you can patch crossbeam on the workspace `dfdx/Cargo.toml`. --- Cargo.toml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 68cc915c..97427663 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,4 +8,13 @@ safetensors = { version = "0.4.0", default-features = false } memmap2 = { version = "0.9.0", default-features = false } rand = { version = "0.8.5", default-features = false, features = ["std_rng"] } rand_distr = { version = "0.4.3", default-features = false } -libm = "0.2.8" \ No newline at end of file +libm = "0.2.8" + +[patch.crates-io] +crossbeam = { git = "https://github.com/crossbeam-rs/crossbeam", rev = "a57e655eef415c21babddc4ba0217b6ca7acd0a2" } +crossbeam-epoch = { git = "https://github.com/crossbeam-rs/crossbeam", rev = "a57e655eef415c21babddc4ba0217b6ca7acd0a2" } +crossbeam-channel = { git = "https://github.com/crossbeam-rs/crossbeam", rev = "a57e655eef415c21babddc4ba0217b6ca7acd0a2" } +crossbeam-deque = { git = "https://github.com/crossbeam-rs/crossbeam", rev = "a57e655eef415c21babddc4ba0217b6ca7acd0a2" } +crossbeam-queue = { git = "https://github.com/crossbeam-rs/crossbeam", rev = "a57e655eef415c21babddc4ba0217b6ca7acd0a2" } +crossbeam-skiplist = { git = "https://github.com/crossbeam-rs/crossbeam", rev = "a57e655eef415c21babddc4ba0217b6ca7acd0a2" } +crossbeam-utils = { git = "https://github.com/crossbeam-rs/crossbeam", rev = "a57e655eef415c21babddc4ba0217b6ca7acd0a2" }