﻿# Reading Gefen-X memory tables: allocated peaks, estimates and smoke tests

How to interpret Gefen-X full-tuning, LoRA and QLoRA memory tables through actual allocator counters, estimate markers, short workloads and compatibility tests.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/gefen-hardware-table-allocated-peaks-smoke-test-scope/
Language: en

A hardware table can be useful without being a universal model-fitting calculator. Gefen-X publishes comparisons for full fine-tuning, LoRA and QLoRA, together with measurement notes and estimates. Reading its benchmark harness reveals which conclusions concern allocator peaks and basic training compatibility, and which require a larger downstream experiment.

## Retain measured and estimated entries

The [hardware document](https://github.com/thad0ctor/Gefen-X/blob/222a6536c76dbfb26889ed90e00cb8ad1b9b4591/docs/hardware.md) marks estimated cells, single-device measurements and cases involving sharded state. Those markers are part of the evidence, not decorative footnotes. A value extrapolated beyond a card's capacity is different from a successful run that actually occupied that much memory.

The table also specifies a precision and activation-checkpointing setup. Changing optimizer state, sequence length or offloading changes the comparison. A per-parameter approximation can help plan a test, but cannot replace the complete live allocation pattern of a particular model and training loop.

## Inspect what the peak counter measures

The [reviewed harness](https://github.com/thad0ctor/Gefen-X/blob/222a6536c76dbfb26889ed90e00cb8ad1b9b4591/benchmarks/arch-compat/validate_llm.py) records PyTorch's maximum allocated-memory counter in GiB. That differs from reserved allocator memory, external driver allocations and whole-device occupancy. A fit prediction needs headroom for the resources excluded from the selected counter.

For multiple devices, summing each device's individual maximum also differs from measuring a simultaneous system-wide peak. The times at which those maxima occur may differ. A comparison should identify whether its result is a per-device maximum, a sum of maxima or one concurrent total.

## Preserve the actual training workload

The hardware notes describe a small memory-floor workload, while the reviewed text harness constructs a fixed batch from two short strings. That implementation detail does not match a blanket assumption that every documented result used one example. The workload used for a particular table row needs to be linked explicitly to its configuration.

Short texts and checkpointing keep activation demand small. Longer sequences, larger microbatches or different kernels can change the peak substantially. A statement that allocator usage transfers unchanged to every GPU should therefore be treated as a planning assumption requiring verification, rather than a hardware-independent physical law.

## Distinguish compatibility from downstream quality

The harness performs a probe backward pass to identify parameters receiving gradients, then trains the same small batch repeatedly. Its pass criterion uses falling loss and finite values. That is a useful compatibility and optimization smoke check, not a held-out test of model quality.

The trainable parameter list matters as well: parameters without gradients in the probe are excluded. A modality or branch absent from the test input may therefore not be covered by the resulting optimizer configuration. A successful short run does not establish that every component of a larger application was exercised.

## Build a reproducible capacity comparison

A useful record names the model and revision, actual trainable groups, optimizer state dtype, input shape, checkpointing, offload policy and peak-reset boundary. It should retain measured-versus-estimated labels and validate both memory fit and useful task performance.

We read the pinned hardware notes and complete single-device validation harness without executing them or downloading models. The [reproducible-stack guide](/journal/software-stack-reproducibility/) covers revision records, and the [document-split guide](/journal/document-level-data-split-leakage/) covers held-out data. The table is most useful as a documented starting point for experiments whose memory and quality boundaries remain explicit.

## Sources

- [Pinned Gefen-X hardware notes](https://github.com/thad0ctor/Gefen-X/blob/222a6536c76dbfb26889ed90e00cb8ad1b9b4591/docs/hardware.md).
- [Pinned architecture-validation harness](https://github.com/thad0ctor/Gefen-X/blob/222a6536c76dbfb26889ed90e00cb8ad1b9b4591/benchmarks/arch-compat/validate_llm.py).
