Manuscript Offprint
arXiv:2610.25048PACT: NVFP4 Data-Flow LoRA Fine-Tuning on Consumer GPUs
PACT: NVFP4 Data-Flow LoRA Fine-Tuning on Consumer GPUs
Lei Gao, Hossein Entezari Zarch, Chaoyi Jiang, Murali Annavaram
University of Southern California
{leig, entezari, chaoyij, annavara}@usc.edu
Abstract
Fine-tuning language models on consumer GPUs is constrained by computation and memory. Although LoRA reduces trainable parameters and optimizer state, frozen projections remain expensive, and activations retained for backward can dominate memory usage. We present PACT, a LoRA fine-tuning system that accelerates frozen projections with native NVFP4 GEMMs while reducing quantization and dequantization overhead and limiting quantization error. To reduce activation memory, PACT reuses quantized RMSNorm outputs and saves gate/up activations in NVFP4 for backward. To limit numerical error, it preserves BF16 inputs for forward nonlinear operations and calibrates frozen weights offline using GPTQ adapted to NVFP4 scales and quantized activations. Fused nonlinear kernels and cached forward and backward weight layouts reduce quantization and dequantization overhead. Evaluations across multiple models and tasks on a 16 GB RTX 5080 show lower memory usage and faster LoRA fine-tuning with competitive accuracy, enabling model adaptation on resource-constrained consumer hardware.
1 Introduction
Large language models (LLMs) are increasingly fine-tuned to adapt to a user's private data, personal writing style, or specialized downstream task (Hu et al., 2022; Gao et al., 2025; Tan et al., 2024). Performing this adaptation on the device that holds the data keeps sensitive data local, avoids the latency and recurring cost of cloud round trips, and enables continual learning (Xu et al., 2024; Zhu et al., 2023). In this setting, the practical target is often a small language model (SLM) in the 1B to 3B range, which can fit on a consumer GPU before fine-tuning but still faces severe training-time compute and memory pressure.
Low-rank adaptation (LoRA) (Hu et al., 2022)

Figure 1: GPU memory composition during BF16 LoRA fine-tuning at batch size 4. Activations dominate memory at longer sequence lengths.
reduces the number of trainable parameters by freezing pretrained weights and optimizing small adapter matrices. This substantially reduces gradient and optimizer storage, but the frozen projections are still evaluated in the forward pass and used to propagate input gradients during backward. Standard BF16 LoRA therefore retains substantial computation, while saved activations become a major memory cost as the batch size and sequence length grow. Figure 1 illustrates this activation-dominated regime on a consumer GPU.
Existing methods address these costs through different mechanisms. QLoRA (Dettmers et al., 2023) compresses frozen weights to four bits while retaining higher-precision computation and activations. Mixed-precision training accelerates matrix multiplications by quantizing their operands (DeepSeekAI, 2024; NVIDIA, 2025b), but it does retain quantized activations for backward computation. Consequently, retained activations can remain a substantial memory cost even when weights and computation use low precision. These approaches motivate jointly designing the computation and storage of a fine-tuning system.
NVIDIA Blackwell GPUs provide native
NVFP4 matrix multiplication, offering a hardware basis for this design. At batch size 4 and sequence length 1,024, our representative linear-layer measurements show that NVFP4 GEMMs are approximately 6–7× faster than BF16 GEMMs (Table 1). Realizing this benefit during training requires carefully designing the data flow to reduce the overhead of quantization and dequantization operations while limiting quantization error across both the forward and backward passes.
| Layer | BF16 | NVFP4 | Speedup | |
|---|---|---|---|---|
| query | 3072 × 3072 | 0.690 ms | 0.113 ms | 6.1× |
| gate/up | 3072 × 8192 | 1.778 ms | 0.304 ms | 5.8× |
| down | 8192 × 3072 | 1.818 ms | 0.267 ms | 6.8× |
Table 1: GEMM latency for representative Llama-3B projections. NVFP4 provides approximately 6–7× acceleration over BF16 on a RTX 5080 GPU.
We introduce PACT, an NVFP4-based LoRA fine-tuning system that combines accelerated frozen projections with compressed activation storage. To accelerate computation, PACT uses native NVFP4 GEMMs for the forward and input-gradient computations of all seven frozen projections in each decoder layer. To reduce activation memory, PACT reuses quantized RMSNorm outputs for backward and saves separate NVFP4 copies of the gate/up activations. To reduce quantization error, SiLU-multiply uses the original BF16 gate/up values in forward, which are released after use. To reduce overhead caused by quantization and dequantization operations, fused kernels are implemented to produce both the compressed backward state and the quantized inputs required by subsequent projections, avoiding additional GPU memory traffic.
Frozen base weights provide a complementary opportunity to further reduce quantization error at the offline phase. PACT adapts GPTQ (Frantar et al., 2023) to NVFP4 by evaluating representable block scales and constructing calibration statistics from quantized activations. This aligns weight calibration with the activation precision used during training. To further improve computation efficiency, PACT caches quantized weight representations in the layouts required by forward and input-gradient GEMMs, avoiding repeated weight quantization during training.
Our contributions are:
-
We design an NVFP4 LoRA data flow that combines accelerated frozen projections with compressed activation storage. It reuses quantized RMSNorm outputs and saves gate/up activations in NVFP4 for backward while preserving BF16 inputs for forward nonlinear computation.
-
We reduce quantization and dequantization overhead through fused Triton kernels and cached weight layouts. We also adapt GPTQ to NVFP4 block scales and quantized calibration inputs to reduce weight quantization error offline.
-
We evaluate PACT across language and vision-language tasks on a 16 GB consumer GPU. Compared with BF16 LoRA, PACT reduces peak memory by to and achieves to training-step speedups at matched batch shapes, with an average classification accuracy gap of at most 2.6 percentage points.
where is the per-tensor scaling factor and rounds to the nearest representable value in the target codebook . The code for is stored in bits.
Block-scaled quantization. The NVIDIA Blackwell architecture (NVIDIA, 2025a) introduces hardware acceleration for block-scaled formats. Unlike per-tensor methods, block-scaled quantization operates on small groups of elements, each with its own scaling factor. Specifically, MXFP4 groups 32 E2M1 elements under one E8M0 scale (Rouhani et al., 2023), whereas NVFP4 groups 16 E2M1 elements under one E4M3 scale (NVIDIA, 2025b). Although Blackwell supports both formats, this work focuses on NVFP4 for its finer-grained block size and higher-precision scaling factor. A detailed comparison is provided in Appendix A.
Low-rank adaptation (LoRA). LoRA (Hu et al., 2022) is a parameter-efficient fine-tuning method that freezes the pretrained weight and models its update as a low-rank product, , where and are the trainable low-rank factors with , while remains frozen throughout training. The forward pass is computed as
where A is initialized randomly and B is initialized to zero, so that at the start of fine-tuning and the pretrained behavior is preserved.
3 PACT
PACT uses native NVFP4 GEMMs to accelerate frozen projections (Section 3.1) and stores selected activations in NVFP4 for backward (Section 3.2), as shown in Figure 2. To limit quantization error, it preserves BF16 inputs for forward SiLU-multiply and calibrates frozen weights offline (Section 3.3). Fused kernels combine nonlinear computation with quantization and dequantization to reduce conversion overhead and intermediate memory traffic. Cached forward and backward weight layouts further avoid repeated weight quantization during training.
3.1 NVFP4 GEMM Acceleration
Linear layers. To accelerate both forward and backward computation, PACT executes all seven frozen projections in each decoder layer with native NVFP4 GEMMs, including query, key, value, attention output, gate, up, and down. For a frozen weight and input X, the forward and input-gradient computations are
We use for a quantized tensor and for its reconstruction. The backward weight is prepared separately as described in Section 3.3. Quantized operands include their scales. Both GEMMs accumulate in FP32 and return BF16 outputs.
To reduce quantization overhead, PACT fuses quantization into the RMSNorm and SiLU-multiply kernels that produce the projection inputs.

Figure 2: PACT decoder data flow. Native NVFP4 projections accelerate computation, while NVFP4 storage reduces retained activations. Attention backward state remains in BF16.
These kernels read BF16 inputs, compute in FP32, and write NVFP4 outputs directly. This avoids a separate quantization kernel and the additional write and read of a higher-precision output. Before each input-gradient GEMM, PACT quantizes the BF16 output gradient using an FP32 tensor scale and unsigned E4M3 (UE4M3) block scales. Appendix B.2 gives the scaling details.
LoRA layers. As illustrated in Figure 3, the LoRA branch reuses the reconstructed input and keeps its trainable factors A, B in BF16. With the adapter scaling factor set to one, as in our experiments, the forward pass is
Backward computes
The base input-gradient term uses NVFP4, while the adapter terms use BF16. The BF16 GEMMs are evaluated in the order indicated by the parentheses, avoiding the need to form the full weight update matrix BA. Attention and residual operations remain in BF16, with the complete precision allocation given in Appendix B.1 and the operator algorithms in Appendix B.4.

Figure 3: PACT LoRA linear-layer forward and backward paths, using NVFP4 for frozen base weights and BF16 for trainable adapter computation.
3.2 NVFP4 Activation Storage Reduction
Beyond accelerating GEMMs, PACT reduces memory by storing selected backward state in NVFP4. RMSNorm reuses its quantized output, while SiLU-multiply uses BF16 gate/up inputs in forward and retains separate NVFP4 copies for backward. Customized RMSNorm and SiLU-multiply kernels limit the overhead of storing and reconstructing these compressed activations.
Reuse RMSNorm outputs for backward. At the pre-attention RMSNorm, standard LoRA training saves the normalization input for RMSNorm backward and its output for adapter weight gradients. PACT instead reuses the NVFP4 output already produced for the Q/K/V projections. Together with a per-token normalization statistic, this output supports both adapter weight gradients and approximate RMSNorm backward, eliminating the separately saved input. The pre-MLP RMSNorm likewise retains its NVFP4 output for normalization backward.
Specifically, let , where and is the inverse root-mean-square statistic. For elementwise nonzero , the normalized input can be approximated as . Using the reconstructed output and the saved FP32 statistic , backward computes
Compress MLP intermediates for backward. SiLU-multiply backward requires the gate and up activations. To compress this state without adding quantization error to the forward inputs, PACT evaluates SiLU-multiply using the original BF16 values and saves separate NVFP4 copies. A fused kernel reads the BF16 gate/up values g, u, computes in FP32, and quantizes for the down projection. It also writes the NVFP4 gate/up copies in the same pass, avoiding separate kernels for saved-state quantization. The BF16 originals can then be released.
During backward, a fused kernel reconstructs the saved NVFP4 values on chip and computes approximate gradients
Fusing dequantization with derivative computation reduces conversion overhead by avoiding separate writes and reads of reconstructed gate/up tensors in GPU memory. The kernel returns BF16 gradients, which are subsequently quantized for the gate and up input-gradient GEMMs.
Analytical activation storage reduction. Within each decoder layer, PACT stores the pre-attention and pre-MLP RMSNorm outputs and the gate/up activations in NVFP4, while retaining the attention state in BF16. These choices yield the following estimate of activation storage relative to BF16 LoRA. Let bytes denote the storage required for one BF16 hidden-state tensor, where b, s, and d are the batch size, sequence length, and hidden dimension, respectively. Including block scales, NVFP4 requires approximately 28% of the storage of BF16. Using Llama-3B dimensions and counting the attention query, key, value, and output tensors at hidden width, the retained activation storage per layer is approximately
Under the same accounting, BF16 LoRA fine-tuning requires approximately 12.3U, yielding an estimated reduction in retained activation memory.
3.3 NVFP4 Weight Quantization and Calibration
Frozen weights allow PACT to further reduce quantization error before training. PACT adapts GPTQ by selecting representable NVFP4 block scales and constructing calibration statistics from quantized activations. It then caches the calibrated weights in the layouts required by forward and input-gradient GEMMs. Since the weights remain fixed, both calibration and layout preparation are performed only once.
NVFP4-aware scale selection. NVFP4 represents weights using the E2M1 codebook, an FP32 tensor scale , and UE4M3 scales shared by contiguous groups of 16 weights. Scale selection must therefore account for rounding in both the weight values and their block scales. Larger scales increase the representable range, while smaller scales improve resolution at the cost of clipping.
PACT evaluates candidate scales after rounding them to UE4M3, measuring reconstruction error with E2M1 weights. For , groups follow the forward reduction dimension . Given a current, error-compensated group , a candidate factor defines
Here, UE4M3 and E2M1 round to the corresponding representable values. We choose the candidate that minimizes and hold its scale fixed during subsequent column quantization. The candidate set covers both scale expansion and clipping. Appendix B.2 provides the search factors and tensor-scale definition.
Calibration under quantized activations. To account for activation quantization during weight calibration, PACT constructs GPTQ's calibration statistics from reconstructed NVFP4 inputs . This aligns the calibration objective with the activation precision used during training:
where m is the number of calibration token rows and denotes the set of representable weight tensors. To reduce this output discrepancy, PACT quantizes columns sequentially and compensates the remaining weights for each column's quantization error using inverse-Hessian updates. Both scale selection and error compensation therefore account for the numerical representation used by PACT's forward GEMMs.
Forward and backward weight layouts. The forward GEMM uses NVFP4 , while the input-gradient GEMM uses a separately quantized representation . However, NVFP4 groups weights along the GEMM reduction dimension, which changes from in forward to in backward. Simply transposing the packed forward representation therefore does not produce the required backward layout. PACT reconstructs and transposes the calibrated forward weights, then requantizes them into NVFP4 along the new reduction dimension using separate block and tensor scales. Caching both layouts removes weight transposition and requantization from the training loop, reducing conversion overhead in both forward and backward computation.
4 Experiments
We evaluate PACT’s adaptation quality, training speed, and memory usage, and compare it with alternative approaches to reducing activation memory.
4.1 Models, Protocol, and Baselines
Models and datasets. We study three open-weight LLMs with 1 to 3B parameters: Llama-3.2-1B, Llama-3.2-3B (Grattafori et al., 2024), and Qwen2.5-1.5B (Yang et al., 2024). We abbreviate the two Llama models as Llama-1B and Llama-3B. Our classification and multiple-choice benchmarks include SST-2 for sentiment classification (Wang et al., 2019b), ARC-Easy and ARC-Challenge for science question answering (Clark et al., 2018), and WinoGrande for commonsense reasoning (Sakaguchi et al., 2021). We also evaluate five SuperGLUE tasks (Wang et al., 2019a): BoolQ for reading comprehension, RTE for textual entailment, WSC for coreference resolution, WiC for word-sense disambiguation, and COPA for causal reasoning. To evaluate open-ended generation, we use SQuAD for reading comprehension (Rajpurkar et al., 2016), GSM8K for mathematical reasoning (Cobbe et al., 2021), and SAMSum for dialogue summarization (Gliwa et al., 2019). For vision-language adaptation, we fine-tune the language decoder of Qwen2.5-VL-3B-Instruct (Bai et al., 2025) on the image-based questions in ScienceQA (Lu et al., 2022).
Baselines. We compare PACT with four baselines: zero-shot evaluation, BF16 LoRA as the higher-precision reference, QLoRA with 4-bit NF4 frozen weights, BF16 activations and no gradient checkpointing, and NVFP4 TE. NVFP4 TE is NVIDIA's TransformerEngine (NVIDIA, 2026) implementation of NVFP4 mixed-precision pretraining, which we modify to support LoRA fine-
| Model | Method | SST-2 | RTE | BoolQ | WSC | WiC | COPA | WinoG. | ARC-E | ARC-C | Avg. |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Llama-1B | Zero-shot | .589 | .520 | .584 | .365 | .500 | .730 | .575 | .472 | .313 | .516 |
| BF16 LoRA | .946 | .816 | .811 | .635 | .705 | .777 | .645 | .755 | .475 | .729 | |
| QLoRA | .944 | .786 | .817 | .635 | .705 | .767 | .622 | .728 | .433 | .715 | |
| TE | .932 | .785 | .802 | .571 | .657 | .793 | .602 | .698 | .372 | .690 | |
| PACT | .940 | .823 | .790 | .551 | .665 | .777 | .612 | .729 | .444 | .703 | |
| Llama-3B | Zero-shot | .589 | .473 | .680 | .413 | .500 | .780 | .661 | .803 | .667 | .618 |
| BF16 LoRA | .955 | .889 | .876 | .625 | .722 | .870 | .752 | .866 | .738 | .810 | |
| QLoRA | .955 | .862 | .875 | .641 | .714 | .877 | .736 | .860 | .712 | .804 | |
| TE | .953 | .866 | .870 | .615 | .708 | .867 | .713 | .844 | .690 | .792 | |
| PACT | .950 | .866 | .869 | .638 | .721 | .870 | .737 | .846 | .707 | .801 | |
| Qwen2.5-1.5B | Zero-shot | .573 | .805 | .717 | .471 | .558 | .770 | .598 | .869 | .707 | .674 |
| BF16 LoRA | .945 | .863 | .841 | .619 | .724 | .830 | .660 | .906 | .816 | .800 | |
| QLoRA | .944 | .842 | .843 | .625 | .700 | .813 | .638 | .904 | .786 | .788 | |
| TE | .935 | .839 | .825 | .571 | .714 | .797 | .634 | .878 | .781 | .775 | |
| PACT | .941 | .853 | .837 | .615 | .703 | .823 | .625 | .899 | .782 | .787 |
Table 2: Classification and multiple-choice accuracy across nine tasks. PACT retains most of the BF16 fine-tuning gains and exceeds TE in average accuracy on all three models.
tuning. Its linear GEMMs run on NVFP4 tensor cores, while non-linear operators, the LoRA branch, and saved activations remain in BF16.
Hyperparameters and hardware. For the matched classification experiments, we use rank-16 LoRA adapters on the query and value projections and train for up to 500 optimizer steps or two epochs, whichever comes first. For each task and method, we sweep learning rates and select the rate with the highest mean accuracy across seeds 42, 43, and 44. All main experiments use PyTorch 2.11.0, FlashAttention 2.8.3, and CUDA 13.2 on a single RTX 5080 GPU with 16 GB of memory. Appendix C provides the task-specific training and evaluation settings.
4.2 Adaptation Quality
Classification. Table 2 shows that PACT preserves substantial fine-tuning gains, improving average accuracy over zero-shot evaluation by more than 11 percentage points across the three models. Its average accuracy exceeds TE on all three models and remains within 0.3 points of QLoRA on Llama-3B and Qwen2.5-1.5B, despite also quantizing activations and input-gradient GEMM operands. Relative to BF16 LoRA, the average gap is 0.9 to 1.3 points on these two models and 2.6 points on Llama-1B. Sensitivity remains task-dependent: Llama-1B shows larger losses on WSC and WiC, while slightly improving on RTE and matching BF16 on COPA.
Open-ended generation. Table 3 reports SQuAD F1, GSM8K exact match, and SAMSum
| Model | Method | SQuAD F1 | GSM8K EM | SAMSum R-L |
|---|---|---|---|---|
| Llama-1B | BF16 LoRA | .806 | .170 | .418 |
| QLoRA | .793 | .161 | .413 | |
| TE | .761 | .131 | .405 | |
| PACT | .782 | .148 | .408 | |
| Llama-3B | BF16 LoRA | .837 | .393 | .444 |
| QLoRA | .845 | .373 | .442 | |
| TE | .832 | .338 | .435 | |
| PACT | .842 | .371 | .444 | |
| Qwen2.5-1.5B | BF16 LoRA | .833 | .606 | .423 |
| QLoRA | .822 | .565 | .423 | |
| TE | .797 | .493 | .417 | |
| PACT | .824 | .585 | .416 |
Table 3: Generation quality on SQuAD, GSM8K, and SAMSum. PACT exceeds TE on eight of nine model and task combinations.
ROUGE-L. PACT outperforms TE on eight of nine model and task combinations and generally approaches QLoRA. On Llama-3B, it slightly exceeds BF16 on SQuAD (0.842 vs. 0.837) and matches it on SAMSum, although both tasks show modest gaps on the smaller models. GSM8K remains more sensitive, with PACT trailing BF16 by about two percentage points across all three models. Nevertheless, on Qwen2.5-1.5B, PACT exceeds QLoRA and TE on GSM8K by 2.0 and 9.2 points, respectively.
Vision-language adaptation. We extend PACT to the language decoder of Qwen2.5-VL-3B while keeping the vision encoder and merger frozen in BF16. On ScienceQA image questions (Table 4), calibrating with 128 training image prompts instead of WikiText improves accuracy by 4.1 percentage

