mirror of
https://github.com/wassname/ray.git
synced 2026-09-12 12:51:15 +08:00
Suppress irrelevant Redis connection errors. (#434)
* Suppress error messages in worker import thread when Redis terminates. * Suppress some warnings from one of the tests.
This commit is contained in:
committed by
Philipp Moritz
parent
0eac3ccdd0
commit
7cd00741b1
+1
-1
@@ -699,7 +699,7 @@ class ActorsWithGPUs(unittest.TestCase):
|
||||
num_gpus_per_scheduler = 10
|
||||
ray.worker._init(
|
||||
start_ray_local=True, num_workers=0,
|
||||
num_local_schedulers=num_local_schedulers,
|
||||
num_local_schedulers=num_local_schedulers, redirect_output=True,
|
||||
num_gpus=(num_local_schedulers * [num_gpus_per_scheduler]))
|
||||
|
||||
@ray.remote
|
||||
|
||||
Reference in New Issue
Block a user