Navigating EU AI Act requirements for LLM fine-tuning on Amazon SageMaker AI
In this post, we show you how to set up FLOPs tracking during LLM fine-tuning using the open source Fine-Tuning FLOPs Meter toolkit on Amazon SageMaker AI. You learn how to determine your compliance status with a single configuration flag and generate audit-ready documentation.
The EU AI Act imposes requirements for providers of large language models (LLMs) who fine-tune the models. Fine-tuning can trigger additional obligations for the organization performing the modification. Amazon SageMaker AI provides tools to help organizations determine if their fine-tuning activities meet the EU AI Act thresholds.
The Fine-Tuning FLOPs Meter is a toolkit that measures the compute required for fine-tuning, converting it into a compliance indicator. According to the European Commission's guidelines, if the fine-tuning computation exceeds one-third of the original model's training FLOPs, then fine-tuning the model may turn the organization into a provider of the modified GPAI model.
The guidelines provide thresholds based on the pretraining FLOPs of the original model. When the pretraining compute is known and meets certain criteria (10^23 FLOPs or higher), organizations can use a 30% threshold. If the pretraining compute is unknown or below the known threshold, the default threshold of 3.3×10^22 FLOPs applies.
The Fine-Tuning FLOPs Meter automates this process by dynamically determining the correct threshold based on the available information about the original model's training FLOPs.
Rewritten by urgent.news; may contain errors — check the original.
Source: aws.amazon.com