Figure 4: Training-step time and peak memory at fixed batch size and sequence length. PACT lowers both costs and fits workloads that exceed the memory budget of other methods.
| Qwen2.5-VL-3B / ScienceQA | Before | After |
|---|---|---|
| BF16 LoRA | .779 | .936 |
| PACT, text calibration | .754 | .876 |
| PACT, image-prompt calibration | .762 | .917 |
Table 4: ScienceQA image-question accuracy before and after adaptation. Image-prompt calibration narrows the gap between PACT and BF16 LoRA.
points to 0.917, bringing PACT within 1.9 points of BF16 LoRA. These results demonstrate that PACT also supports effective multimodal adaptation when calibrated with representative inputs.
4.3 Memory and Throughput
Fixed-shape execution. Figure 4 compares training-step time and peak memory at batch size 4. At sequence length 1,024, PACT achieves to speedups over BF16 LoRA on Llama-1B and Qwen2.5-1.5B while reducing peak memory by to . It also enables Llama-3B training where BF16 runs out of memory. Across all three models, PACT outperforms QLoRA and TE in both speed and memory usage. These gains come from jointly reducing computation and activation storage: QLoRA compresses frozen weights but retains BF16 GEMMs and activations, while TE accelerates GEMMs but retains higher-precision saved state.
The memory savings also enable longer sequences. At length 2,048, PACT fits all three models and is the only evaluated method that fits Llama-3B at batch 4, using 13.11 GB. On Qwen2.5-1.5B, it uses roughly half the memory of QLoRA (8.04 vs.
| Model | Method | Tested batch | Tokens/s |
|---|---|---|---|
| Llama-1B | BF16 LoRA | 10 | 17,162 |
| QLoRA | 12 | 16,800 | |
| TE | 12 | 27,113 | |
| PACT | 26 | 31,723 | |
| Llama-3B | BF16 LoRA | 2 | 6,217 |
| QLoRA | 4 | 6,454 | |
| TE | 4 | 12,738 | |
| PACT | 10 | 14,985 | |
| Qwen2.5-1.5B | BF16 LoRA | 4 | 12,365 |
| QLoRA | 8 | 13,140 | |
| TE | 4 | 17,935 | |
| PACT | 16 | 22,949 |
Table 5: Throughput at each method's largest tested fitting batch at sequence length 1,024. PACT supports larger batches and achieves the highest throughput on all three models.
15.61 GB). These measurements include weights, activations, and temporary buffers, whereas Equation 12 estimates only retained activation storage.
Capacity and throughput. Table 5 shows how PACT's memory savings translate into larger batches and higher throughput at sequence length 1,024. PACT supports batches of 26, 10, and 16 on Llama-1B, Llama-3B, and Qwen2.5-1.5B, respectively, compared with 10, 2, and 4 for BF16 LoRA. At each method's largest tested fitting batch, PACT achieves to the throughput of BF16, to that of QLoRA, and to that of TE. These gains combine faster execution with increased batch capacity. The reported batches are the largest found by a discrete search. Appendix D compares PACT with other

