Browse documentation
aner.ml · Reference

Clustering evaluation and profiling

Compare measured evaluation policies with separate native host wall profiles, numerical compatibility checks and retained build identities.

Development APIs
Execution structure · no timing estimates

Keep training batches; choose final evaluation tiles separately

  1. 01 · Unchanged training

    Training batches B

    Keep the admitted batch size, seed, shuffle order, index updates and revival decisions. Evaluation capacity does not change these training operations.

  2. 02 · Existing closing recipe

    Final centers

    Finish the method’s closing estimate. Final assignment searches all centers exactly, including after indexed o-means and p-means training.

  3. 03 · Independently admitted capacity

    Evaluation tiles T

    On a GPU, admit a larger bounded row tile or back off toward B when the workspace cannot fit it. Each tile checks every final center. There is no N × k distance matrix.

  4. 04 · Preserved output order

    Labels and squared error

    Return labels in input order and accumulate compensated Float64 SSE in the original row order. The numerical oracle checks the complete outputs.

Native controls; measured results below

ClusteringOptions::evaluation_tile_rows and ClusteringOptions::profile are C++ controls. Aner language fit calls keep their existing signatures. CPU automatic evaluation keeps its existing whole input scheduling. This diagram describes the mechanism; the separate charts show only actual recorded timings.

Development evidence, November 16, 2026. Aner 0.0.10-dev.7 reduces the number of synchronized GPU submissions used for final exhaustive assignment in native e-means, o-means and p-means. Automatic evaluation was faster in 53 of 54 matched Metal configurations on Apple M2 Max and 41 of 54 CUDA configurations on Tesla V100. The median per configuration control/automatic latency ratios were 1.0674× and 1.0337×, respectively. All tested centers, labels, inertia and query distance signatures remained exactly equal across the retained dev.6 implementation and dev.7, for all 108 CPU/GPU configurations on each host.

These are warmed synthetic workloads at three epochs, not time to equal loss results or universal speed guarantees. This increment does not change strict Float64 Lloyd K-means. Its controls are available through native C++ and the benchmark executable; it adds no evaluation tile or profiling argument to the Aner language API. Historical three host dev.6 results retain their original identities and measurements.

What changed

Training still uses the same batch size, shuffle order, seed, index policy, revival decisions, closing recipe, distance arithmetic and ordered reductions. Final labels and inertia still use an exact search across every final centroid, including for indexed o-means and p-means.

GPU final evaluation now has its own bounded row capacity. Automatic selection starts at max(B, min(N, 16384)), where B is the admitted training batch and N is the evaluated row count. If the available workspace cannot admit growth, it backs off toward B. The budget accounts conservatively for old and replacement buffers coexisting and for detached output. It grows only row IDs, labels, distances and the corresponding CUDA host staging; training histograms and probe buffers retain their original batch capacity. There is no N × k distance matrix.

An explicit positive tile clamps to N and must fit the workspace budget. Using B restores the previous GPU evaluation scheduling. CPU automatic evaluation preserves its previous whole input scheduling; the CPU control therefore uses N. Query assignment uses the same separate capacity policy. Final squared distances are accumulated into compensated Float64 SSE in the original row order.

The second change is optional phase instrumentation. A null profile pointer introduces no new clock reads. Profiling adds no extra GPU synchronization and observes the waits already required by the operation. Partial or failed operations leave completed == false and are excluded from accepted evidence.

Measured M2 result

The host was an Apple M2 Max with 12 reported logical CPUs and 64 GiB unified memory, using macOS 26.7.3, Apple Clang 21, Release, compatible Apple Silicon targeting, Metal and Accelerate enabled, and LTO disabled. All recorded fits used four CPU workers or four GPU host workers and Float32 inputs/computation, with compensated Float64 final SSE. The availability of Accelerate in the build does not imply that clustering assignment used a BLAS matrix product path.

Six shapes, three methods and seeds 42, 43 and 44 give 108 configurations across CPU and Metal. For each configuration:

  1. A preserved dev.6 executable supplied a fresh five fit baseline.
  2. Dev.7 legacy and automatic policies each supplied five unprofiled fits, alternating AB/BA order between configurations.
  3. Separate legacy and automatic diagnostic processes each supplied one profiled fit.

