mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-02 18:07:43 +00:00
feat: add coder check and give more time (#1127)
* feat: introduce max_seconds_multiplier for timeout management across components * avoid using assert in test * hot fix a very small bug * runner multiply twice * revert feedback change * add a switch to longer timeout
This commit is contained in:
@@ -218,6 +218,7 @@ class DataLoaderCoSTEER(CoSTEER):
|
||||
evolving_version=2,
|
||||
scen=scen,
|
||||
max_loop=DS_RD_SETTING.coder_max_loop,
|
||||
max_seconds=scen.real_debug_timeout() * settings.max_seconds_multiplier,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
@@ -230,7 +231,7 @@ class DataLoaderCoSTEER(CoSTEER):
|
||||
"scenarios.data_science.share:scen.input_path"
|
||||
).r()
|
||||
},
|
||||
running_timeout_period=DS_RD_SETTING.full_timeout,
|
||||
running_timeout_period=self.scen.real_full_timeout(),
|
||||
)
|
||||
|
||||
stdout = new_exp.experiment_workspace.execute(env=env, entry=f"python test/data_loader_test.py")
|
||||
|
||||
@@ -46,7 +46,10 @@ class DataLoaderCoSTEEREvaluator(CoSTEEREvaluator):
|
||||
final_decision=False,
|
||||
)
|
||||
|
||||
env = get_ds_env(extra_volumes={self.scen.debug_path: T("scenarios.data_science.share:scen.input_path").r()})
|
||||
env = get_ds_env(
|
||||
extra_volumes={self.scen.debug_path: T("scenarios.data_science.share:scen.input_path").r()},
|
||||
running_timeout_period=self.scen.real_debug_timeout(),
|
||||
)
|
||||
|
||||
# TODO: do we need to clean the generated temporary content?
|
||||
fname = "test/data_loader_test.py"
|
||||
|
||||
Reference in New Issue
Block a user