Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
1 change: 1 addition & 0 deletions mesh/crates/mesh-llm-host-runtime/src/runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ pub(crate) fn placement_policy_for(
},
)
}
mod serving_ports;
mod serving_surface;
pub mod shared_serving;
mod shutdown_signal;
Expand Down
3 changes: 3 additions & 0 deletions mesh/crates/mesh-llm-host-runtime/src/runtime/run_auto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,9 @@ pub(super) async fn run_runtime_cli(
config.gpu.host_ram_offload.unwrap_or(false),
);
join_sources::validate_join_token_sources(&options)?;
// Before the native runtime, the mesh node and its invite: a port held by
// a node already running here would otherwise fail only at the late bind.
super::serving_ports::ensure_serving_ports_free(&options).await?;

let disk_cache = configure_node_kv_disk_cache(&config, &options)?;
for warning in &disk_cache.configured.warnings {
Expand Down
Loading
Loading