mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 03:18:59 +08:00
[rllib] Raise an error if GPUs are enabled but not tf.test.is_gpu_available() (#6365)
This commit is contained in:
@@ -118,7 +118,7 @@ class RayTrialExecutor(TrialExecutor):
|
||||
# Clear the Trial's location (to be updated later on result)
|
||||
# since we don't know where the remote runner is placed.
|
||||
trial.set_location(Location())
|
||||
logger.info("Trial %s: Setting up new remote runner.", trial)
|
||||
logger.debug("Trial %s: Setting up new remote runner.", trial)
|
||||
# Logging for trials is handled centrally by TrialRunner, so
|
||||
# configure the remote runner to use a noop-logger.
|
||||
return cls.remote(config=trial.config, logger_creator=logger_creator)
|
||||
|
||||
Reference in New Issue
Block a user