ray/rllib/execution/multi_gpu_learner.py
Balaji Veeramani 7f1bacc7dc
[CI] Format Python code with Black (#21975)
See #21316 and #21311 for the motivation behind these changes.
2022-01-29 18:41:57 -08:00

15 lines
446 B
Python

from ray.rllib.execution.multi_gpu_learner_thread import (
MultiGPULearnerThread,
_MultiGPULoaderThread,
)
from ray.rllib.utils.deprecation import deprecation_warning
# Backward compatibility.
deprecation_warning(
old="ray.rllib.execution.multi_gpu_learner.py",
new="ray.rllib.execution.multi_gpu_learner_thread.py",
error=False,
)
# Old names.
TFMultiGPULearner = MultiGPULearnerThread
_LoaderThread = _MultiGPULoaderThread