Home icon

Navigating EU AI Act requirements for LLM fine-tuning on Amazon SageMaker AI

Machine Learning Blog



This article explains how to track computational resources (FLOPs) during LLM fine-tuning on Amazon SageMaker AI to comply with EU AI Act requirements.

  • EU AI Act requires tracking FLOPs to determine if fine-tuning reclassifies you as a GPAI model provider
  • Default compliance threshold is 3.3×10²² FLOPs; 30% of actual pretraining compute if known
  • Fine-Tuning FLOPs Meter toolkit automates FLOPs calculation and compliance tracking
  • Supports both architecture-based (analytical) and hardware-based (upper bound) FLOPs calculation methods
  • Integrates with Hugging Face training via single configuration flag: compute_flops: true
  • Generates audit-ready JSON documentation with compliance status and threshold determination
  • Handles parameter-efficient methods like LoRA with enhanced formulas for accurate estimates
  • Toolkit available in Amazon SageMaker Generative AI recipes repository on GitHub

The Fine-Tuning FLOPs Meter simplifies EU AI Act compliance by automating computational resource tracking and generating regulatory documentation for LLM fine-tuning workloads on SageMaker AI.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

May 13
2026
Fine-tune LLM with Databricks Unity Catalog and Amazon SageMaker AI
May 29
2026
Comprehensive observability for Amazon SageMaker AI LLM inference: From GPU utilization to LLM quality
May 4
2026
Agent-guided workflows to accelerate model customization in Amazon SageMaker AI
Apr 24
2024
Improve LLM performance with human and AI feedback on Amazon SageMaker for Amazon Engineering

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.