"csrc/vscode:/vscode.git/clone" did not exist on "58c0a928c99c80ad3c8f16266a2344c98cf05c24"
Unverified Commit 250ed733 authored by jthomson04's avatar jthomson04 Committed by GitHub
Browse files

fix: Fix NIXL 0.3.1 build (#1561)

parent fbf1ffd7
...@@ -4085,9 +4085,8 @@ dependencies = [ ...@@ -4085,9 +4085,8 @@ dependencies = [
[[package]] [[package]]
name = "nixl-sys" name = "nixl-sys"
version = "0.3.0" version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/ai-dynamo/nixl?rev=a7c654d46a14cd5ce635cc8c02433d71df93dedf#a7c654d46a14cd5ce635cc8c02433d71df93dedf"
checksum = "c5ed1b2b73a39516cb082cc2e0c8cf5fa9aadf7364b3b7851f43fbcda70566ee"
dependencies = [ dependencies = [
"bindgen 0.71.1", "bindgen 0.71.1",
"cc", "cc",
......
...@@ -2811,9 +2811,8 @@ dependencies = [ ...@@ -2811,9 +2811,8 @@ dependencies = [
[[package]] [[package]]
name = "nixl-sys" name = "nixl-sys"
version = "0.3.0" version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/ai-dynamo/nixl?rev=a7c654d46a14cd5ce635cc8c02433d71df93dedf#a7c654d46a14cd5ce635cc8c02433d71df93dedf"
checksum = "c5ed1b2b73a39516cb082cc2e0c8cf5fa9aadf7364b3b7851f43fbcda70566ee"
dependencies = [ dependencies = [
"bindgen", "bindgen",
"cc", "cc",
......
...@@ -81,7 +81,7 @@ regex = "1" ...@@ -81,7 +81,7 @@ regex = "1"
rayon = "1" rayon = "1"
# block_manager # block_manager
nixl-sys = { version = "0.3.0-rc.2", optional = true } nixl-sys = {git="https://github.com/ai-dynamo/nixl", rev = "a7c654d46a14cd5ce635cc8c02433d71df93dedf", optional = true }
cudarc = { version = "0.16.2", features = ["cuda-12020"], optional = true } cudarc = { version = "0.16.2", features = ["cuda-12020"], optional = true }
ndarray = { version = "0.16", optional = true } ndarray = { version = "0.16", optional = true }
nix = { version = "0.26", optional = true } nix = { version = "0.26", optional = true }
......
...@@ -117,8 +117,8 @@ where ...@@ -117,8 +117,8 @@ where
.storage_type() .storage_type()
.nixl_mem_type(); .nixl_mem_type();
let mut src_dl = XferDescList::new(src_mem_type)?; let mut src_dl = XferDescList::new(src_mem_type, true)?;
let mut dst_dl = XferDescList::new(dst_mem_type)?; let mut dst_dl = XferDescList::new(dst_mem_type, true)?;
for (src, dst) in src.iter().zip(dst.iter_mut()) { for (src, dst) in src.iter().zip(dst.iter_mut()) {
append_xfer_request(src, dst, &mut src_dl, &mut dst_dl)?; append_xfer_request(src, dst, &mut src_dl, &mut dst_dl)?;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment