mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-08 04:27:44 +00:00
chore: data science scenario UI updates (#757)
* ui changes * add ours vs medal threshold * add success loop statistic of components * show times info * UI updates * summary selected * change colors * fix CI * add stat hours param for `mle_summary.py --summary` command * add 24h summary button * fix CI * add logger info for dockerEnv/condaEnv running time
This commit is contained in:
@@ -132,9 +132,10 @@ class Env(Generic[ASpecificEnvConf]):
|
||||
entry, local_path, env, running_extra_volume=running_extra_volume, remove_timestamp=remove_timestamp
|
||||
)
|
||||
end = time.time()
|
||||
if end - start >= self.conf.running_timeout_period:
|
||||
print(
|
||||
f"[red]The running time exceeds {self.conf.running_timeout_period} seconds, so the process is killed.[/red]"
|
||||
logger.info(f"Running time: {end - start} seconds")
|
||||
if end - start + 1 >= self.conf.running_timeout_period:
|
||||
logger.warning(
|
||||
f"The running time exceeds {self.conf.running_timeout_period} seconds, so the process is killed."
|
||||
)
|
||||
log_output += f"\n\nThe running time exceeds {self.conf.running_timeout_period} seconds, so the process is killed."
|
||||
return log_output, return_code
|
||||
|
||||
Reference in New Issue
Block a user