Repository navigation
Add programmable CUDA boosting and verified objective comparisons #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+1,061,987
−257
Merged
Changes from all commits
Commits
Show all changes
157 commits
Select commit
Hold shift + click to select a range
961b6f9
Retrospect v1 progress and plan authoring and execution validation
jxucoder e15704d
Incorporate landscape feedback into foundation authoring probes
jxucoder df23796
Plan programmable stopping and installed isolation sprint
jxucoder 8c9f3de
Break remaining v1 work into bounded sprint cards
jxucoder 2871f0f
Allow external stopping policies through structural completion records
jxucoder e2b6c4c
Verify installed custom stopping and independent run isolation
jxucoder e3af6c9
Record resource preflight evidence and CPU profiling checkpoint
jxucoder 5243020
Verify numerical worker memory ceiling and peak accounting
jxucoder fad659b
Freeze bounded practical CPU profiling harness and cases
jxucoder f5ca13b
Correct Modal generator launch without changing diagnostic policy
jxucoder c96f7af
Preserve retry declaration in future diagnostic freezes
jxucoder dff0590
Recover only the interrupted diagnostic profile after preemption
jxucoder b9cc57a
Record practical CPU replay bottleneck and incomplete sweep evidence
jxucoder e99e89c
Evaluate new proposal terms with verified reusable encodings
jxucoder aa4adee
Verify incremental counts and installed extension isolation
jxucoder da0fede
Preregister same-container wheel comparison for CPU architecture conf…
jxucoder dd2d696
Close incremental runtime sprint with exact paired CPU evidence
jxucoder 2f5aca2
Add explicit scalar summary retention across CPU recipes
jxucoder ae8c7af
Preregister bounded full-summary CPU retention comparison
jxucoder bd82e68
Verify installed summary retention and bounded logical history
jxucoder e9058cc
Close retention sprint with exact paired predictions and memory evidence
jxucoder 63700db
Bind integrity checks to evaluator-owned frozen execution manifests
jxucoder 1a7bfd5
Use explicit summary retention for current evaluation workers
jxucoder acac36a
Record frozen-judge evidence and remaining evaluation readiness gaps
jxucoder 26a6797
Add explicit Linux worker privileges and bounded access probes
jxucoder 8eace67
Use summary diagnostics in frequency severity evaluation
jxucoder 4a4cc2d
Record real worker permission and resource probe evidence
jxucoder 176d556
Integrate explicit worker permissions into current selection smoke
jxucoder a0bc473
Add bounded Linux protected selection preflight
jxucoder 39aa31d
Record Linux selection validation and receipt portability counterexample
jxucoder 68d7b0d
Allow bounded score roundoff in independently verified receipts
jxucoder c9201ae
Compile frozen OpenBoost A6 resource preflight matrix
jxucoder 4a2960a
Add frozen real A6 resource probes with protected workers
jxucoder 9387d9f
Record real data dispatch approval boundary and local verification
jxucoder dfe678c
Record real A6 resource passes and practical runtime reflection
jxucoder 6c608b2
Add bounded profiling mode for the real A6 workload
jxucoder dede27e
Preserve profile failures and isolate periodic stack dumping
jxucoder 17ab9de
Record A6 scoring profile and bounded optimization plan
jxucoder b642bd5
Cache bounded immutable vector statistic layouts
jxucoder a3b78a3
Record installed vector layout reuse profile
jxucoder 21f76b1
Use validated scratch leaves for vector candidate scoring
jxucoder 028f309
Record scratch scoring profile and paired-fit checkpoint
jxucoder 73755b1
Prepare exact paired A6 real-fit cost check
jxucoder 2ccc8ec
Record exact paired A6 fit with observed CPU time reduction
jxucoder cd69c80
Freeze complete A6 CPU method matrix and dispatch blockers
jxucoder 63b4859
Translate explicit comparator bin budgets and verify native parameters
jxucoder 9e34c37
Record installed comparator bin-budget evidence and refreshed plan
jxucoder 02f3d41
Prepare protected real A6 comparator probes and fresh replay
jxucoder bb08bfc
Record real A6 comparator resource and exact replay evidence
jxucoder 2521619
Prepare frozen deeper 1000-round comparator preflight
jxucoder a6d5cfd
Record deeper comparator resource and exact replay results
jxucoder 2e8c81c
Reprioritize independent authoring and bounded programmable CUDA
jxucoder cfca092
Prepare D1 D2 author materials and audit device ownership seam
jxucoder b8e30bd
Record clean D1 D2 author view and wheel provenance
jxucoder 77aa105
Implement explicit context-owned CUDA storage and real-device checks
jxucoder 8617b38
Record real T4 storage ownership evidence and remaining GPU budget
jxucoder 2e97f3a
Plan programmable CUDA construction and next evidence checkpoint
jxucoder 6ae51dd
Freeze independent routed histogram fixtures before CUDA kernels
jxucoder 4435e1e
Implement owned CUDA fields and routed histogram operations
jxucoder ad2f4e6
Freeze final bounded T4 aggregation run and exact case judging
jxucoder 4251a36
Record passing T4 aggregation evidence and retrospective checkpoint
jxucoder 0ba39a3
Freeze public CUDA split contracts and exhaustive scalar D2 cases
jxucoder 0bcb52f
Add public CUDA split scores, feasibility masks, routing and leaves
jxucoder 161c02e
Freeze 88-case CUDA split validation package pending new allowance
jxucoder 043861a
Record approved single T4 run for the frozen split package
jxucoder a29749b
Record Modal source-transfer approval block before dispatch
jxucoder 9ce790e
Record explicit approval for the frozen Modal source upload
jxucoder e1a9c20
Record 88 passing T4 split tests and foundation retrospective
jxucoder 3561738
Freeze resident scalar ownership design and two-round oracle
jxucoder e616451
Compose experimental resident squared geometry and scalar trees
jxucoder 807232e
Add experimental resident scalar transactions and recipe
jxucoder 3a8ca34
Freeze 202-case resident CUDA validation package pending approval
jxucoder c65a969
Record approval for frozen resident CUDA run and private upload
jxucoder 5d3fd28
Record automatic review block before resident CUDA dispatch
jxucoder c415755
Record explicit approval for private resident CUDA package and run
jxucoder f5922fb
Record resident CUDA failures and score-symmetry retrospective
jxucoder 13fdd83
Freeze CUDA score-symmetry diagnostics and correction plan
jxucoder d3ee1c3
Round CUDA scalar score products independently
jxucoder aab6882
Freeze 212-case CUDA score-correction validation package
jxucoder af026ef
Record approval for frozen CUDA score-correction run
jxucoder 48a1386
Verify bounded resident CUDA training with 212 passing T4 checks
jxucoder 05b7c66
Plan Normal device composition and freeze independent update fixtures
jxucoder f75f501
Freeze Normal float32 support and numerical evaluation policy
jxucoder ab6a37b
Add resident Normal geometry and reusable direction operations
jxucoder 782c9c4
Generalize resident transactions to mapped multi-term updates
jxucoder 1498aad
Compose resident Normal joint and ordered boosting recipes
jxucoder ac7b1e1
Add external device cohort learner and Normal replay checks
jxucoder a5de692
Freeze bounded Normal and installed D2 CUDA run six
jxucoder 4143d18
Record approval for frozen Normal CUDA run six
jxucoder ad9792f
Archive Normal CUDA run six with two acceptance failures
jxucoder abd5b1a
Record Normal CUDA retrospective and acceptance follow-up
jxucoder ba46b3a
Add independent Normal acceptance difference oracle
jxucoder e0a043b
Capture original Normal acceptance failures without changing decisions
jxucoder 1e0acfb
Freeze run seven for original Normal acceptance diagnostics
jxucoder 80740f2
Record approval for frozen Normal acceptance run seven
jxucoder 6f204de
Archive Normal run seven with measured acceptance failure traces
jxucoder e5abf3c
Record acceptance retrospective and propose stable comparison boundary
jxucoder 8d0e92f
test: bound Normal loss changes with independent interval arithmetic
jxucoder a5967b5
test: preregister Normal comparison cohorts and historical case mapping
jxucoder a636066
docs: archive bounded Normal comparison evidence and reflect on 092-A
jxucoder 51b8a96
feat: expose bounded Normal loss changes on CPU
jxucoder cf8d189
feat: add resident objective loss comparison with explicit device bounds
jxucoder 4e881ce
docs: specify separate loss-comparison consumers and snapshot ownership
jxucoder 5b11828
Use objective comparisons for CPU Normal consumers
jxucoder b016b24
Own best validation anchors in objective-mode device runs
jxucoder 2c5927c
Use separate objective comparisons throughout resident Normal recipes
jxucoder c881259
Bind all historical requirements to revised comparison cohorts
jxucoder dbeff8a
Freeze separate historical and revised CUDA comparison cohorts
jxucoder 8a70e0b
Document bounded run-8 request and retrospective boundary
jxucoder af8ad2a
Review foundation progress and prioritize author and workload evidence
jxucoder 0a85320
Add standalone D1 and D2 development verifiers
jxucoder 44d516f
Archive installed D1 and D2 verifier evidence
jxucoder 40dd684
Refresh author packets and add rejection and isolation probes
jxucoder 862c404
Verify the package typing marker in author wheels
jxucoder 424ebdc
Archive current author packet and failed native isolation evidence
jxucoder cda1947
Prepare an isolated Linux author-worker smoke
jxucoder 251edb4
Archive clean Linux worker preparation checks
jxucoder 7985645
Record approval for the frozen Linux CPU smoke
jxucoder 3eb37f6
Retain failed Linux worker identity smoke and retrospective
jxucoder 518eccf
Enforce worker identity before executing the Linux smoke
jxucoder aa1664d
Archive passing Linux identity smoke and retrospective
jxucoder 71ef69e
Add fail-closed author request accounting and local deadlines
jxucoder 67ecc94
Reconcile cancelled background requests without releasing stopped work
jxucoder 68951ef
Freeze bounded provider accounting smoke and acceptance criteria
jxucoder 5c0f31a
Authorize the frozen provider accounting smoke
jxucoder 421ea54
Archive real token-cap evidence and unexercised cancellation result
jxucoder 2e446d6
Add active-response cancellation and freeze one-request smoke
jxucoder f7f3c60
Defer agent evaluation and prioritize foundation execution
jxucoder b58b168
Authorize the frozen Normal CUDA validation checkpoint
jxucoder dffcfd5
Restore pending GPU authorization after approval review block
jxucoder 469ca0e
Record explicit approval for the frozen T4 validation
jxucoder c36f96a
Archive Normal CUDA run 8 and diagnose the no-op prefix assertion
jxucoder 6026ebb
Correct forward no-op best-prefix expectation and verify CPU semantics
jxucoder 7fe4937
Prepare bounded CUDA recipe revalidation packet
jxucoder a7173d9
Record explicit approval for frozen CUDA recipe run 9
jxucoder c84d566
Archive passing CUDA recipe run and close bounded comparison coverage
jxucoder 8677bba
Freeze early squared and Normal CPU CUDA performance checkpoint
jxucoder b9790fe
Record upload review block and preserve pending performance packet
jxucoder c8f7ebc
Record explicit approval for frozen Modal performance upload
jxucoder 840cc41
Archive early performance results and plan parallel validation
jxucoder 680bf84
Preserve exact benchmark inputs and complete per-fit evidence
jxucoder 8db2aef
Parallelize CUDA field validation with one cooperative block per column
jxucoder 2101fd7
Freeze bounded original and candidate CUDA validation comparison
jxucoder dd84247
Approve the frozen run-11 source upload and T4 invocation
jxucoder 346dee5
Archive passing T4 validation optimization and sprint retrospective
jxucoder 270fe4b
Freeze binary and Poisson device objective contracts
jxucoder bed9605
Add resident binary and Poisson objective components
jxucoder 5943f4f
Preserve device class schemas and add GLM round conformance cases
jxucoder 95b5232
Freeze convex GLM loss-change mathematics and counterexamples
jxucoder 67788ba
Add bounded resident binary and Poisson loss comparisons
jxucoder 703d9bd
Integrate compared scalar binary and Poisson recipes
jxucoder 3f90252
Freeze bounded GLM CUDA validation and retained evidence
jxucoder fe12beb
Record approval of the bounded run-12 GLM validation
jxucoder c965cb6
Retain passing GLM T4 validation and complete sprint 108 retrospective
jxucoder 7b18667
Prepare foundation PR with reproducible CPU CI and strict docs
jxucoder 8df852c
Test current Normal comparisons without altering frozen cohorts
jxucoder bbd69ea
Separate frozen report integrity from bounded numerical replay
jxucoder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,95 @@ | ||
| """Compile the OpenBoost portion of A6 resource preflight; never launch jobs.""" | ||
|
|
||
| import argparse | ||
| import hashlib | ||
| import json | ||
| from pathlib import Path | ||
|
|
||
| from benchmarks.v1.selection import digest | ||
|
|
||
|
|
||
| def compile_plan(design): | ||
| if design["schema"] != "openboost-search-design-v1": | ||
| raise ValueError("unknown search design") | ||
| budgets = design["budgets"] | ||
| if any( | ||
| budgets[k] != v | ||
| for k, v in dict(trial_wall_s=1800, ram_mib=8192, cpu_threads=2, trial_retries=0).items() | ||
| ): | ||
| raise ValueError("resource policy differs from frozen preflight") | ||
| if design["selection"]["folds"] != 5 or design["selection"]["trials_per_method"] != 16: | ||
| raise ValueError("five folds and sixteen trials required") | ||
| configs = design["families"]["xgboost"] | ||
| fields = {"rounds", "learning_rate", "max_depth", "reg_lambda", "seed_from_fold"} | ||
| if ( | ||
| len(configs) != 16 | ||
| or any(set(c) != fields for c in configs) | ||
| or len({digest(c) for c in configs}) != 16 | ||
| or {c["rounds"] for c in configs} != {300, 1000} | ||
| or any(c["seed_from_fold"] is not True for c in configs) | ||
| ): | ||
| raise ValueError("complete supported frozen numeric-tree configuration family required") | ||
| jobs = [ | ||
| dict( | ||
| id=f"openboost-{mode}:{fold}:{index:02}", | ||
| fold=fold, | ||
| application="A6", | ||
| library="openboost", | ||
| device="cpu", | ||
| threads=1, | ||
| seed=fold, | ||
| early_stopping_rounds=design["shared"]["early_stopping_rounds"], | ||
| config={**config, "mode": mode, "bins": design["shared"]["bin_budget"]}, | ||
| ) | ||
| for mode in ("shared", "independent") | ||
| for fold in range(5) | ||
| for index, config in enumerate(configs) | ||
| ] | ||
| return dict( | ||
| schema="openboost-a6-resource-plan-v1", | ||
| search_design_sha256=digest(design), | ||
| scope="OpenBoost-only resource planning; not complete comparator coverage or launch authorization", | ||
| jobs=jobs, | ||
| job_count=len(jobs), | ||
| trials_per_fold=32, | ||
| maximum_sequential_worker_seconds=len(jobs) * budgets["trial_wall_s"], | ||
| maximum_reserved_cpu_seconds=len(jobs) * budgets["trial_wall_s"] * budgets["cpu_threads"], | ||
| policy=dict( | ||
| timeout_s=budgets["trial_wall_s"], | ||
| address_limit_bytes=8 * 1024**3, | ||
| requested_container_memory_mib=budgets["ram_mib"], | ||
| reserved_cpus=2, | ||
| worker_threads=1, | ||
| retries=0, | ||
| retention="summary", | ||
| ), | ||
| first_probe_ids=["openboost-shared:0:00", "openboost-independent:0:00"], | ||
| stop_on_failure=True, | ||
| open_requirements=[ | ||
| "Bind verified real train/validation packets without test material", | ||
| "Run exact full-round workers under protected resource policy", | ||
| "Complete all required comparator methods and coverage ledger", | ||
| "Qualify selected-model release and per-target real quality", | ||
| ], | ||
| ) | ||
|
|
||
|
|
||
| def main(output): | ||
| design_path = Path(__file__).with_name("search-design.json") | ||
| plan = compile_plan(json.loads(design_path.read_text())) | ||
| plan["input_files"] = { | ||
| str(path.relative_to(design_path.parent)): hashlib.sha256(path.read_bytes()).hexdigest() | ||
| for path in ( | ||
| design_path, | ||
| design_path.parent / "datasets/preprocessing.json", | ||
| design_path.parent / "datasets/parkinsons.json", | ||
| ) | ||
| } | ||
| with Path(output).open("x") as stream: | ||
| stream.write(json.dumps(plan, indent=2, allow_nan=False) + "\n") | ||
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| parser = argparse.ArgumentParser(description=__doc__) | ||
| parser.add_argument("output", type=Path) | ||
| main(parser.parse_args().output) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A fresh checkout of this commit cannot recover the execution commits merely by setting
fetch-depth: 0:9da718chas only parent47108db, and its reachable history excludes the manifest revisionsfe12bebanddd84247. The non-GPU CI command nevertheless runstest_glm_freeze.pyandtest_validation_freeze.py, which callgit showon those revisions, so these evidence checks fail once the separate development branch is unavailable. Merge the execution history as parents, retain reachable refs, or make the verifiers use committed source archives instead.AGENTS.md reference: AGENTS.md:L151-L155
Useful? React with 👍 / 👎.