Skip to content

Add approved G4 GPU qualification and eight-device accounting - #241

Merged
wallscaler merged 5 commits into
mainfrom
codex/gpu-track-validator-20260916
Sep 16, 2026
Merged

wallscaler merged 5 commits into
mainfrom
codex/gpu-track-validator-20260916

Conversation

@wallscaler

@wallscaler wallscaler commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Add cathedral-gpu-qualify to discover GPU fleets, verify signed admission and completed CUDA work, and produce a local score plan plus a sanitized public directory. The command cannot construct or submit chain transactions.

The first approved profile requires eight separate Google Spot G4 instances under one miner hotkey, each with one RTX PRO 6000 GPU and distinct instance, GPU, TLS and worker-signing identities. Configured operator roots authorize the guest and its reports; AMD SEV CPU attestation remains unverified. Incomplete fleets and duplicate claimants receive zero local test credit. Public G4 eligibility stays false.

Eight bounded concurrent requests fit the local NVIDIA verification/work deadlines. Partial discovery preserves known providers; preflight failure publishes explicit unavailability. Signed validator requests and existing CPU behavior remain intact.

The separate gpu extra pins sandbox commit 08438dd842d25c901bd4a908f306390421cc7052, the reviewed head merged in cathedralai/cathedral-sandbox#202 (identical tree to merge 6689d00c5242925752b5f5ebb26e35a4d44094aa). Existing SNP/CPU pins are unchanged; GPU qualification installs into its own environment.

Validation: scripts/accept_gpu_prelaunch.sh passed against that exact installed dependency with PEP 610 provenance checked and no sandbox PYTHONPATH: 42 tests, CLI help and scoped Ruff passed. Tests cover signed real TLS transport, bindings, eight-device accounting, shared-key rejection and directory behavior with synthetic hardware evidence. The independent identity review and its one repair verification passed.

No hardware was rented or qualified. Private customer work, GPU economic policy and live rewards are not activated. Part of cathedralai/cathedral-sandbox#73.


Note

Medium Risk
New validator-signed worker access and prelaunch scoring logic affect how miners are qualified and listed, though outputs are explicitly non-writing and gated by strict config and deduplication rules.

Overview
Adds cathedral-gpu-qualify, a no-chain-write path that reads a finalized metagraph, discovers signed worker fleets, runs GPU admission plus fixed CUDA work verification, deduplicates claims, and emits a local weight plan (chain_write: false) and a sanitized public provider directory.

Native TDX+GPU mode uses the signed registry and production verifiers; G4 approved-operator mode uses cathedral_gpu_g4_prelaunch_v1 with configured operator roots, requires eight distinct single-GPU VMs per miner (instance, GPU, TLS, worker signing key), and zeros incomplete or duplicate bundles. An external request signer is limited to GPU HTTP access documents only.

Supporting changes extend signed validator requests and HTTPS response bounds to /v1/gpu-capabilities, /v1/gpu-evidence, and /v1/gpu-work, with network/netuid on signed headers. A separate gpu optional dependency pins a distinct sandbox commit; docs, acceptance script, and tests cover protocol, real TLS wire, and G4 bundle rules.

Reviewed by Cursor Bugbot for commit b1c359e. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor

cursor Bot commented Sep 16, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_a03d70d2-137d-492e-a2d2-956678e5302a)

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-16T06:46:29.295713Z 961671b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cursor

cursor Bot commented Sep 16, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_94e21d75-0eac-44f1-86ef-e1b69785a0e5)

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 961671bba5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +328 to +329
if time.monotonic() >= deadline:
raise IndependentLiveError("GPU round deadline exceeded before complete deduplication")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve partial results when the round deadline expires

When G4 qualification encounters two unreachable primary axons, the sequential fleet probes can each consume the configured 150-second timeout and exhaust the shared 300-second deadline. On the next miner, this check raises outside the per-miner exception handler, so main() discards every previously collected provider and publishes the total qualification_unavailable document instead of the intended partial directory. Record the remaining miners as unavailable or return the accumulated round when the deadline is reached.

Useful? React with 👍 / 👎.

@cursor

cursor Bot commented Sep 16, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_2eb18a54-09cc-4710-b6f4-c9080145afda)

@wallscaler
wallscaler merged commit 62840e4 into main Sep 16, 2026
10 checks 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