Skip to content

Commit

Permalink
merge main and resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeantonio21 committed Apr 15, 2024
2 parents 5c495b9 + e42d8df commit 4c00def
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ members = [
"atoma-event-subscribe/sui",
"atoma-inference",
"atoma-networking",
"atoma-node",
"atoma-json-rpc",
"atoma-storage",
"atoma-service"
"atoma-storage"
]

[workspace.package]
Expand Down
2 changes: 1 addition & 1 deletion atoma-service/Cargo.toml → atoma-node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "atoma-service"
name = "atoma-node"
version.workspace = true
edition.workspace = true

Expand Down
6 changes: 3 additions & 3 deletions atoma-service/src/lib.rs → atoma-node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use tracing::info;
const CHANNEL_SIZE: usize = 32;

pub struct AtomaNode {
pub inference_service_handle: JoinHandle<Result<(), AtomaNodeError>>,
pub model_service_handle: JoinHandle<Result<(), AtomaNodeError>>,
pub sui_subscriber_handle: JoinHandle<Result<(), AtomaNodeError>>,
}

Expand All @@ -43,7 +43,7 @@ impl AtomaNode {
let (subscriber_req_tx, subscriber_req_rx) = mpsc::channel(CHANNEL_SIZE);
let (atoma_node_resp_tx, mut atoma_node_resp_rx) = mpsc::channel(CHANNEL_SIZE);

let inference_service_handle = tokio::spawn(async move {
let model_service_handle = tokio::spawn(async move {
let mut model_service = ModelService::start(
model_config,
private_key,
Expand Down Expand Up @@ -71,7 +71,7 @@ impl AtomaNode {
}

Ok(Self {
inference_service_handle,
model_service_handle,
sui_subscriber_handle,
})
}
Expand Down

0 comments on commit 4c00def

Please sign in to comment.