[core] Move log_to_driver back to public (#10422)

This commit is contained in:
Richard Liaw
2020-08-29 16:35:14 -07:00
committed by GitHub
parent 9a31166050
commit cb438be146
7 changed files with 11 additions and 11 deletions
@@ -106,7 +106,7 @@ def tune_transformer(num_samples=8,
gpus_per_trial=0,
smoke_test=False,
ray_address=None):
ray.init(ray_address, _log_to_driver=False)
ray.init(ray_address, log_to_driver=False)
data_dir_name = "./data" if not smoke_test else "./test_data"
data_dir = os.path.abspath(os.path.join(os.getcwd(), data_dir_name))
if not os.path.exists(data_dir):
+1 -1
View File
@@ -31,7 +31,7 @@ class Capturing:
@pytest.fixture
def start_ray():
ray.init(_log_to_driver=False, local_mode=True)
ray.init(log_to_driver=False, local_mode=True)
_register_all()
yield
ray.shutdown()