﻿# Unsloth FP8 GRPO: what the 5 GB claim and linked notebook establish

Separate Unsloth’s small-VRAM GRPO claim from its Qwen3-8B notebook, mixed-precision implementation and training-reward evidence.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/unsloth-fp8-grpo-memory-claim-notebook-boundaries/
Language: en

## What the small-memory claim establishes

Unsloth's [FP8 reinforcement-learning guide](https://unsloth.ai/docs/get-started/reinforcement-learning-rl-guide/fp8-reinforcement-learning) reports Qwen3-1.7B GRPO using 5 GB of VRAM and approximately 1.4× faster reinforcement-learning inference. These are developer claims about its implementation. The speed figure concerns rollout inference rather than the complete training cycle. The current page does not substantiate the incoming note's separate Qwen3-4B at 6 GB claim, so that figure should not become a verified requirement.

The useful question is whether a particular experiment fits and produces an independently useful adapter. A reported device-memory allocation does not specify host memory, checkpoint storage or the smallest usable graphics card. It also does not establish equal behavior across supported consumer devices. The source lists RTX 40 and RTX 50 families, while the actual linked notebook uses a different model from the smallest headline example.

## Follow the mixed-precision implementation

The guide describes frozen FP8 weights with scaling, dynamically quantized forward activations and BF16 adapter training and backward computation. Sharing weights with vLLM and managing its standby state contribute to the memory result. Calling the process FP8 does not mean that every training allocation has that representation.

This distinction changes how to investigate a failed reproduction. A different rollout engine, retained duplicate weights or another attention implementation can change memory independently of adapter rank. The [LoRA memory guide](/journal/lora-qlora-memory/) explains the separate roles of base storage, trainable state and activations. An estimate based only on model weights misses the allocations that appear during generation and optimization.

## Read the linked notebook as a separate recipe

The [pinned Qwen3-8B notebook](https://raw.githubusercontent.com/unslothai/notebooks/d85d113eacfc8a87a7003e73ffb2a86403a94344/nb/Qwen3_8B_FP8_GRPO.ipynb) enables FP8 loading and fast inference, uses a 2048-token sequence budget and rank 32 adapters, and requests 4 generations per prompt. It filters prompts using a percentile-derived length bound. Its evaluation-dataset wiring is commented out. These concrete settings describe a larger-model recipe, rather than the exact configuration behind the smallest memory claim.

Its rewards also inspect output formatting and extracted answers. Improvement in that reward can therefore reflect better compliance with the parser or familiar training answers. It cannot alone establish general mathematical competence. The distinction matters particularly when filtering removes long questions: a lower-memory experiment can quietly evaluate a narrower workload if the retained prompt distribution is not recorded.

## Decide whether the resulting experiment is useful

A defensible comparison would preserve the task, retained examples, output budget, reward functions and held-out scoring before changing precision. The comparison should include an unadapted baseline and a higher-precision reference where feasible. Save malformed answers as well as successful ones; otherwise parser failures can disappear behind a rising average reward.

Measure memory across loading, rollout, backward computation and checkpoint saving, alongside elapsed training time. A faster rollout stage can coexist with a smaller improvement in end-to-end time. Keep the notebook revision and environment with the result, following the [reproducible-stack guide](/journal/software-stack-reproducibility/). The published recipe is a concrete starting point for a bounded experiment, while its headline allocation and inference speed remain conditional developer evidence. No training run or independent memory measurement is reported here.
