We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0ffe7b commit 8cf5f42Copy full SHA for 8cf5f42
1 file changed
nemo_run/run/ray/job.py
@@ -94,7 +94,10 @@ def start(
94
)
95
96
def stop(self, wait: bool = False) -> None:
97
- self.backend.stop(wait=wait) # type: ignore[attr-defined]
+ if isinstance(self.backend, KubeRayJob):
98
+ self.backend.stop() # type: ignore[attr-defined]
99
+ else:
100
+ self.backend.stop(wait=wait) # type: ignore[attr-defined]
101
102
def status(self, display: bool = True):
103
return self.backend.status(display=display) # type: ignore[attr-defined]
0 commit comments