Skip to content

Commit a8d96cd

Browse files
committed
[Scheduler] Use given config file for compilations
1 parent 00cd8c7 commit a8d96cd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Scheduler/scheduler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ def __init__(self, num_request_queue=1, max_batch=1, engine_select=FIFO_ENGINE,
358358

359359
togsim_path = os.path.join(extension_config.CONFIG_TORCHSIM_DIR, "TOGSim")
360360
self.tog_simulator = TOGSimulator(togsim_path, togsim_config)
361+
os.environ['TOGSIM_CONFIG'] = togsim_config
361362
self.tog_simulator.interactive_simulation()
362363
if engine_select == Scheduler.FIFO_ENGINE:
363364
self.execution_engine = FIFORunner(self.tog_simulator, self.num_request_queue)

0 commit comments

Comments
 (0)