Skip to content

Commit 3e75bfc

Browse files
thedavekwonmeta-codesync[bot]
authored andcommitted
Update workspace bootstrapping docs and comments (#1984)
Summary: Pull Request resolved: #1984 * From V1, we provide HostMesh.sync_workspace * Use the `Workspace` class instead of `str` in the bootstrap documentaiton Reviewed By: jayasi Differential Revision: D87802663 fbshipit-source-id: a9c7b2206b5e5aebaefcc8cdfeb31431f42a221c
1 parent 44210e0 commit 3e75bfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/monarch/tools/config/workspace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Workspace:
3535
This effectively one-time mirrors the local codebase and environment on the remote machines.
3636
3737
Workspaces can also be sync'ed interactively on-demand (post job launch) by using
38-
`monarch.actor.proc_mesh.ProcMesh.syncWorkspace(Workspace)`.
38+
`monarch.actor.HostMesh.sync_workspace(Workspace)`.
3939
4040
Usage:
4141
@@ -90,7 +90,7 @@ class Workspace:
9090
9191
# 4. disable project and environment sync
9292
config = Config(
93-
workspace=Workspace(env=None),
93+
workspace=Workspace.null(),
9494
)
9595
"""
9696

0 commit comments

Comments
 (0)