data-gen-bpu/harness/__init__.py

18 lines
694 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""bench harness — L1 oracle 流水线 + L3 verdict。
模块:
paths 根目录、config.yaml、.env.local
registry registry/* 加载、matrix 展开、job_id、job.json 快照
db state/jobs.sqlite 唯一真相
errors stderr → error_class
watchdog 无固定超时的子进程执行器
gates G1–G4 → verdict
stages 01–08,每阶段一个子目录落 stdout/stderr/exit/meta
backends ptq / qat:按 backend 选 venv,agent 无权改
scheduler 资源池、板卡锁、耗时估算
pipeline oracle 主流程 + preflight
stagerun agent 可用的 `bench stage run / wait`
cli `bench` 命令
"""
__version__ = "0.4.0"