mirror of
https://github.com/wassname/ray.git
synced 2026-07-07 08:31:55 +08:00
API cleanups. Remove worker argument. Remove some deprecated arguments. (#4025)
* Remove worker argument from API methods. * Remove deprecated arguments and deprecate redirect_output and redirect_worker_output. * Fix
This commit is contained in:
committed by
Philipp Moritz
parent
042ad84573
commit
5f71751891
@@ -33,7 +33,7 @@ if __name__ == '__main__':
|
||||
parser.add_argument(
|
||||
"--smoke-test", action="store_true", help="Finish quickly for testing")
|
||||
args, _ = parser.parse_known_args()
|
||||
ray.init(redirect_output=True)
|
||||
ray.init()
|
||||
|
||||
register_trainable("exp", easy_objective)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user