Skip to content
Merged
Changes from 1 commit
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
4 changes: 3 additions & 1 deletion src/forge/controller/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
from monarch.actor import Actor, endpoint, ProcMesh
from monarch.tools import commands
from monarch.tools.commands import create, info
from monarch.tools.components import hyperactor
from monarch.tools.config import Config, Workspace

_MAST_AVAILABLE = False
Expand Down Expand Up @@ -126,7 +127,8 @@ async def initialize(self) -> None:
# HostMesh currently requires explicit configuration
# of the underlying transport from client to mesh.
# This can be removed in the future once this has been removed.
configure(default_transport=ChannelTransport.Tcp)
# Changed TCP this to TcpWithHostname for the slurm launcher
configure(default_transport=ChannelTransport.TcpWithHostname)

async def get_allocator(self, name: str, num_hosts: int) -> tuple[Any, Any, str]:
appdef = hyperactor.host_mesh(
Expand Down
Loading