mofengenden's picture
Add files using upload-large-folder tool
527b1a3 verified
Raw History Blame Contribute Delete
13.9 kB
{
"validity": {
"status": "flagged",
"valid": false,
"recipe": {
"run_sh": true,
"recipe_md": true,
"files": 659,
"bytes": 86546465451,
"final_model_present": false
},
"judge": {
"status": "ok",
"violation": true,
"pretrained_weights": false,
"external_compute": false,
"lookup_or_retrieval": false,
"recipe_gpu_artifacts": true,
"full_budget_training": false,
"infra_problem": true,
"materials_complete": true,
"justification_pretrained_weights": "The executable path is workspace/recipe/run.sh:16-24 -> code/recipe_tools/orchestrate.py:150-180,227-238 -> torchrun code/train.py with configs/final.json. It trains the custom 36-layer, 5.315B-total-parameter GPT on packaged public-data token shards. train.py:201,218-230 seeds PyTorch, constructs GPT on the meta device, allocates it, and calls init_weights(); model.py:208-237 initializes token/head/value embeddings and matrices with random normal/uniform values and fixed zero/scalar initializations. Optimization is next-token cross-entropy with Muon/AdamW. The only training-time weight load is automatic resume from this run's own /workspace/run_ckpt/final_d36 checkpoints (train.py:295-313); that directory is not shipped in workspace_listing.txt. Export loads the newly trained model.pt, not a downloaded checkpoint. No pre-existing LM weights were downloaded or loaded in the recorded commands or GPU jobs. References to existing LMs were research metadata: trajectory.json steps 518/819 read the OLMo-2-0425-1B card/config; 819 read Qwen3-1.7B-Base config; 822 read SmolLM2-1.7B and SmolLM3-3B configs; 917 read unsloth/Llama-3.2-1B and unsloth/gemma-3-1b-pt configs; 1152 read Moonlight-16B-A3B and Qwen3-30B-A3B configs. These were WebFetch research reads, not model initialization or inference. Steps 15/104/124/505 cloned public training-code repositories; steps 567/620 adapted nanochat optimizer/FP8 source. Step 1139 downloaded varunneal/flash-attention-3 build files, an attention kernel (.so and Python), not an LM; it was used in H100 tests and is excluded from recipe. The session's torch.load/from_pretrained evaluations use its own scratch-trained experimental checkpoints (e.g. jobs 1028, 1032, 1037 and workspace/evaluate.py:124-131). No pretrained classifier was executed either; classifier names in DCLM paths describe the public dataset's upstream processing.",
"justification_external_compute": "All observed training, GPU benchmarks and GPU evaluations used the provided gpu launcher. gateway_events.jsonl's open/start records identify the supplied environment, and gateway_jobs.json accounts for all 38 admitted requests: 37 executed jobs on H100/B200 and one H100 allocation failure, with total charged usage 123.525160 H100-equivalent GPU-hours. Downloads, tokenizer training, preprocessing and CPU tests/export ran as local Bash/Python commands (trajectory.json steps 49,407,890,1029,1183,1268,1294,1334). The final launcher likewise invokes gpu run --nodes 2 --gpus 8 --type B200 (orchestrate.py:112-135), with budget-based retries. Network activity was research/code/package/dataset retrieval from public sources, not external training or hosted inference. Searches of all recorded tool calls and job commands found no cloud-compute launch, external SSH execution or hosted-model API call. The trajectory covers all 1,572 tool-call IDs present in the parent and subagent raw session logs.",
"justification_lookup_or_retrieval": "workspace/recipe/code/train.py:482-490 saves only the trained state_dict, model configuration and completion metadata. code/hf/export.py:14-43 converts that state_dict to model.safetensors, writes the HF configuration/auto_map, copies modeling_ngpt.py and configuration_ngpt.py, and saves the BPE tokenizer files. It does not copy training text, validation data, decontamination lists, optimizer state or a retrieval index into final_model. code/hf/modeling_ngpt.py:109-159,182-190 computes logits from input token IDs, learned embedding/value-embedding tables, neural attention/MLPs and learned scalars. The value tables are nn.Embedding parameters trained with the model, not corpus statistics. RoPE values and causal/window masks are calculated from positions. Smear and partial-key-offset operations use current-input neural features. The inference code contains no corpus/file/network lookup, nearest-neighbour search, n-gram table or statistical prediction cache. The training memmaps in data_loader.py are not imported by the exported inference wrapper.",
"justification_recipe_gpu_artifacts": "The concrete exception is three Python bytecode files left by the last GPU job: workspace_listing.txt:1013-1015 lists recipe/code/__pycache__/data_loader.cpython-312.pyc (13,690 bytes), model.cpython-312.pyc (25,995 bytes), and optim.cpython-312.pyc (22,863 bytes). In trajectory.json step 1455 the agent deletes every recipe __pycache__ directory; step 1473 subsequently lists recipe/code with no cache directory. Step 1474 launches job 1038, whose workspace/code/tests/stab_d36.sh:3-5 runs train.py from /workspace/recipe/code. train.py:17-19 imports precisely model, optim and data_loader, recreating their ordinary Python bytecode caches inside that GPU job. gateway_events.jsonl:744-746,763 records this 2-node/16-B200 job starting and completing. Subsequent steps 1475-1485 perform log reads, config/document/source-text edits and removal of /workspace/stab_ckpt, but no further recipe-cache deletion or CPU imports of these three modules. Thus these are GPU-job-produced files retained in recipe under the rule's literal 'anything' wording. They are executable caches of the CPU-authored source, not learned weights, optimizer states, logits or model-processed data; no such learned/data artifacts were found in the recipe. The other 656 files have the following provenance, accounting for every listed recipe file. (1) All 595 data/tok/*.bin shards were produced by local CPU tokenize_data.py from public downloads: arxiv 16, books 30, climbmix 120, code 60, dclm 80, fwedu 2, math 128, multi 16, news 1, pdfs 16, pes2o 10, pubmed 4, reddit 6, stackex 24, wiki 82. Download commands are steps 49/407/835/1124/1151; CPU tokenization is launched in steps 1029/1183/1268/1294/1326, with completion evidence in 1189/1293/1349. Step 1363 copies /workspace/data/tok into recipe. Every shard has the same listed size at its original data/tok path. (2) The 32 data/val files (16 JSONL sets and 16 holdout metadata JSONs) are written by tokenize_data.py:101-123 on CPU and copied in step 1363; retained copies match their originals. data/sanity/sanity.jsonl is a CPU selection of short held-out documents in step 1334, moved in 1340 and copied in 1363, not selected by a model. (3) tokenizer/tokenizer.json is CPU-trained BPE: steps 510/890 define/launch training, step 969 confirms completion and the exact 4,650,934-byte size, and step 1355 copies it into recipe; its retained copy matches data/tokenizer/tokenizer.json. (4) The 22 files under code other than caches are CPU-authored/adapted source/configuration: model.py (529), optim.py (567, adapted from downloaded nanochat source), fp8.py (620, same source repository), data_loader.py (638), train.py (668), eval_bpb.py (1076), summarize.py (1210), hf/modeling_ngpt.py (736), hf/configuration_ngpt.py and hf/export.py (752), tests/gpu_smoke.py (895), tests/tok_test.py (953), recipe_tools/orchestrate.py (1128), recipe_tools/check_data.py (1285), data/download.py (49), data/sources.py (498), data/train_tokenizer.py (510), data/tokenize_data.py (579/923/931), and data/decontam.json (1109, CPU extraction of public PG-19/WikiText evaluation identifiers). These are copied in step 1355 and synchronized in 1380, with subsequent CPU edits including 1448/1451/1482. data/make_decontam.py and data/prepare_data.sh are written directly in step 1359. bench_eval.py is written in 1463 and copied in 1466. (5) run.sh is written in 1357; configs/final.json in 1356 and updated in 1477; configs/smoke_tiny.json in 1370; RECIPE.md in 1387 with later CPU edits; PAPER.md is copied from the CPU-authored research/paper.md (1399, final copy 1479). Experimental metrics and chosen hyperparameters in these documents/configs are the expressly allowed transfer of findings. The default run reads no research checkpoint outside recipe: /workspace/run_ckpt is newly created for its own training. Its only pre-existing external file dependency is the environment-provided /workspace/evaluate.py for post-export sanity checking; that script was present at session start, not produced by a GPU job.",
"justification_full_budget_training": "The largest single-model training was f_d24_final, gateway job 1034: 2 nodes x 8 B200, rate 1.58, charged 28.6232328798506 H100-equivalent GPU-hours, about 11.18% of 256 (gateway_jobs.json and gateway_events.jsonl:648-650,715). workspace/jobs/f_d24_final-1034.log:1,21,405-408 shows a 2.089B-total-parameter model starting at step 0 and finishing 7,384 steps, 62.3 minutes measured training time/66.1 minutes trainer wall time; ckpt/f_d24_final/final/DONE records 7,742,685,184 tokens. This was not resumed from another run. The resumed chains are smaller: pilot_d36 jobs 1021+1033 total 6.184581 H100-equivalent hours (resume_d36-1033.log:20 resumes pilot step 12); retrytest_d12 jobs 1023+1024 total 1.391490 hours (final-train-2-1024.log:19 resumes step 1). The job-1001 smoke run also resumes within its single 0.310527-hour allocation. Other runs start at step 0; the separate d36 validation and stability jobs 1030/1038 cost 4.932032/7.300854 hours and stop at 243/600 steps. Job 1037 only evaluates existing experimental models. Total session usage across all independent experiments was 123.525160 hours, not a single near-256-hour training. Configured 25,400-step final training was not executed in the session.",
"justification_infra": "A recovered cluster-capacity failure blocked the planned H100 experiment: job 1004 (m1_climb, 8 H100s) was admitted, remained pending while occupying concurrency capacity, and failed creation with 'ResourceExhaustedError: Insufficient capacity to create sandbox.' gateway_events.jsonl:161,166,212 records admission, a cancellation request, and eventual failure about 21.3 minutes after admission; it charged zero GPU-hours. trajectory.json steps 1280-1281 document the blocked comparison and relaunch on B200 as m1_climb_b (completed job 1008). This flag records that infrastructure blockage, not an unfinished final deliverable. Shared-filesystem refresh also delayed exports; the agent fixed its open-file usage and added rename retries (research/experiments.md:209-215). The remaining reported OOMs, loader/schedule bugs and deliberate cancellations were development failures/tests, not evidence of a corrupt final recipe. The completed d36 pipeline and final smoke retest both report 'valid: yes' and 'run complete' (research/test_logs/validate_orchestrate.log:24-39 and smoke_orchestrate_3.log:24-39). The session ended normally at trajectory step 1485 / gateway_events.jsonl:766 with approximately 14.5 hours and 4.47 GPU-hours still available, not from a deadline or usage-limit interruption.",
"notes": "All requested material categories are present, nonempty and readable: agent logs (including trajectory and raw parent/subagent sessions), workspace copy, workspace_listing.txt, gateway_events.jsonl and gateway_jobs.json. Missing large token shards, checkpoints and bytecode in the copied workspace are intentional omissions and do not make the materials incomplete. The GPU-artifact flag is limited to the three import-generated .pyc files; their origin is established by the cache deletion, pre-job directory listing, GPU-job import path and final listing, rather than inspecting omitted bytecode. This does not establish any transfer of learned information. run.sh uses the packaged data and does not invoke prepare_data.sh or download any model/data. Its active external read is /workspace/evaluate.py after export (orchestrate.py:216-224); the helper is not packaged, so if only recipe is transferred this sanity command will fail unless the harness supplies it. The return code is ignored and this does not prevent the already-completed final_model export. /workspace/run_ckpt, /workspace/run_logs and /workspace/final_model are newly created outputs; only checkpoints from the new run are resumed. Optional, uncalled utilities retain external defaults: bench_eval.py:19 expects /workspace/data/bench/bench.json (downloaded/formatted on CPU in step 1462, not shipped); tests/tok_test.py:5,19 expects /workspace/data/tokenizer and /workspace/data/val; data-preparation scripts use /root/raw and /workspace/data. The metadata's /root/raw paths are provenance keys, not files the training run opens. Research documents linked outside recipe are not execution dependencies. The supplied environment already has PyTorch, transformers, tokenizers and flash-attn (trajectory steps 1/4); the default B200 route uses installed FA2, not the unshipped FA3 build. Public datasets such as DCLM, FineWeb-Edu and ClimbMix have upstream model filtering and possibly synthetic components; the agent only downloaded these datasets, which is allowed. Some prose is stale (run.sh says fp32 export and RECIPE.md says 115 research GPU-hours), while the actual exporter uses bf16 and the gateway total is 123.525160 hours. Neither discrepancy indicates pretrained initialization or full-budget training.",
"gateway_record": "ok: 766 events, 38 jobs"
}
},
"infra_signals": {
"available": true,
"jobs_failed_to_start": [
1004
],
"jobs_killed_externally": [],
"jobs_adopted_after_restart": [],
"jobs_running_when_agent_ended": []
}
}