Browse documentation
Research

GPU correctness qualification

Review scoped L40 CUDA correctness, native build tree SDK dependency recovery and local model cache evidence while preserving historical results.

Development APIs

The 0.0.9-dev.7 L40 recovery passed all nine phases after a correction to dependency discovery in the development build tree SDK. This record preserves the earlier 0.0.9-dev.6 failure alongside the fresh recovery. It establishes bounded correctness, not a performance comparison or general model capacity claim.

Versions below identify the tested development snapshots. Package availability is independent of these records. See Tensor devices, CNN models, recurrent models and native local model inference for their execution contracts.

Two campaigns, retained separately

Both campaigns ran on one NVIDIA L40, with 46,068 MiB of driver reported device memory and compute capability 8.9. The actual run identities and independent post run observations recorded driver 620.70.06. Earlier preparation telemetry belongs to a different observation.

CampaignConfigurationPassed phasesFailed phasesUnrun phases
0.0.9-dev.6Atlas-04 / C03513
0.0.9-dev.7Atlas-04 / C04900

The original run requested 12 portable LLM test groups: ten passed and two failed. Its automatic fixture also passed and is counted separately. The failures, aner.llm_remote_language and aner.llm_placement_language, stopped while compiling standalone Aner programs through the generated SDK. No failed native executable was published and no interpreter fallback replaced compilation.

The original CUDA inference optimizer, direct Tensor and pretrained-model/cache phases were not run. Those gaps remain in the C03 record. The recovery rebuilt the changed source and reran every phase; no original pass was carried forward.

The recovery passed 13 requested portable groups, including the new SDK dependency regression, plus its separate automatic fixture. The previously failing compiled language groups both passed. Its separate explicit CUDA optimizer, direct Tensor and local-model/cache/API phases also passed.

Bounded CUDA correctness

All 15 requested CUDA correctness groups passed without skips in each campaign:

FamilyGroups per campaignChecked scope
Native NLP numeric scoring2Float32 and Float64 CUDA scoring, numerical agreement and rejection behavior; Viterbi remains CPU work
CNN training and precision policy8Strict, FP16, BF16 and TF32 profiles, numerical/update checks and explicit precision policy
Fused recurrent layers5Strict Float64 and Float32, FP16, BF16 and TF32; actual CUDA fused layer execution and correctness

The recovery therefore records 29 CTest events: 15 CUDA groups, 13 requested portable groups and one automatic fixture. The three direct CUDA phases are additional phase results, not additional CTest events. Test group counts and internal assertion counts are not independent experiment counts.

FP16, BF16 and TF32 describe eligible compute operations with FP32 master storage in these mixed profiles. They do not mean every model tensor or operation uses that lower precision. The strict Float64 recurrent profile retains Float64.

What the SDK correction changes

The parent development build used private CURL and CUDA dependency locations. Its SDK's child build did not rediscover the recorded locations. A configuration only diagnostic failed at CURL discovery without hints and configured successfully when given the recorded dependency hints. That diagnostic explained the failure; it was not a compiled program or GPU result.

The 0.0.9-dev.7 correction lets the development build tree SDK reuse its recorded dependency locations when the consumer has not deliberately supplied another location. Explicit consumer hints retain precedence. Missing required dependencies now produce dependency errors instead of an apparent missing local LLM component. Hint variables stay scoped to dependency discovery; the SDK does not rewrite the user's environment or search paths.

Nine focused private prefix dependency tests passed in the Linux recovery. They cover recorded locations, consumer/environment precedence and failure diagnostics. The actual compiled placement/remote-language tests also passed. Configuration only fixtures alone would not establish that result.

This correction concerns the SDK associated with that configured build tree. It does not establish an installed or relocatable SDK distribution, automatic dependency installation or portability of that SDK to another computer.

Actual local CUDA model and cache checks

The recovery used an already available SmolLM2 135M Instruct F16 GGUF, 270,886,400 bytes, with digest c953b337d61834a459884f51250e8242c7a4d2d7f74e465e84eb30e0e51d6d59. The pinned llama.cpp engine is distinct from the native numerical backends used by the CNN/recurrent groups.

The admitted profile used explicit cuda:0, context 256, F16 KV and Flash Attention off. It reported 31 GPU layers, batch 256 and microbatch 128, with one resident context and one active request. Its GPU budget was 8 GiB, worker RAM budget 16 GiB, and reserve 256 MiB in each memory domain.

AccountingObserved or reported amountScope
GPU engine buffers301,674,752 bytesModel, context and compute buffers for the validated profile
Worker host engine buffers58,331,136 bytesSeparate worker CPU/pinned-buffer accounting
Worker GPU process allocation716 MiB in each casePoint observation after admission; not a peak

Both loads recorded allocation_validated:true. Requested budgets, engine buffers and observed process allocation have different scopes. None is a measured total device peak, process peak or operating system reservation.

The persistent weights cache check used a cold admission followed by a new worker and connection:

AdmissionVerified resultGGUF upload bytesUpload chunksGenerated tokens
Coldmiss_uploaded270,886,40025914
New worker/connectionhit_verified0014

Both receipts bind the same complete artifact digest and size and record 270,886,400 verified bytes. Independent worker identities, allocation samples and API responses were retained privately. Zero GGUF retransmission does not mean zero checksum reads or control traffic. This cache retains model weights, not prompts or conversation caches.

The worker ran through local stdio on the same computer, with the controller API bound to loopback and a 16 token output limit. These checks do not demonstrate network inference, WAN latency or wireless performance.

An 8 GiB software budget on an L40 with 46,068 MiB of device memory is not a physical 8 GiB GPU qualification. This 135M F16 model also does not establish that a model normally needing 24 GiB will run well on 12 GiB, or that arbitrary models and contexts fit. Larger models, CPU/GPU spill, physical smaller GPUs and useful task quality require separate experiments.

Source and configuration identity

The machine readable correctness report retains both campaigns, source inventories, executable fingerprints, configuration bindings, phase/test outcomes and private evidence digests. Its upstream commit identifies ancestry; the frozen source manifests identify the bytes actually measured.

Development snapshotFilesSource manifest SHA256
0.0.9-dev.66,726b34aa3d998641b2cfbd46f9f847fba0c8e7c8b57daf695b143c94db622dc4db8
0.0.9-dev.76,728e81c235afd7f7309b71fb480468807aeedbf2d172b357351a1cfe7c110c32fc5

Atlas-04 / C03 binds the original failed campaign's actual configuration; Atlas-04 / C04 binds the fresh recovery. Verified configuration facts do not turn the earlier campaign into a pass.

Historical Atlas-04 / C01 MNIST results and Atlas-04 / C02 modern training results remain unchanged. The archived 31 October prepared comparison also remains unchanged. This is a separate correctness record, not a replacement training benchmark.

Limits of these observations

  • Bounded synthetic correctness and one admitted local model workflow do not establish language quality, broad architecture support or model capacity.
  • Native NLP, Tensor/CNN/recurrent execution and the pinned llama.cpp engine are separate backends. A result from one does not qualify the others automatically.
  • Correctness tests retain incidental single process GEMM timing diagnostics. Their speedup medians are excluded from performance claims; this campaign supplies no reviewed end to end throughput or peak memory study.
  • Native pretrained training, physical multi GPU execution, NCCL scaling, generic remote Tensor placement, cross host memory pooling and sustained media acceleration are outside this campaign.
  • Successful allocation binds a model, context, profile and machine at one time. It does not protect against later external memory pressure.
Aner documentation · Reference and guides