mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
clean up imports (#230)
This commit is contained in:
committed by
Philipp Moritz
parent
191909dd93
commit
5dd411546d
@@ -1,6 +1,5 @@
|
||||
import argparse
|
||||
import ray
|
||||
import ray.worker as worker
|
||||
|
||||
import functions
|
||||
|
||||
@@ -13,4 +12,4 @@ if __name__ == "__main__":
|
||||
args = parser.parse_args()
|
||||
ray.connect(args.scheduler_address, args.objstore_address, args.worker_address)
|
||||
ray.register_module(functions)
|
||||
worker.main_loop()
|
||||
ray.worker.main_loop()
|
||||
|
||||
Reference in New Issue
Block a user