Llama3.2-1B, ARC-Easy
Figure 5: Llama-1B accuracy versus wall-clock training time. PACT has the lowest training time for the same number of training steps.
activation memory reduction methods such as gradient checkpointing and HyC-LoRA (Wang et al., 2025).
End-to-end training time. To evaluate whether per-step speedups translate into shorter training runs, Figure 5 compares training time on Llama-1B with matched update budgets of 1,000 steps for BoolQ and 537 steps for ARC-Easy. All four methods use batch size 16 and the same task-specific learning rate, with three seeds per method. Sequences are padded to the longest sequence in each batch, so the padded sequence length may vary across training steps. Time is measured as the number of updates multiplied by the median step time, excluding evaluation and offline calibration. PACT has the lowest wall-clock training time on both tasks, indicating that its operator-level acceleration can shorten training runs.
5 Related Work
Mixed-Precision Training. The seminal work of Micikevicius et al. (2018) introduced FP16-based mixed-precision training: a forward pass casts higher-precision weights and activations to lower-precision at the GEMM boundary, executes the linear-layer GEMM in lower-precision, and writes back a higher-precision output. Recent works (Micikevicius et al., 2022; DeepSeek-AI, 2024; NVIDIA, 2025b) extend the approach to FP8 and FP4. Quantizing GEMM operands alone does not necessarily reduce the memory occupied by saved activations. PACT combines native NVFP4 GEMMs with NVFP4 storage of selected backward state.
Post-Training Quantization (PTQ) and Quantization-Aware Training (QAT). PTQ (Dettmers et al., 2022; Frantar et al., 2023; Xiao et al., 2023; Lin et al., 2024) converts pretrained models to low-bit representations for efficient inference, typically using a small calibration dataset. QAT (Jacob et al., 2018; Nagel et al., 2021; Liu et al., 2024; Chen et al., 2025) instead simulates quantization during training so that parameters adapt to rounding error. Fake-quantization QAT retains higher-precision GEMMs and adds quantization overhead, rather than directly accelerating training. Both primarily target deployment efficiency. PACT uses offline calibration to prepare frozen weights, then executes base-projection GEMMs directly in NVFP4 during fine-tuning.
Memory-Efficient Edge Training. Lin et al. (2022) restrict trainable parameters to selected layers and channels, enabling on-device training within 256 KB. PockEngine (Zhu et al., 2023) similarly reduces backward computation through sparse updates. FwdLLM (Xu et al., 2023) avoids storing backward activations through backpropagation-free gradient estimation, while MobiZO (Gao et al., 2025) uses parallelized zeroth-order optimization. These approaches reduce training work or change gradient estimation. PACT retains first-order LoRA optimization and targets computation and storage precision. HyC-LoRA (Wang et al., 2025) reduces retained activation memory through hybrid compression, but the computation is still performed in higher-precision.
6 Conclusion
PACT accelerates LoRA fine-tuning with native NVFP4 GEMMs and reduces memory usage by compressing activations retained for backward. Its data flow is designed to reduce quantization and dequantization overhead while limiting quantization error across forward and backward computation. Experiments on a 16 GB RTX 5080 demonstrate faster training and lower memory usage with competitive adaptation quality across language and vision-language tasks. These results support practical model adaptation on memory-constrained consumer GPUs.
Limitations
This work focuses on SLMs in the 1B to 3B range, where activation memory is a major bottleneck for LoRA fine-tuning on memory-constrained edge hardware. Scaling PACT to larger models may introduce additional numerical and systems challenges. PACT currently retains attention computation in BF16. Extending NVFP4 computation to FlashAttention is a direction for future work. Our evaluation also uses a single memory-constrained GPU. Multi-GPU and datacenter settings, where communication, sharding, and pipeline parallelism alter the trade-offs, remain unexplored. Finally, PACT targets transformer decoders with LoRA adapters. Extending its low-precision computation and activation storage to other architectures and adaptation methods remains future work. This work develops an efficiency method for SLM fine-tuning and does not introduce new model capabilities or deployment risks.
References
Shuai Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge, Sibo Song, Kai Dang, Peng Wang, Shijie Wang, Jun Tang, Humen Zhong, Yuanzhi Zhu, Mingkun Yang, Zhaohai Li, Jianqiang Wan, Pengfei Wang, Wei Ding, Zheren Fu, Yiheng Xu, and 8 others. 2025. Qwen2.5-VL technical report. arXiv preprint arXiv:2502.13923.
Mengzhao Chen, Wenqi Shao, Peng Xu, Jiahao Wang, Peng Gao, Kaipeng Zhang, and Ping Luo. 2025. EfficientQAT: Efficient quantization-aware training for large language models. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 10081–10100.
Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. 2018. Think you have solved question answering? try ARC, the AI2 reasoning challenge. arXiv preprint arXiv:1803.05457.
Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. 2021. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168.
DeepSeek-AI. 2024. DeepSeek-V3 technical report. arXiv preprint arXiv:2412.19437.
Tim Dettmers, Mike Lewis, Younes Belkada, and Luke Zettlemoyer. 2022. LLM.int8(): 8-bit matrix multiplication for transformers at scale. In Advances in
Neural Information Processing Systems (NeurIPS), volume 35, pages 30318–30332.
Tim Dettmers, Artidoro Pagnoni, Ari Holtzman, and Luke Zettlemoyer. 2023. QLoRA: Efficient finetuning of quantized LLMs. In Advances in Neural Information Processing Systems (NeurIPS), volume 36, pages 10088–10115.
Elias Frantar, Saleh Ashkboos, Torsten Hoefler, and Dan Alistarh. 2023. GPTQ: Accurate post-training quantization for generative pre-trained transformers. In International Conference on Learning Representations (ICLR).
Lei Gao, Amir Ziashahabi, Yue Niu, Salman Avestimehr, and Murali Annavaram. 2025. MobiZO: Enabling efficient LLM fine-tuning at the edge via inference engines. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 20206–20223.
Amir Gholami, Sehoon Kim, Zhen Dong, Zhewei Yao, Michael W. Mahoney, and Kurt Keutzer. 2021. A survey of quantization methods for efficient neural network inference. arXiv preprint arXiv:2103.13630.
Bogdan Gliwa, Iwona Mochol, Maciej Biesek, and Aleksander Wawer. 2019. SAMSum corpus: A human-annotated dialogue dataset for abstractive summarization. In Proceedings of the 2nd Workshop on New Frontiers in Summarization, pages 70–79.
Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, Amy Yang, Angela Fan, Anirudh Goyal, Anthony Hartshorn, Aobo Yang, Archi Mitra, Archie Sravankumar, Artem Korenev, Arthur Hinsvark, and 542 others. 2024. The Llama 3 herd of models. arXiv preprint arXiv:2407.21783.
Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2022. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations (ICLR).
Benoit Jacob, Skirmantas Kligys, Bo Chen, Menglong Zhu, Matthew Tang, Andrew Howard, Hartwig Adam, and Dmitry Kalenichenko. 2018. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2704–2713.
Ji Lin, Jiaming Tang, Haotian Tang, Shang Yang, Wei-Ming Chen, Wei-Chen Wang, Guangxuan Xiao, Xingyu Dang, Chuang Gan, and Song Han. 2024. AWQ: Activation-aware weight quantization for on-device LLM compression and acceleration. In Proceedings of Machine Learning and Systems (MLSys), volume 6, pages 87–100.
Ji Lin, Ligeng Zhu, Wei-Ming Chen, Wei-Chen Wang, Chuang Gan, and Song Han. 2022. On-device training under 256KB memory. In Advances in Neural Information Processing Systems (NeurIPS), volume 35, pages 22941–22954.
Zechun Liu, Barlas Oguz, Changsheng Zhao, Ernie Chang, Pierre Stock, Yashar Mehdad, Yangyang Shi, Raghuraman Krishnamoorthi, and Vikas Chandra. 2024. LLM-QAT: Data-free quantization aware training for large language models. In Findings of the Association for Computational Linguistics: ACL 2024, pages 467–484.
Pan Lu, Swaroop Mishra, Tony Xia, Liang Qiu, Kai-Wei Chang, Song-Chun Zhu, Oyvind Tafjord, Peter Clark, and Ashwin Kalyan. 2022. Learn to explain: Multimodal reasoning via thought chains for science question answering. In Advances in Neural Information Processing Systems (NeurIPS), volume 35, pages 2507–2521.
Paulius Micikevicius, Sharan Narang, Jonah Alben, Gregory Diamos, Erich Elsen, David Garcia, Boris Ginsburg, Michael Houston, Oleksii Kuchaiev, Ganesh Venkatesh, and Hao Wu. 2018. Mixed precision training. In International Conference on Learning Representations (ICLR).
Paulius Micikevicius, Dusan Stosic, Neil Burgess, Marius Cornea, Pradeep Dubey, Richard Grisenthwaite, Sangwon Ha, Alexander Heinecke, Patrick Judd, John Kamalu, Naveen Mellempudi, Stuart Oberman, Mohammad Shoeybi, Michael Siu, and Hao Wu. 2022. FP8 formats for deep learning. arXiv preprint arXiv:2209.05433.
Markus Nagel, Marios Fournarakis, Rana Ali Amjad, Yelysei Bondarenko, Mart van Baalen, and Tijmen Blankevoort. 2021. A white paper on neural network quantization. arXiv preprint arXiv:2106.08295.
NVIDIA. 2025a. NVIDIA RTX Blackwell GPU Architecture.
NVIDIA. 2025b. Pretraining large language models with NVFP4. arXiv preprint arXiv:2509.25149.
NVIDIA. 2026. NVIDIA Transformer Engine.
Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. SQuAD: 100,000+ questions for machine comprehension of text. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 2383–2392.
Bita Darvish Rouhani, Ritchie Zhao, Ankit More, Mathew Hall, Alireza Khodamoradi, Summer Deng, Dhruv Choudhary, Marius Cornea, Eric Dellinger, Kristof Denolf, Dusan Stosic, Venmugil Elango, Maximilian Golub, Alexander Heinecke, Phil James-Roxby, Dharmesh Jani, Gaurav Kolhe, Martin Langhammer, Ada Li, and 14 others. 2023. Microscaling data formats for deep learning. arXiv preprint arXiv:2310.10537.
Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. 2021. WinoGrande: An adversarial winograd schema challenge at scale. Communications of the ACM, 64(9):99–106.
Zhaoxuan Tan, Qingkai Zeng, Yijun Tian, Zheyuan Liu, Bing Yin, and Meng Jiang. 2024. Democratizing large language models via personalized parameter-efficient fine-tuning. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 6476–6491.
Alex Wang, Yada Pruksachatkun, Nikita Nangia, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. 2019a. SuperGLUE: A stickier benchmark for general-purpose language understanding systems. In Advances in Neural Information Processing Systems (NeurIPS), volume 32.
Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. 2019b. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In International Conference on Learning Representations (ICLR).
Yujin Wang, Shunan Dong, Zongle Huang, Yichen You, Liu He, Huazhong Yang, Yongpan Liu, and Hongyang Jia. 2025. HyC-LoRA: Memory efficient LoRA fine-tuning with hybrid activation compression. In Proceedings of Machine Learning and Systems (MLSys), volume 7.
Guangxuan Xiao, Ji Lin, Mickael Seznec, Hao Wu, Julien Demouth, and Song Han. 2023. SmoothQuant: Accurate and efficient post-training quantization for large language models. In International Conference on Machine Learning, pages 38087–38099.
Jiajun Xu, Zhiyuan Li, Wei Chen, Qun Wang, Xin Gao, Qi Cai, and Ziyuan Ling. 2024. On-device language models: A comprehensive review. arXiv preprint arXiv:2409.00088.
Mengwei Xu, Dongqi Cai, Yaozong Wu, Xiang Li, and Shangguang Wang. 2023. FwdLLM: Efficient FedLLM using forward gradient. arXiv preprint arXiv:2308.13894.
An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoran Wei, Huan Lin, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jingren Zhou, Junyang Lin, Kai Dang, and 23 others. 2024. Qwen2.5 technical report. arXiv preprint arXiv:2412.15115.
Ligeng Zhu, Lanxiang Hu, Ji Lin, Wei-Chen Wang, Wei-Ming Chen, Chuang Gan, and Song Han. 2023. Pock-Engine: Sparse and efficient fine-tuning in a pocket. In Proceedings of the 56th Annual IEEE/ACM International Symposium on Microarchitecture (MICRO).
A Comparison of MXFP4 and NVFP4
MXFP4 and NVFP4 pair four-bit E2M1 values with a shared block scale. The E2M1 codebook contains 15 distinct values,
Table 6 compares their block sizes and scale formats. Including the eight-bit block scale, MXFP4 requires bits per element, and NVFP4 requires bits per element. This accounting excludes padding and the additional FP32 tensor scale used for weights and backward gradients in PACT.
| Property | MXFP4 | NVFP4 |
|---|---|---|
| Block size | 32 | 16 |
| Element format | E2M1 | E2M1 |
| Block-scale format | E8M0 | E4M3 |
| Bits per element | 4.25 | 4.50 |
Table 6: MXFP4 and NVFP4 format parameters, showing that NVFP4 uses smaller groups and more precise block scales at a slightly higher storage cost.
Block size. Sharing a scale among fewer elements limits the number of values affected by an outlier within a block. PACT uses NVFP4's groups of 16 along the reduction dimension of each GEMM, allowing adjacent groups to use different scales.
Scale precision. E8M0 represents power-of-two scales, while E4M3 provides three mantissa bits within each exponent. NVFP4 therefore permits finer scale adjustment, which PACT accounts for when selecting weight block scales. NVFP4 activation storage is approximately of BF16 before padding and auxiliary statistics.
B Implementation Details
B.1 Precision and Saved State
Table 7 separates the formats used for forward computation, retained state, and backward computation. All seven frozen projections in every decoder layer use NVFP4 operands. Nonlinear arithmetic and reductions use FP32, while attention, residuals, and adapter computation retain BF16 tensors. This precision allocation applies to the Q/V-only adapter configuration used in our main experiments.
The quantized pre-attention RMSNorm output is shared by the Q/K/V projections, the Q/V adapters, and RMSNorm backward. The MLP retains its quantized RMSNorm output and gate/up copies for the nonlinear backward kernels. The down-projection input can be released after forward because the frozen down projection needs only its weight and output gradient during backward. The quantized input to the frozen attention output projection can also be released after forward, although the BF16 attention output remains part of the attention backward state. These lifetimes explain the retained-state terms in Equation 12.
B.2 Quantizer and Weight Preparation
Weight scales. For a frozen weight , PACT uses the FP32 tensor scale , with a positive floor for zero-valued inputs. Each row is partitioned into groups of 16 along the forward reduction dimension. The scale search in Section 3.3 evaluates nine factors: 1.5, 1.25, 1.0, 0.95, 0.90, 0.85, 0.80, 0.75, and 0.70. Each candidate scale is rounded to UE4M3 before measuring reconstruction error. The selected group scale remains fixed during subsequent column quantization and error compensation.
Calibration settings. GPTQ uses processing blocks of 128 columns, groups of 16 columns, and diagonal damping equal to of the mean Hessian diagonal. Projections are processed in the order Q/K/V, attention output, gate/up, and down. Text calibration uses 128 sequences of length 512 sampled from the WikiText-2 training split with seed zero. The input Hessian is accumulated from reconstructed NVFP4 activations, so weight calibration uses the activation precision of the forward GEMMs. ScienceQA image-prompt calibration uses 128 training prompts containing images. Weight preparation is performed once and cached for subsequent fine-tuning runs.
Backward layout. PACT reconstructs the calibrated forward weight, transposes it, casts it to BF16, and applies round-to-nearest NVFP4 quantization along the new reduction dimension. The resulting representation has its own tensor and block scales. Both packed layouts are cached and reused throughout fine-tuning. Their reconstructed values may differ because their quantization groups follow different dimensions, so the base input-gradient GEMM approximates the backward pass of the forward weight representation.
Activation and gradient scales. The fused RM-SNorm and SiLU-multiply forward kernels use block scales without an additional tensor scale in the default configuration. Before an input-gradient
| Component | Forward computation | State retained for backward | Backward computation |
| Frozen projections | NVFP4 GEMMs with FP32 accumulation and BF16 output | Cached forward and backward NVFP4 weight layouts | NVFP4 input-gradient GEMMs |
| RMSNorm | BF16 input and FP32 normalization | NVFP4 output and FP32 per-token normalization statistic | FP32 reconstruction and reduction, BF16 gradient |
| SiLU-multiply | BF16 gate/up inputs and FP32 arithmetic | Separate NVFP4 gate/up copies | FP32 reconstruction and derivatives, BF16 gradients |
| Attention and RoPE | BF16 tensors | Standard attention backward state | Standard attention backward path |
| LoRA branch | BF16 GEMMs on reconstructed inputs | Shared NVFP4 input and BF16 adapter parameters | BF16 adapter gradients and input gradients |
| Residuals | BF16 addition | As required by the surrounding operators | BF16 gradient accumulation |
| Embeddings and LM head | Higher-precision path | As required by the original operators | Original operators and fused cross-entropy |
Table 7: PACT's precision allocation, showing how native NVFP4 projections and compressed backward state coexist with higher-precision computation.
GEMM, the backward quantizer uses
with a positive floor, followed by UE4M3 scales for groups of 16 values. The GEMM epilogue applies the product of the gradient and weight tensor scales. Keeping these scales on the device avoids a host-side scalar read during each GEMM. Tensor scaling adapts the quantizer to the gradient range, although sufficiently small values can still round to zero.
B.3 Nonlinear Backward Computation
For RMSNorm, the saved FP32 statistic is
With frozen normalization weights , PACT reconstructs the normalized input from the saved output as and evaluates Equation 9. This removes the separate retained input tensor. For a zero normalization weight, the implementation sets the corresponding reconstructed coordinate to zero to avoid division by zero. The reconstruction is approximate because the retained output is quantized.
For SiLU-multiply, let denote the sigmoid function. The backward kernel reconstructs and from their saved NVFP4 copies and evaluates
Reconstruction and derivative evaluation take place within the same kernel, which writes BF16 gradients. Subsequent input-gradient GEMMs quantize these gradients using the scaling scheme in Appendix B.2.
B.4 Operator Algorithms
Algorithms 1 and 2 summarize the nonlinear and LoRA linear operators. Quantized tensors include their scales. A nonlinear operator consumes BF16 inputs, performs arithmetic in FP32, and writes packed NVFP4 outputs. Its retained state is chosen for the backward expressions in Appendix B.3.
The implementation pads token rows to multiples of 128 and stores scales in the layout required by the NVFP4 GEMM kernels. RMSNorm first computes the per-token statistic, then normalizes and quantizes its output. SiLU-multiply produces its quantized output and two retained input copies in one fused kernel. Nonlinear outputs are quantized before they are written to global memory, avoiding a separate higher-precision output buffer.
The adapter GEMMs contract with the rank-r factors first, as shown in Algorithm 2. This keeps intermediate tensors low-rank and gives adapter computation a cost proportional to without materializing a dense adapter weight update. Frozen projections without adapters omit the adapter computations and do not retain their input solely for weight-gradient computation.
C Training and Evaluation Protocol
Compute budget. We estimate the total computational cost of this study at approximately 200
Algorithm 1 PACT nonlinear forward operations produce NVFP4 projection inputs while retaining compressed backward state.
1: procedure RMSNORMFORWARD(X, , ) 2: Read BF16 X and compute each token's inverse RMS in FP32 3: Compute in FP32 4: Quantize and store for the subsequent projections 5: Retain and for backward 6: return 7: end procedure
8: procedure SILUMULTIPLYFORWARD(g, u) 9: Read BF16 gate/up outputs g, u 10: Compute in FP32 11: Quantize and store for the down projection 12: Quantize and retain and for backward 13: Release the BF16 gate/up outputs after their forward use 14: return 15: end procedure
GPU hours on an RTX 5080, including calibration, hyperparameter search, training, evaluation, and profiling.
C.1 Task Formulation and Prompts
We formulate fine-tuning as conditional generation and compute next-token cross-entropy only on the target tokens. Table 8 summarizes the input and target structures. Classification uses short verbalized labels, while COPA and WinoGrande use candidate continuations. Generation tasks use an answer, reasoning solution, or summary as the target. Prompt and padding positions are masked out of the loss.
C.2 Classification and Multiple Choice
The main classification protocol uses rank-16 adapters on Q/V projections with adapter scaling equal to one. Fine-tuning uses AdamW and a constant learning rate selected from the sweep in Section 4.1. Only adapter parameters are updated. Dataset order and subsampling follow seeds 42, 43, and 44. We first average the scores for a learning rate across seeds, then select the best mean for each task and method. The Avg. column of Table 2 weights the nine tasks equally, and zero-shot scores are reported before adaptation. For label-based tasks, evaluation selects the most likely candidate answer token. COPA and WinoGrande compare the mean log-probability of target tokens for each candidate continuation, with paired candidates kept together.
C.3 Open-Ended Generation
Generation runs use 500 optimizer steps, up to 4,000 training examples, and 500 evaluation examples per seed. We select the learning rate with the highest mean score among rates with completed runs for all three seeds, using candidates and . Evaluation is greedy, with no sampling and one beam. SQuAD generates at most 50 tokens and is scored with normalized token F1. GSM8K generates at most 320 tokens and uses exact match of the extracted final number. SAMSum generates at most 80 tokens and uses ROUGE-L F1. Generation stops at the configured newline or end-of-sequence token.
C.4 Vision-Language Adaptation
ScienceQA uses image-bearing training and validation examples and evaluates answer-letter accuracy on 1,000 examples. The image encoder and merger remain frozen, and adaptation changes only the decoder adapters. PACT uses micro-batch size 4 with four accumulation steps, while BF16 uses micro-batch size 2 with eight accumulation steps, giving the same effective batch size of 16. Runs train for 500 steps. Text calibration is evaluated with learning rates , , and . The image-prompt calibration result averages three runs at . Calibration prompts come from the training split.
Algorithm 2 PACT LoRA linear forward and backward operations combine NVFP4 base GEMMs with BF16 adapter computation.
Require: NVFP4 input , cached NVFP4 weights , BF16 adapters A, B
Forward
1: using an NVFP4 GEMM
2: Reconstruct in BF16 for the adapter branch
3: using BF16 adapter GEMMs
4: Retain the shared NVFP4 input for adapter gradients
5: return Y
Backward, given BF16
6: Quantize with tensor and block scales
7: using an NVFP4 GEMM
8: Reconstruct in BF16
9:
10:
11:
12: return
| Task | Input structure | Target |
|---|---|---|
| SST-2 | Sentence followed by “It was” | terrible / great |
| RTE | Premise and a question asking whether the hypothesis is true | Yes / No |
| BoolQ | Passage followed by the question | Yes / No |
| WSC | Text and a question about the pronoun's referent | Yes / No |
| WiC | Word, two sentences, and a question about shared meaning | Yes / No |
| COPA | Premise followed by “because” or “so” | Candidate continuation |
| WinoGrande | Sentence prefix before the blank | Option and sentence suffix |
| ARC-Easy / ARC-Challenge | Question, labeled options, and “Answer:” | Answer letter |
| SQuAD | Title, context, question, and “Answer:” | Short answer |
| GSM8K | Question followed by “Answer:” | Solution and final number |
| SAMSum | Dialogue followed by “Summary:” | Dialogue summary |
| ScienceQA | Image, question, and labeled options | Answer letter |
Table 8: Task input and target structures, showing how classification, generation, and vision-language adaptation share a target-token training objective.
D Comparison with Activation-Memory Reduction Methods
We compare PACT with decoder-layer checkpointing and HyC-LoRA (Wang et al., 2025) to evaluate the memory savings and execution costs of recomputation and activation compression.
D.1 Gradient Checkpointing
Table 9 compares Llama-1B configurations at batch size 4 and sequence length 1,024. Checkpointed BF16 LoRA uses less memory than PACT alone but takes substantially longer per step. Combining PACT with checkpointing reduces peak memory to 2.27 GB, using 28% less memory and running faster than checkpointed BF16 LoRA. Activation compression and recomputation therefore provide complementary benefits.
Checkpointing uses non-reentrant recomputation
| Llama-1B | Step (ms) | Peak (GB) |
|---|---|---|
| BF16 LoRA | 240 | 7.06 |
| BF16 + checkpointing | 310 | 3.14 |
| PACT | 125 | 3.72 |
| PACT + checkpointing | 159 | 2.27 |
Table 9: Training time and peak memory with decoder-layer checkpointing.
for each decoder layer. At sequence length 1,024, it increases the largest tested fitting batch from 10 to 78 for BF16 LoRA and from 26 to 88 for PACT. These capacity gains do not imply proportional throughput improvements.
D.2 HyC-LoRA
We evaluate the released HyC-LoRA implementation on Llama-1B using the same RTX 5080, comparing each method with its own uncompressed
| Shape | HyC-LoRA setting | MiB | ms |
|---|---|---|---|
| 4×512 | Own baseline | 9,706 | 194 |
| 2-bit compression | 6,112 | 219 | |
| 4-bit compression | 6,341 | n/a | |
| 8×512 | Own baseline | OOM | n/a |
| 2-bit compression | 9,627 | 425 | |
| 4-bit compression | 10,088 | n/a | |
| 4×1024 | Own baseline | OOM | n/a |
| 2-bit compression | 10,140 | 490 | |
| 4-bit compression | 10,607 | n/a |
Table 10: HyC-LoRA allocated memory and step time. Shapes denote batch size × sequence length. The abbreviation n/a indicates unmeasured timing.
reference at batch size 4 and sequence length 512. Two-bit HyC-LoRA reduces allocated memory by but increases step time by (Table 10). PACT reduces peak memory by and step time by relative to BF16 LoRA. These within-implementation results show that PACT combines memory savings with faster execution by reusing quantized activations and accelerating frozen projections with native NVFP4 GEMMs. HyC-LoRA also enables larger workloads, including and , that exceed its uncompressed reference's memory capacity. Absolute values are not directly comparable across the two methods because their implementations and configurations differ.
E Training-Step Time Breakdown
Table 11 profiles Llama-1B at batch size 4 and sequence length 1,024. PACT shifts frozen-projection computation to NVFP4, substantially reducing GEMM time. Attention, higher-precision operations, and quantization overhead remain, limiting the whole-step speedup relative to individual NVFP4 GEMMs.
| CUDA-time category (ms) | BF16 LoRA | PACT |
|---|---|---|
| BF16 GEMMs | 202.7 | 48.9 |
| NVFP4 GEMMs | 0 | 25.6 |
| Quantization / fused kernels | 0 | 17.1 |
| Attention | 12.9 | 12.7 |
| Elementwise / other | 21.5 | 21.8 |
| Reported profile total | 239.4 | 130.1 |
Table 11: Training-step time breakdown for Llama-1B.
The BF16 GEMM category includes decoder projections, adapters, and the output head. Profile totals differ from the uninstrumented measurements in Figure 4, and category times need not sum exactly to the reported total.