scoring
Validates and scores model compression solutions by evaluating puzzle solution candidates.
Functions
Output dir where |
|
Resolve input/output paths for block or atomic subblock scoring. |
- launch_scoring(cfg, num_nodes=1, node_index=0)
- Parameters:
cfg (DictConfig)
num_nodes (int)
node_index (int)
- resolve_scoring_output_dir(cfg)
Output dir where
solution_*.jsonare written — must match the writer’s resolution.The AutoModel writer falls back to
<solutions_path stem>--validationwhenscoring.output_diris unset; resume detection has to use the same path.- Parameters:
cfg (DictConfig)
- Return type:
str
- resolve_scoring_paths(cfg)
Resolve input/output paths for block or atomic subblock scoring.
- Parameters:
cfg (DictConfig)
- Return type:
tuple[Path, Path]