Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/test-gpu-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ jobs:
timeout 12m cargo nextest run --workspace --profile ci \
--exclude monarch_messages \
--exclude monarch_tensor_worker \
--exclude torch-sys \
--exclude torch-sys-cuda
--exclude torch-sys-cuda \
--exclude monarch_rdma \
--exclude torch-sys
# Copy the test results to the expected location
# TODO: error in pytest-results-action, TypeError: results.testsuites.testsuite.testcase is not iterable
# Don't try to parse these results for now.
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
resolver = "2"
members = [
"build_utils",
"cuda-sys",
"erased_lifetime",
"hyper",
"hyperactor",
Expand Down
16 changes: 0 additions & 16 deletions cuda-sys/Cargo.toml

This file was deleted.

101 changes: 0 additions & 101 deletions cuda-sys/build.rs

This file was deleted.

36 changes: 0 additions & 36 deletions cuda-sys/src/lib.rs

This file was deleted.

11 changes: 0 additions & 11 deletions cuda-sys/src/wrapper.h

This file was deleted.

4 changes: 0 additions & 4 deletions monarch_rdma/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ edition = "2024"
[dependencies]
anyhow = "1.0.98"
async-trait = "0.1.86"
cuda-sys = { path = "../cuda-sys" }
futures = { version = "0.3.31", features = ["async-await", "compat"] }
hyperactor = { version = "0.0.0", path = "../hyperactor" }
rand = { version = "0.8", features = ["small_rng"] }
Expand All @@ -28,9 +27,6 @@ ndslice = { version = "0.0.0", path = "../ndslice" }
timed_test = { version = "0.0.0", path = "../timed_test" }
tokio = { version = "1.47.1", features = ["full", "test-util", "tracing"] }

[build-dependencies]
build_utils = { path = "../build_utils" }

[features]
cuda = []
default = ["cuda"]
149 changes: 0 additions & 149 deletions monarch_rdma/build.rs

This file was deleted.

4 changes: 2 additions & 2 deletions monarch_rdma/examples/cuda_ping_pong/src/cuda_ping_pong.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ impl Handler<InitializeBuffer> for CudaRdmaActor {
self.device_id as i32
));
cu_check!(rdmaxcel_sys::rdmaxcel_cuCtxSetCurrent(context));
cuda_sys::cudaDeviceSynchronize();
rdmaxcel_sys::rdmaxcel_cuCtxSynchronize();
cu_check!(rdmaxcel_sys::rdmaxcel_cuMemcpyHtoD_v2(
self.cu_ptr as u64,
self.cpu_buffer.as_ptr() as *const std::ffi::c_void,
Expand Down Expand Up @@ -554,7 +554,7 @@ impl Handler<VerifyBuffer> for CudaRdmaActor {
self.device_id as i32
));
cu_check!(rdmaxcel_sys::rdmaxcel_cuCtxSetCurrent(context));
cuda_sys::cudaDeviceSynchronize();
rdmaxcel_sys::rdmaxcel_cuCtxSynchronize();
cu_check!(rdmaxcel_sys::rdmaxcel_cuMemcpyDtoH_v2(
self.cpu_buffer.as_mut_ptr() as *mut std::ffi::c_void,
self.cu_ptr as rdmaxcel_sys::CUdeviceptr,
Expand Down
Loading