Every process performed one excluded warm up. There are 540 fresh baseline fits, 1,080 dev.7 acceptance fits and 216 diagnostic fits; warm ups are additional. No diagnostic latency is substituted for acceptance latency. Input generation, hashing and upload precede timing. Fit timing includes initialization, index maintenance, training, closing, exhaustive final assignment, output construction and backend/scratch destruction. Returned model destruction and post timing signature queries/readback/hashing are excluded.

The model's training_seconds metadata ends before backend teardown. The reported external fit timer includes that teardown, so these timing scopes must not be treated as interchangeable.

The table shows Metal milliseconds, taking the median of the three seed specific five fit medians. The ratio divides the displayed control policy median by the automatic policy median. Every corresponding loss and complete array signature matched exactly; no quality tradeoff was introduced.

Rows × dimensions; clustersMethodFresh dev.6Dev.7 controlDev.7 automaticControl / automatic
2,048 × 16; 32e-means84.35186.00368.0751.263×
2,048 × 16; 32o-means15.09916.16913.7511.176×
2,048 × 16; 32p-means17.19418.03815.9291.132×
8,192 × 32; 64e-means15.77217.26814.0661.228×
8,192 × 32; 64o-means19.20919.24816.2431.185×
8,192 × 32; 64p-means21.09721.25718.9321.123×
16,384 × 32; 4,096e-means72.09171.65966.5641.077×
16,384 × 32; 4,096o-means124.360129.065120.8351.068×
16,384 × 32; 4,096p-means103.992105.786100.9721.048×
65,536 × 32; 4,096e-means140.665139.442134.3931.038×
65,536 × 32; 4,096o-means211.553212.663206.2061.031×
65,536 × 32; 4,096p-means135.648134.601129.2411.041×
8,192 × 512; 128e-means29.91030.21026.1131.157×
8,192 × 512; 128o-means105.287105.378100.9821.044×
8,192 × 512; 128p-means73.03372.71069.4601.047×
8,192 × 1,024; 128e-means41.86441.75736.8021.135×
8,192 × 1,024; 128o-means182.790180.673177.0671.020×
8,192 × 1,024; 128p-means121.237122.715116.5431.053×

The raw seed level results remain available, including small p-means seed 42, where automatic evaluation was about 1.8% slower than its control, and a slower control observation for wide 1,024 e-means seed 43. Nothing is discarded. The median matched Metal ratio against the fresh dev.6 baseline was 1.0521×; comparing against the same dev.7 binary better isolates the evaluation policy. CPU control and automatic scheduling are identical here: their median matched ratio was 0.9997×, so this study does not establish a CPU improvement. Five repeats and three seeds do not establish a confidence bound or isolate all background system variation.

Measured V100 result

The second actual host had a Tesla V100 PCIE 32GB (32,768 MiB reported), NVIDIA driver 580.178.04 and an Intel Xeon Gold 6248 guest exposing 24 logical CPUs. The portable Linux build used GCC 13.4.0, CUDA 12.9.86, -march=x86-64 -mtune=generic, Release, no LTO, no BLAS, and CUDA targets sm70;sm89. These are results for that complete host/build combination, not a measurement of peak host tuned Xeon performance or an isolated GPU comparison.

The V100 study repeats the same six shapes, methods, seeds, four worker budgets and five fit unprofiled protocol, plus one separate diagnostic fit per policy. Its 108 configurations contribute another 540 fresh baseline fits, 1,080 dev.7 acceptance fits and 216 diagnostic fits. The table uses the same median of three seed medians aggregation as the M2 table, in milliseconds.

Rows × dimensions; clustersMethodFresh dev.6Dev.7 controlDev.7 automaticControl / automatic
2,048 × 16; 32e-means19.64318.60116.4691.129×
2,048 × 16; 32o-means4.9564.7954.5061.064×
2,048 × 16; 32p-means5.8236.2625.7901.082×
8,192 × 32; 64e-means4.5634.7444.4651.063×
8,192 × 32; 64o-means8.3448.2667.8821.049×
8,192 × 32; 64p-means10.07410.49110.0091.048×
16,384 × 32; 4,096e-means30.92031.35530.4691.029×
16,384 × 32; 4,096o-means131.907130.866131.1990.997×
16,384 × 32; 4,096p-means117.262128.130126.3341.014×
65,536 × 32; 4,096e-means69.88368.76968.0121.011×
65,536 × 32; 4,096o-means202.840204.502202.2491.011×
65,536 × 32; 4,096p-means147.260149.439147.8891.010×
8,192 × 512; 128e-means9.59810.1679.6771.051×
8,192 × 512; 128o-means111.974111.645112.3430.994×
8,192 × 512; 128p-means59.96060.74058.5611.037×
8,192 × 1,024; 128e-means14.72115.17314.2421.065×
8,192 × 1,024; 128o-means224.203222.296221.2171.005×
8,192 × 1,024; 128p-means129.087130.805128.9271.015×

