change filenames and directory structure to use halo (#81)

This commit is contained in:
Robert Nishihara
2016-06-03 18:32:57 -07:00
committed by Philipp Moritz
parent b58eaf84ee
commit 67086f663e
41 changed files with 446 additions and 446 deletions
+11 -11
View File
@@ -6,9 +6,9 @@ import test_functions
import arrays.single as single
import arrays.dist as dist
import orchpy
import orchpy.services as services
import orchpy.worker as worker
import halo
import halo.services as services
import halo.worker as worker
parser = argparse.ArgumentParser(description='Parse addresses for the worker to connect to.')
parser.add_argument("--scheduler-address", default="127.0.0.1:10001", type=str, help="the scheduler's address")
@@ -19,13 +19,13 @@ if __name__ == '__main__':
args = parser.parse_args()
worker.connect(args.scheduler_address, args.objstore_address, args.worker_address)
orchpy.register_module(test_functions)
orchpy.register_module(single)
orchpy.register_module(single.random)
orchpy.register_module(single.linalg)
orchpy.register_module(dist)
orchpy.register_module(dist.random)
orchpy.register_module(dist.linalg)
orchpy.register_module(sys.modules[__name__])
halo.register_module(test_functions)
halo.register_module(single)
halo.register_module(single.random)
halo.register_module(single.linalg)
halo.register_module(dist)
halo.register_module(dist.random)
halo.register_module(dist.linalg)
halo.register_module(sys.modules[__name__])
worker.main_loop()