mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-09 21:10:56 +00:00
fix: scheduler next selection parallel disorder (#1028)
* fix: improve scheduler API (suggest_sel) and add timer.remain_time() * chore: exclude .venv from auto-black and auto-isort tasks * refactor: wrap RoundRobinScheduler commit and selection in retry loop * set search_type="ancestors" for experiment_and_feedback_list_after_init * refactor: merge sync_dag_parent_and_hist and hist.append into one call * fix uncommited rec bug * lint --------- Co-authored-by: xuangu-fang <xuangufang@gmail.com>
This commit is contained in:
@@ -24,7 +24,7 @@ def get_first_session_file_after_duration(log_folder: str | Path, duration: str
|
||||
session_obj: LoopBase = pickle.load(f)
|
||||
timer = session_obj.timer
|
||||
all_duration = timer.all_duration
|
||||
remain_time_duration = timer.remain_time_duration
|
||||
remain_time_duration = timer.remain_time()
|
||||
if all_duration is None or remain_time_duration is None:
|
||||
msg = "Timer is not configured"
|
||||
raise ValueError(msg)
|
||||
|
||||
Reference in New Issue
Block a user