Automatic evaluation was slower in 13 of the 54 CUDA seed level comparisons; the largest observed difference was about 6.2% for large k e-means seed 42. Against the fresh dev.6 binary, the median matched CUDA ratio was 1.0147×, and only 34 of 54 configurations were faster. Large k p-means illustrates the distinction: automatic is slightly faster than the same build control but slower than the fresh old build. All observations remain in the evidence. The CPU control/automatic median ratio was 1.0023× with unchanged evaluation scheduling, so this is not a CPU speedup claim.

Within each host, all 108 old/new full array comparisons matched exactly. The 54 corresponding Metal/CUDA configurations also had identical repeated losses and all four final signatures in this study. These observed equalities establish no universal bitwise portability guarantee or improvement in clustering quality.

What the profiles show

These are host wall intervals around synchronized operations, not GPU kernel timings. The following values are medians of the three separate diagnostic fits per row, in milliseconds. They explain where time is observed; they are not acceptance speedup estimates.

Metal configurationFinal assignment, control → autoAuto training batchesAuto CPU index rebuildFinal chunks, control → auto
Small e-means18.423 → 0.81268.3880128 → 1
Medium e-means3.397 → 0.31112.581016 → 1
Large k o-means11.205 → 5.28453.30239.48816 → 1
Large p-means27.425 → 21.08741.50539.26516 → 4
Wide 1,024 o-means7.668 → 2.850129.40730.41116 → 1

For small e-means seed 42, final chunks fall from 128 to one, and total Metal waits/submissions fall from 515 to 388 while the 384 training updates remain unchanged. For the largest input, automatic evaluation uses four chunks of 16,384 rows. This observed reduction in final assignment work is consistent with the accepted fit time improvement.

Training remains the main observed interval for small e-means and wide o-means. Indexed large k and large cases also retain substantial CPU index rebuild time, with snapshot/upload and revival intervals recorded separately. Those measurements support investigating training launch/wait costs and index maintenance next. They do not identify the time of an individual kernel, prove that a particular kernel is inefficient, or quantify the gain from an unimplemented optimization.

The corresponding V100 diagnostics show smaller absolute final assignment savings and more pronounced host index rebuild costs with this portable CPU build:

CUDA configurationFinal assignment, control → autoAuto training batchesAuto CPU index rebuildFinal chunks, control → auto
Small e-means2.193 → 0.07414.9320128 → 1
Medium e-means0.400 → 0.1012.238016 → 1
Large k o-means4.024 → 3.22327.382100.94716 → 1
Large p-means13.684 → 12.66426.31093.10116 → 4
Wide 1,024 o-means2.242 → 1.461124.83286.36516 → 1

For V100 small e-means seed 42, recorded waits fall from 599 to 472 while the 384 training updates remain unchanged. Final evaluation improves in these diagnostic aggregates, but it is a small part of several indexed workloads. The large host index rebuild intervals explain why reducing final chunks alone can deliver only a small whole fit benefit there. They also support prioritizing a measured index maintenance improvement next, alongside training launch/wait work for small e-means. Any further change still needs exact numerical checks and fresh unprofiled timing; these host intervals do not establish a kernel level diagnosis or a promised speedup.

The fixed coordinator phases are setup, initialize, index_snapshot, index_rebuild, index_upload, train_batches, revival_snapshot, revival_compute, revival_upload, closing, final_assignment, output and teardown. They do not overlap each other, but bookkeeping outside them can leave a residual. total is inclusive. backend_encode and backend_wait overlap coordinator intervals and must not be added to them or to each other as an independent decomposition. CPU index_rebuild is host work; other operation phases can contain both CPU work and existing device waits.

