Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions sparkproof/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ def verify_manifest_policy(manifest: dict[str, Any]) -> list[str]:
issues.append(f"unexpected dataset_kind: {manifest.get('dataset_kind')!r}")
gpu = manifest.get("gpu_profile") or {}
gpu_architecture = manifest.get("gpu_architecture") or gpu.get("gpu_architecture")
if gpu_architecture is None and gpu.get("family") == "blackwell":
# Legacy manifest predating the gpu_architecture field (before Hopper
# support existed, every accepted bundle was Blackwell) — the older
# "family" field is still evidence enough to default, not reject.
gpu_architecture = "blackwell"
if gpu_architecture not in SUPPORTED_ARCHITECTURES:
issues.append(
f"gpu_architecture must be one of {sorted(SUPPORTED_ARCHITECTURES)!r}, got {gpu_architecture!r}"
Expand Down
Loading