IQ.Pilot Release Commit @ 0012d8f

This commit is contained in:
IQ.Lvbs CI [bot]
2026-07-22 20:21:04 -05:00
parent 0952a162ef
commit f94087822f
6 changed files with 76 additions and 17 deletions

View File

@@ -77,7 +77,13 @@ def outputs_match(model_name: str) -> bool:
return True
def packaged_prebuilt_matches(model_name: str) -> bool:
return not (MODELS_DIR / f'{model_name}.onnx').is_file() and outputs_match(model_name)
def verify_prebuilt(model_name: str, flags: str) -> bool:
if not (MODELS_DIR / f'{model_name}.onnx').is_file():
return False
data = _load_checks().get(model_name, {})
if data.get('signature') != compute_signature(model_name, flags):
return False