Counters have deliberately narrow meanings:

  • device_submissions: Metal command buffer commits; on CUDA, logical begin/complete operation groups. It is not a portable count of physical hardware submissions.
  • device_waits: existing observed waits; kernel_dispatches: compute kernel dispatches, excluding memsets and blits.
  • host_to_device_bytes and device_to_host_bytes: explicit CUDA payloads, including status readback. Metal shared memory accesses are not labeled PCIe transfers.
  • host_copy_bytes: logical payload bytes written by explicit backend host copies/conversions, not measured memory bandwidth or all memory traffic.
  • training_updates, evaluation_rows, evaluation_chunks and evaluation_tile_rows: completed work and the actual admitted evaluation capacity. workspace_bytes reports tracked/reserved workspace including host/output admission; it is not a measurement of the allocator's or device's total peak memory.

Native controls and reproduction

The C++ header aner/clustering.hpp exposes ClusteringOptions::evaluation_tile_rows (0 for automatic), ClusteringOptions::profile (nullptr by default), ClusteringProfile, clustering_phase_name, and evaluation_tile_rows(model). The same options apply to exact query assignment. Each top level operation resets its supplied profile; copy a completed fit profile before reusing that pointer for a query. Each concurrent operation needs its own caller owned profile object, kept alive until that operation finishes; do not share a mutable profile across concurrent fits or queries.

Existing Aner code can inspect the resolved tile with print(model.summary()), which includes evaluation_tile_rows. This is an automatic summary field, not a new Aner argument or a new standalone language getter.

For an already prepared Float32 tensor x on the selected device:

cpp
aner::ml::ClusteringOptions options;
options.evaluation_tile_rows = 0;
auto model = aner::ml::fit_pmeans(x, 4096, 3.0, 42, options);
auto admitted_rows = aner::ml::evaluation_tile_rows(model);

// A separate diagnostic fit; never substitute this timing for acceptance data.
aner::ml::ClusteringProfile profile;
options.profile = &profile;
auto diagnostic = aner::ml::fit_pmeans(x, 4096, 3.0, 42, options);

With a qualified dev.7 benchmark, these reproduce one small Metal e-means configuration. The automatic training batch for this shape is 16; changing the evaluation tile does not change it.

sh
./aner_clustering_benchmark e-means mps 4 2048 16 32 3 42 5 --evaluation-tile-rows 16
./aner_clustering_benchmark e-means mps 4 2048 16 32 3 42 5 --evaluation-tile-rows 0
./aner_clustering_benchmark e-means mps 4 2048 16 32 3 42 1 --evaluation-tile-rows 0 --profile

For CPU control use the input row count; for GPU control use the recorded training batch. The benchmark rejects --profile and --evaluation-tile-rows for lloyd. The CUDA commands use cuda in place of mps and require the separately qualified Linux binary. The actual V100 evidence below validates that host; neither M2 nor V100 results establish L40 behavior or speed.

Qualification and retained evidence

Actual M2 execution passed 18,402 checks in the public/native clustering suite, the dedicated resident Metal oracle/index/ownership/admission suite, its 152 p-means checks and the shared evaluation/profile cases. The final five CTest suites passed: native clustering, Metal clustering, language bindings, comparison tools and qualification tools. Evaluation tests compare tile 1, the legacy batch, intermediate and automatic tiles, profile on/off, explicit oversized tiles clamped to N, workspace fallback/rejection, cancellation and post evaluation training state. Exact centers, labels, inertia, prediction and query distance checks cover e/o/p.

Actual V100 execution passed both original and staged CPU/native suites (16,619 checks), CUDA resident/index/ownership/admission tests, 152 p-means checks and 1,363 evaluation/profile checks, plus language tests and a native p-means CUDA language smoke test. The staged CUDA oracle also passed Compute Sanitizer memcheck, synccheck and racecheck with zero errors/hazards. All 123 campaign phases completed successfully before collection. Retained qualification metadata binds their return codes and log hashes to the source/binary, completed study and independent numerical proof. GPU identity/driver matched at the boundaries, with idle checks before and after; this is not a continuous exclusive host claim. CUDA qualification comes from these executions, not from compiling sm89 into the portable binary.

A separate API compatible probe was linked to each actual dev.6/dev.7 build on each host. Its complete array hashes cover all 108 measured configurations per host and match exactly. Retained origin audits/link receipts bind the supplied source/build executable to the measured benchmark. Public fingerprints preserve the actual source, benchmark, probe and private receipt identities; private machine paths and discovery output are removed. Observed equality for these inputs is not a universal cross device bitwise guarantee.

