AWS’s experimental Fine-Tuning FLOPs Meter estimates and records the compute used in a fine-tuning job on Amazon SageMaker AI. It can help teams inspect a training run, but its estimate is not a legal decision about whether an organization is a general-purpose AI (GPAI) model provider. The European Commission describes that assessment as case by case, with a fine-tuning criterion that differs from AWS’s 30% comparison.

What does the SageMaker FLOPs Meter measure?

FLOPs are floating-point operations, a way of expressing computational work. AWS’s open-source tool estimates fine-tuning compute for Hugging Face jobs and records job details. The SageMaker recipe enables tracking with compute_flops: true; teams can optionally set PRETRAIN_FLOPS when they know the base model’s pretraining compute. The repository labels the EU AI Act FLOPs calculation experimental. (AWS’s walkthrough; SageMaker fine-tuning recipes)

The tool’s analytical estimate depends on model parameters and processed tokens. In the formula, N_total is the total parameter count, N_trainable is the number of parameters being trained, and tokens_processed is the counted input tokens:

F_ft = (4 × N_total + 2 × N_trainable) × tokens_processed

When all parameters are trainable, that simplifies to 6 × N × D, where N is the parameter count and D is the number of processed tokens. The formula is an approximation for dense transformers, not a direct count of every operation executed. (Meter source code)

How are the estimates calculated and stored?

AWS describes two approaches: an architecture-based estimate and a hardware-based estimate. The latter uses a GPU’s estimated peak FP16 performance, utilization and elapsed sampling time. In the inspected source code, the utilization figure comes from sampled GPU activity; that differs from the AWS article’s description of a calculation using 100% utilization.

The callback counts tokens other than the configured padding token. The code warns that a pad_token_id of -100 can inflate that count, so check the padding configuration when interpreting a job’s result. The source describes the analytical formula as an approximation for dense transformers, and its GPU figure is an estimate rather than a direct count of executed operations. (Meter source code)

The inspected meter file writes a local JSON record and uploads it to Amazon S3 only when TRAINING_PIPELINE_OUTPUT_S3_BASE is configured. AWS’s example pipeline describes storing outputs in S3 and DynamoDB; the meter file itself contains no DynamoDB write. (Meter source code; AWS’s walkthrough)

Does AWS’s 30% comparison match the Commission’s criterion?

No. AWS’s article describes a 30% comparison for a model whose pretraining compute is known. The Commission’s FAQ identifies modification or fine-tuning that uses more than one-third of the original model’s training compute as an exceptional circumstance relevant to a fine-tuner becoming a provider. The FAQ also says its guidelines are non-binding and that the assessment depends on the individual case. (AWS’s walkthrough; European Commission FAQ)

For a concrete comparison, AWS uses estimated pretraining compute of 1.5 × 10²⁴ FLOPs in a Llama-3-70B example. Thirty percent of that value is 4.5 × 10²³ FLOPs; one-third is 5 × 10²³ FLOPs. The two figures describe different thresholds, and neither turns a meter reading into a provider-status determination.

The Commission FAQ separately says that cumulative training compute above 10²⁵ FLOPs creates a presumption that a model has capabilities matching or exceeding the most advanced models. The Commission may also designate a model based on its capabilities or impact, and the compute figure alone does not settle that classification. (European Commission FAQ)

Use the FLOPs record to understand a training run; assess provider status under the Commission’s case-by-case guidance.

What do the inspected code and AWS example show?

In the inspected main-branch implementation, the known-pretraining path returns the raw pretraining FLOPs when that value is at least 10²³. Later logic compares fine-tuning compute with 30% of that amount, while the JSON field threshold_value receives the raw value. The function has no separate systemic-risk threshold branch. These observations apply to the inspected branch; the AWS walkthrough does not identify the exact repository revision it uses. (Meter source code)

AWS’s published Llama-3.2-3B example also contains figures that do not reconcile: the article describes a 3.21-billion-parameter model, while its sample JSON lists N_total as 1,585,294,704. The displayed Flops_architecture of 1.45 × 10¹³, divided by the listed threshold of 3.30 × 10²², is about 4.39 × 10⁻¹⁰; the sample’s pct_of_pretrain value is 0.000000439, about 1,000 times larger when read as a ratio. (AWS’s walkthrough)

The repository history lists a “FLOPs calculation” commit for the meter file on December 17, 2025, and a security-hardening commit on April 27, 2026. (Meter file history)