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
8 changes: 7 additions & 1 deletion monarch_extension/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ use hyperactor_multiprocess::system_actor::SystemMessageClient;
use hyperactor_multiprocess::system_actor::SystemSnapshotFilter;
use hyperactor_multiprocess::system_actor::WorldSnapshot;
use hyperactor_multiprocess::system_actor::WorldSnapshotProcInfo;
use monarch_hyperactor::ndslice::PySlice;
use monarch_hyperactor::proc::ControllerError;
use monarch_hyperactor::proc::InstanceWrapper;
use monarch_hyperactor::proc::PyActorId;
Expand Down Expand Up @@ -51,9 +52,14 @@ use pyo3::types::PyNone;
use tokio::sync::Mutex;
use torch_sys::RValue;

use crate::controller::PyRanks;
use crate::convert::convert;

#[derive(Clone, FromPyObject)]
pub enum PyRanks {
Slice(PySlice),
SliceList(Vec<PySlice>),
}

#[pyclass(frozen, module = "monarch._rust_bindings.monarch_extension.client")]
pub struct WorkerResponse {
seq: Seq,
Expand Down
138 changes: 0 additions & 138 deletions monarch_extension/src/controller.rs

This file was deleted.

6 changes: 0 additions & 6 deletions monarch_extension/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
mod client;
pub mod code_sync;
#[cfg(feature = "tensor_engine")]
mod controller;
#[cfg(feature = "tensor_engine")]
pub mod convert;
#[cfg(feature = "tensor_engine")]
mod debugger;
Expand Down Expand Up @@ -108,10 +106,6 @@ pub fn mod_init(module: &Bound<'_, PyModule>) -> PyResult<()> {
module,
"monarch_extension.tensor_worker",
)?)?;
controller::register_python_bindings(&get_or_add_new_module(
module,
"monarch_extension.controller",
)?)?;
debugger::register_python_bindings(&get_or_add_new_module(
module,
"monarch_extension.debugger",
Expand Down
Loading
Loading