mirror of
https://github.com/wassname/ray.git
synced 2026-07-16 11:21:10 +08:00
[core] Move log_to_driver back to public (#10422)
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user