mirror of
https://github.com/wassname/ray.git
synced 2026-07-23 13:10:11 +08:00
Fix CI test failures (#4007)
This commit is contained in:
@@ -26,7 +26,7 @@ from ray.tune.logger import pretty_print, UnifiedLogger
|
||||
import ray.tune.registry
|
||||
from ray.tune.result import (DEFAULT_RESULTS_DIR, DONE, HOSTNAME, PID,
|
||||
TIME_TOTAL_S, TRAINING_ITERATION, TIMESTEPS_TOTAL)
|
||||
from ray.utils import random_string, binary_to_hex, hex_to_binary
|
||||
from ray.utils import _random_string, binary_to_hex, hex_to_binary
|
||||
|
||||
DEBUG_PRINT_INTERVAL = 5
|
||||
MAX_LEN_IDENTIFIER = 130
|
||||
@@ -311,7 +311,7 @@ class Trial(object):
|
||||
|
||||
@classmethod
|
||||
def generate_id(cls):
|
||||
return binary_to_hex(random_string())[:8]
|
||||
return binary_to_hex(_random_string())[:8]
|
||||
|
||||
def init_logger(self):
|
||||
"""Init logger."""
|
||||
|
||||
Reference in New Issue
Block a user