mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 07:53:50 +08:00
Fix fate-sharing warning (#7545)
* Fix kernel_fate_sharing being None instead of False * Remove fate-sharing warning Co-authored-by: Mehrdad <noreply@github.com>
This commit is contained in:
+2
-2
@@ -66,8 +66,8 @@ class Node:
|
||||
self._register_shutdown_hooks()
|
||||
|
||||
self.head = head
|
||||
self.kernel_fate_share = (spawn_reaper
|
||||
and ray.utils.detect_fate_sharing_support())
|
||||
self.kernel_fate_share = bool(
|
||||
spawn_reaper and ray.utils.detect_fate_sharing_support())
|
||||
self.all_processes = {}
|
||||
|
||||
# Try to get node IP address with the parameters.
|
||||
|
||||
Reference in New Issue
Block a user