mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
Change ray.worker.cleanup -> ray.shutdown and improve API documentation. (#2374)
* Change ray.worker.cleanup -> ray.shutdown and improve API documentation. * Deprecate ray.worker.cleanup() gracefully. * Fix linting
This commit is contained in:
committed by
Philipp Moritz
parent
b316afeb43
commit
515da7721a
@@ -43,7 +43,7 @@ class Regression():
|
||||
raise NotImplementedError
|
||||
|
||||
def teardown(self, *args):
|
||||
ray.worker.cleanup()
|
||||
ray.shutdown()
|
||||
|
||||
def track_time(self, result):
|
||||
return result["time_total_s"]
|
||||
|
||||
Reference in New Issue
Block a user