The optimization manifest hashes six separate M2 artifacts: fresh dev.6 baseline, dev.7 legacy control, dev.7 automatic candidate, automatic profiles, control profiles, and the independent numerical oracle.

It also hashes the six corresponding V100 artifacts: fresh dev.6 baseline, dev.7 legacy control, dev.7 automatic candidate, automatic profiles, control profiles, and the independent numerical oracle. Every measurement row and raw repetition is preserved. A control's requested tile varies by configuration and is recorded on each row; the merged report does not invent one shared control tile.

Both hosts share baseline source fingerprint 648fe42e52ea5c6f62857fcb10aa416a832147e374bf3af03b156b383e601db3 and candidate fingerprint d43b7cefcefbc117e678a913cd4a1f5633e9d110c8ac7b848d70a03baeabce0e; their platform specific executables have separate fingerprints. Source labels and development versions remain distinct from these complete compiled source identities.

L40 dev.7 is pending a later offline run. Its prepared portable inputs do not constitute qualification or timing evidence. No dev.7 L40 row appears in this manifest, and V100 sanitizer results are not relabeled as L40 results. Historical dev.6 L40 measurements remain available unchanged in the earlier three host study.

See the Machine learning module reference for the shared API.

Measured implementation change

Independent tiles for final evaluation

Compare the candidate with legacy and automatic evaluation tiles while keeping the native build fixed. The fresh baseline from the older build remains available separately below. Every comparison uses complete unprofiled fits on the same host, input, seed and algorithm settings.

2,048 rows · 16 dimensions · 32 clusters · 3 epochs · seed 42 · Float32 computation · requested CPU budget 4

Candidate · legacy tile · Aner 0.0.10-dev.786.003 ms
Candidate · automatic tile · Aner 0.0.10-dev.768.075 ms
Each bar is the median of five unprofiled fits after an untimed warm up. Warm resident fit including initialization, index maintenance, training, closing, exhaustive final assignment, output construction and backend/scratch destruction; excludes data generation, input hashing/upload and returned model destruction.

With automatic evaluation, the complete fit took 20.845% less time in this selected configuration; legacy tile ÷ automatic tile is 1.263×. This is a matched implementation comparison, not a general speedup claim or a measurement of time needed to reach equal quality.

Accepted unprofiled observations
ImplementationMSEMedian msRecorded rangeEvaluation tileWorkspace bound (bytes)
Fresh dev.6 baseline6.72130183.44582.357 to 85.449 msNot recorded176,100
Candidate · legacy tile6.72130186.00383.996 to 86.144 ms16176,100
Candidate · automatic tile6.72130168.07566.677 to 69.908 ms2,048200,484

The fresh Aner 0.0.10-dev.6 baseline took 83.445 ms. Fresh dev.6 baseline ÷ automatic candidate is 1.226×. This separate comparison includes every change between the two recorded builds; the policy comparison within the same build above isolates evaluation scheduling.

Raw repetitions, numerical checks and build provenance

Input SHA256: 698db4434ad2cfda96964d58e26b3a07e7c8f4899a5ba1eefd621dfeab0ba538

Training batch: 16 rows. The before/after pair retains the same training recipe and resolved controls. Numerical compatibility is checked by the separately retained old/new native oracle; old baseline fields are not reconstructed.

