Allow --lru-evict to be passed into ray start (#8959)

This commit is contained in:
Ian Rodney
2020-07-13 14:09:39 -07:00
committed by GitHub
parent 4454d05bcf
commit 0085cf75d0
4 changed files with 32 additions and 14 deletions
+4
View File
@@ -98,6 +98,10 @@ class Node:
raise ValueError(
"Internal config parameters can only be set on the head node.")
if ray_params._lru_evict:
assert (connect_only or
head), "LRU Evict can only be passed into the head node."
self._raylet_ip_address = raylet_ip_address
ray_params.update_if_absent(