SageMaker fine-tuning can use FLOPs Meter to track compute
Understand this story
AWS introduces the use of the open-source Fine-Tuning FLOPs Meter toolkit to track training compute when fine-tuning large language models on Amazon SageMaker AI, in order to meet the EU AI Act's requirements for compute disclosure. Users only need to add one line, compute_flops: true, in the configuration to enable it; this use case requires at least one ml.g5.4xlarge instance with a single NVIDIA A10G GPU. According to AWS, the tool measures the FLOPs of the fine-tuning process, compares them with the thresholds in the European Commission guidelines, and retains a JSON record. AWS cautions that the permission scope used in the example is too broad and is not recommended for production environments; to avoid ongoing charges, the created resources should be deleted after use.
AI overview based on source reports · Updated 26 min ago
Coverage timeline
Follow the coverage to explore different perspectives.
- AWS Machine Learning BlogNavigating EU AI Act requirements for LLM fine-tuning on Amazon SageMaker AI
This post explains how organizations that fine-tune large language models may become providers of the modified model under the EU AI Act, and how the European Commission's guidelines use training compute in FLOPs as an indicative criterion, including the one-third rule and default thresholds. It introduces the open source Fine-Tuning FLOPs Meter toolkit for Amazon SageMaker AI, which tracks FLOPs during Hugging Face training via a single configuration flag (compute_flops: true), compares results against the applicable threshold, and writes a JSON record that can be persisted to Amazon S3 or DynamoDB for audit purposes. The walkthrough uses meta-llama/Llama-3.2-3B-Instruct with LoRA on an ml.g5.4xlarge instance and notes that exceeding the threshold does not by itself determine provider status, since the guidelines call for a case-by-case assessment.
Activity for this story
Not enough continuous observations to show a trend yet.