Inspect the numerical compatibility proof
  • Fresh dev.6 baseline: Aner 0.0.10-dev.6 · raw observations

    Compiled source: 648fe42e52ea5c6f62857fcb10aa416a832147e374bf3af03b156b383e601db3
    Executable: 78ad933df0fb3f3ac3dff0cdf9a332e6899a87387522391d5d976ce1dd1ea127

    Recorded timer scope: Warm resident fit including initialization, index maintenance, training, closing, exhaustive final assignment, output construction and backend/scratch destruction; excludes data generation, input hashing/upload and returned model destruction. One warm up fit per process; cases run serially.

    Timed fits (ms): 85.449, 83.445, 82.357, 84.257, 82.613.
    Final inertia: 13765.23.

  • Candidate · legacy tile: Aner 0.0.10-dev.7 · raw observations

    Compiled source: d43b7cefcefbc117e678a913cd4a1f5633e9d110c8ac7b848d70a03baeabce0e
    Executable: f97913bd747d535467bff968fb920791b40e228c6c1c89599aed4eb3952ffbab

    Recorded timer scope: Warm resident fit including initialization, index maintenance, training, closing, exhaustive final assignment, output construction and backend/scratch destruction; excludes data generation, input hashing/upload, returned model destruction and numerical signature queries/readback/hashing. One warm up fit per process; signatures use only the final model after all timed fits; cases run serially.

    Timed fits (ms): 86.144, 86.003, 86.096, 84.413, 83.996.
    Final inertia: 13765.23.

  • Candidate · automatic tile: Aner 0.0.10-dev.7 · raw observations

    Compiled source: d43b7cefcefbc117e678a913cd4a1f5633e9d110c8ac7b848d70a03baeabce0e
    Executable: f97913bd747d535467bff968fb920791b40e228c6c1c89599aed4eb3952ffbab

    Recorded timer scope: Warm resident fit including initialization, index maintenance, training, closing, exhaustive final assignment, output construction and backend/scratch destruction; excludes data generation, input hashing/upload, returned model destruction and numerical signature queries/readback/hashing. One warm up fit per process; signatures use only the final model after all timed fits; cases run serially.

    Timed fits (ms): 69.908, 68.075, 67.154, 68.42, 66.677.
    Final inertia: 13765.23.

  • Final centers: ef3aafbee3ce3cbea5b942e73bc48f63629335a8eb7e5932b6a71420b3611416
  • Final labels: 71731d2f7e8de2afc655bdbcf2fba4871940107c5759a80a5870450f4376cc98
  • Final inertia: 4a7ddb0fcd8e58b470beb9f1ec057b29d29ccbeb548b864e7f5924abc1e877c9
  • Full squared distance query: 3e69f3f6bbb8192dbde9a4af0498bed20aecfa15386d2e1e177c0acd193e6764
Separate diagnostic process

Where the candidate spends host wall time

Profiling is a native C++ and benchmark facility that you enable explicitly. It is not an Aner language profiling API. The recorded phases and counters describe a separate diagnostic fit and do not replace the unprofiled performance comparison.

Diagnostic fit timer71.4 msOne profiled fit; excluded from the before/after medians
Native profile total71.399 msInclusive host wall time inside the native operation
Final evaluation chunks12,048 evaluated rows recorded

Coordinator phases

Set up resources1.208292 ms · 1 calls
Initialize centers0.152166 ms · 1 calls
Read centers for the index0 ms · 0 calls
Rebuild the coarse index0 ms · 0 calls
Make the index available0 ms · 0 calls
Train batches68.387503 ms · 384 calls
Read state for revival0.060453 ms · 76 calls
Compute cluster revival0.042297 ms · 76 calls
Make revival state available0.005666 ms · 5 calls
Close the centroid estimate0.083875 ms · 1 calls
Assign all rows to final centers0.840792 ms · 1 calls
Construct model outputs0.028833 ms · 1 calls
Release temporary resources0.532583 ms · 1 calls
These are observed host wall intervals from one diagnostic fit. Coordinator phases are disjoint; the native total also includes unassigned overhead. Timing instrumentation affects this run.

Nested backend observations

Backend encoding / submission8.623009 ms · 3,466 calls
Backend waiting60.131674 ms · 388 calls
Encoding and waiting are already inside coordinator phases. They are not GPU kernel durations and must not be added to the coordinator timings or native total.
Work and resource counters from this diagnostic fit
CounterObserved value
Training updates384
Exhaustive evaluation chunks1
Exhaustively evaluated rows2,048
Resolved evaluation tile (rows)2,048
Admitted workspace bound (bytes)200,484
Metal command buffer commits388
Recorded device waits388
Encoded compute kernel dispatches2,692
Host → device transfer payload (bytes)0
Device → host transfer payload (bytes)0
Logical host/shared memory payload (bytes)411,392

Metal records command buffer commits; CUDA records logical begin/complete operation groups, not physical driver submissions. Kernel dispatches count encoded compute kernels. CUDA transfer counters record explicit payload bytes; Metal host copies record logical shared memory and conversion payload. The workspace value is an admitted/tracked bound, not an observed allocator or device memory peak. These counters are not measured memory bandwidth or comparable driver traffic. Zero means the retained counter is zero, not that all underlying work or movement is absent.

Aner documentation · Reference and guides