Skip to content

Fall back to Blackwell for legacy manifests missing gpu_architecture#21

Merged
ai-hpc merged 1 commit into
mainfrom
fix/legacy-manifest-gpu-architecture-fallback
Jul 15, 2026
Merged

Fall back to Blackwell for legacy manifests missing gpu_architecture#21
ai-hpc merged 1 commit into
mainfrom
fix/legacy-manifest-gpu-architecture-fallback

Conversation

@ai-hpc

@ai-hpc ai-hpc commented Jul 15, 2026

Copy link
Copy Markdown
Member

Summary

Companion fix to SparkDistill#106 — same bug class, discovered while chasing why the dataset registry's mining-dataset aggregation started failing today.

verify_manifest_policy required gpu_architecture to resolve from either the manifest's own field or gpu_profile.gpu_architecture — both only populated by the post-Hopper build_manifest_v2/require_supported_gpu. Bundles published before this field existed have neither (only the older gpu_profile.family), so sparkproof-verify started rejecting every pre-existing Blackwell bundle with gpu_architecture must be one of [...], got None.

Fix: fall back to "blackwell" when both lookups come up empty but gpu_profile.family == "blackwell" — the only architecture that existed before this field was added, so this can't admit anything actually unsupported.

Test plan

  • uv run pytest -q — 281 passed, 9 skipped

Same bug class as SparkDistill's dataset_verify fix: verify_manifest_policy
required gpu_architecture to resolve from either the manifest's own field
or gpu_profile.gpu_architecture — both only populated by the post-Hopper
build_manifest_v2/require_supported_gpu. Bundles published before this
field existed have neither, only the older gpu_profile.family, so
verification started rejecting every pre-existing Blackwell bundle with
"gpu_architecture must be one of [...], got None".

Now falls back to "blackwell" when gpu_architecture is absent from both
locations but gpu_profile.family == "blackwell" — the only architecture
that existed before this field was added, so this can't admit anything
actually unsupported.
@ai-hpc
ai-hpc merged commit 701d65b into main Jul 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant