Skip to content

Commit ca3aa34

Browse files
authored
(torchx/runner)(dead code elimination) Remove build_standalone_workspace from runner API
Differential Revision: D81277272 Pull Request resolved: #1103
1 parent 2291b93 commit ca3aa34

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

torchx/runner/api.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -164,18 +164,6 @@ def close(self) -> None:
164164
for scheduler in self._scheduler_instances.values():
165165
scheduler.close()
166166

167-
def build_standalone_workspace(
168-
self,
169-
workspace_builder: WorkspaceBuilder[S, T],
170-
sync: bool = True,
171-
) -> PkgInfo[S]:
172-
"""
173-
Build a standalone workspace for the given role.
174-
This method is used to build a workspace for a role independent of the scheduler and
175-
also enables asynchronous workspace building using the Role overrides.
176-
"""
177-
return workspace_builder.build_workspace(sync)
178-
179167
def run_component(
180168
self,
181169
component: str,

0 commit comments

Comments
 (0)