Change
5304dad
5304dad293f10834b75e472e79c8819b7d0ca6cf · commit on GitHub
aws-blog-feed: changed (584257 bytes, HTTP 200)
raw/aws-blog-feed/response.xml modified
- Source
- aws-blog-feed
- Lines added
- +357
- Lines removed
- -257
- Stored bytes at this commit
- 584,257
- Timestamp
- observed
- Raw artifact at this commit
- raw/aws-blog-feed/response.xml
Recorded headers
| observed_at | 2026-12-01T16:04:34.328Z |
|---|---|
| origin_date | null |
| status | 200 |
| final URL | https://aws.amazon.com/blogs/machine-learning/feed/ |
| etag | null |
| last-modified | Tue, 01 Dec 2026 15:34:34 GMT |
| date | Tue, 01 Dec 2026 16:04:34 GMT |
| age | null |
| cache-control | null |
| cf-cache-status | null |
| content-encoding | null |
| content-length | null |
@
@@ -5,7 +5,7 @@ <atom:link href="https://aws.amazon.com/blogs/machine-learning/feed/" rel="self" type="application/rss+xml"/> <link>https://aws.amazon.com/blogs/machine-learning/</link> <description>Official Machine Learning Blog of Amazon Web Services</description>-
<lastBuildDate>Tue, 24 Nov 2026 05:04:40 +0000</lastBuildDate>+
<lastBuildDate>Mon, 30 Nov 2026 19:15:51 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod> hourly </sy:updatePeriod>@
@@ -13,7 +13,355 @@ 1 </sy:updateFrequency> <item>-
<title>Introducing the Amazon Bedrock Trusted Access API with Anthropic’s Enterprise Frontier Safeguards and Enterprise Data Controls</title>+
<title>Navigating EU AI Act requirements for LLM fine-tuning on Amazon SageMaker AI</title>+
<link>https://aws.amazon.com/blogs/machine-learning/navigating-eu-ai-act-requirements-for-llm-fine-tuning-on-amazon-sagemaker-ai/</link>+
+
+
<dc:creator><![CDATA[Shukhrat Khodjaev]]></dc:creator>+
<pubDate>Mon, 30 Nov 2026 18:55:54 +0000</pubDate>+
<category><![CDATA[Advanced (300)]]></category>+
<category><![CDATA[Amazon SageMaker]]></category>+
<category><![CDATA[Amazon SageMaker AI]]></category>+
<category><![CDATA[Europe]]></category>+
<category><![CDATA[Generative AI*]]></category>+
<category><![CDATA[Industries]]></category>+
<category><![CDATA[Responsible AI]]></category>+
<category><![CDATA[Technical How-to]]></category>+
<category><![CDATA[Fine Tuning]]></category>+
<category><![CDATA[Generative AI]]></category>+
<category><![CDATA[MLOps]]></category>+
<guid isPermaLink="false">540dba46045344eff31cc9473cc6f6f34abb6aae</guid>+
+
<description>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.</de…+
<content:encoded><p><em><strong>November 2026: This post was reviewed and updated for accuracy.</strong></em></p> +
<p>Under the EU AI Act, organizations that fine-tune large language models (LLMs) can in some cases become providers of the modified model, with obligations of their own. The European Commission’s guidelines use training compute, measured in floating-point operations (FLOPs), as an indicative …+
<p><a href="https://aws.amazon.com/sagemaker/ai/" target="_blank" rel="noopener">Amazon SageMaker AI</a> provides a managed machine learning (ML) service for building, training, and deploying models. This solution uses <a href="https://aws.amazon.com/sagemaker/ai/train/" target=…+
<p>In this post, we show you how to set up FLOPs tracking during LLM fine-tuning using the open source Fine-Tuning <a href="https://github.com/aws-samples/amazon-sagemaker-generativeai/blob/main/0_model_customization_recipes/README.md" target="_blank" rel="noopener">FLOPs Meter toolkit&l…+
<h2 id="eu-ai-act-and-flops-tracking-requirements">EU AI Act and FLOPs tracking requirements</h2> +
<p>The EU AI Act obligations for providers of general-purpose artificial intelligence (GPAI) models have applied since August 2, 2025. The European Commission can enforce them, including through fines, from August 2, 2026. Providers of models placed on the market before August 2, 2025 have unt…+
<p>According to the guidelines, a modifier becomes the provider only if the modification significantly changes the model’s generality, capabilities, or systemic risk. As an indicative criterion, the guidelines use the compute spent on the modification: more than one-third of the compute used t…+
<table border="1px" cellpadding="10px" width="100%"> +
<tbody>+
<tr> +
<td><strong>Scenario</strong></td> +
<td><strong>Threshold</strong></td> +
</tr> +
<tr> +
<td>Pretraining compute is known and ≥ 10²³ FLOPs</td> +
<td>30% of the actual pretraining compute</td> +
</tr> +
<tr> +
<td>Pretraining compute is unknown or &lt; 10²³ FLOPs</td> +
<td>Default threshold of 3.3×10²² FLOPs</td> +
</tr> +
<tr> +
<td>Systemic Risk Models (Pre-training FLOPs ≥ 10²⁵ FLOPs)</td> +
<td>3.3×10²⁴ FLOPs (if base compute is unknown)</td> +
</tr> +
</tbody>+
</table> +
<p>The Fine-Tuning FLOPs Meter automatically determines which scenario applies based on whether you provide the <code>PRETRAIN_FLOPS</code> environment variable. To help you quickly determine which threshold path applies, use the following decision flow:</p> +
<p><strong>Step 1: Do you know your base model’s pretraining FLOPs?</strong></p> +
<ul> +
<li><strong>No:</strong> Proceed directly to the <strong>Default Threshold</strong> of 3.3×10²² FLOPs.</li> +
<li><strong>Yes:</strong> Move to the next evaluation step.</li> +
</ul> +
<p><strong>Step 2: Evaluate pretraining compute scale</strong></p> +
<p>If you know your pretraining compute, compare it against the following orders of magnitude:</p> +
<ol type="1"> +
<li> <p><strong>Is pretraining compute ≥ 10²⁵ FLOPs?</strong></p> +
<ul> +
<li><strong>Yes:</strong> You fall under the <strong>Systemic Risk Threshold.</strong> Use a threshold of 3.3×10²⁴ FLOPs.</li> +
<li><strong>No:</strong> Move to the next question.</li> +
</ul> </li> +
<li> <p><strong>Is pretraining compute ≥ 10²³ FLOPs?</strong></p> +
<ul> +
<li><strong>Yes:</strong> Use a <strong>Relative Threshold</strong> of 30% of actual pretraining compute.</li> +
<li><strong>No:</strong> Proceed to the <strong>Default Threshold</strong> of 3.3×10²² FLOPs.</li> +
</ul> </li> +
</ol> +
<p>For example, fine-tuning <code>Llama-3-70B</code> (pretrained with an estimated minimum of 1.5×10²⁴ FLOPs) sets the threshold at 4.5×10²³ FLOPs. Under the Commission’s guidelines, exceeding this threshold is an indication that you may become the provider of the modified model. F…+
<p>The AI Act sets fines in two places. <a href="https://ai-act-service-desk.ec.europa.eu/en/ai-act/article-99" target="_blank" rel="noopener">Article 99</a> sets tiered maximum fines for operators of AI systems. Each tier is the higher of a fixed amount and a share of worldwide an…+
<h2 id="the-challenge-of-manual-flops-tracking">The challenge of manual FLOPs tracking</h2> +
<p>These thresholds present three compliance challenges:</p> +
<ol type="1"> +
<li>FLOPs formulas are complex and differ depending on whether you’re doing full fine-tuning or using parameter-efficient methods (training approaches like Low-Rank Adaptation (LoRA) that update only a small subset of model parameters).</li> +
<li>The applicable threshold is hard to determine because pretraining compute figures are rarely published.</li> +
<li>Maintaining an audit trail (a permanent record of compliance metrics for regulatory review) across multiple training jobs adds operational overhead.</li> +
</ol> +
<p>Incorrect calculations can lead to the wrong conclusion about whether your job exceeds the threshold. The Fine-Tuning FLOPs Meter automates the tracking process, addressing these challenges.</p> +
<h2 id="solution-overview">Solution overview</h2> +
<p>The Fine-Tuning FLOPs Meter is an open source toolkit, available in the <a href="https://github.com/aws-samples/amazon-sagemaker-generativeai/tree/main/0_model_customization_recipes" target="_blank" rel="noopener">Amazon SageMaker Generative AI recipes repository</a>, that integ…+
<div style="width: 810px" class="wp-caption alignnone">+
<a href="https://d2908q01vomqb2.cloudfront.net/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59/2026/11/27/REVBLOG-1352-1.png" target="_blank" rel="noopener"><img src="https://d2908q01vomqb2.cloudfront.net/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59/2026/11/27/REVBLOG-1352-1.png" alt="Figure 1. Fine-…+
<p class="wp-caption-text">Figure 1. Fine-Tuning FLOPs Meter compliance workflow</p>+
</div> +
<p>The toolkit covers three stages of the fine-tuning lifecycle, with runtime tracking as the core capability.</p> +
<p><strong>First stage:</strong> an optional pre-training estimation utility that you can run to compare expected FLOPs across training methods (LoRA, Spectrum, Full) before you launch a job.</p> +
<p><strong>Second stage:</strong> runtime tracking, the main feature, uses a Hugging Face <code>TrainerCallback</code> to calculate FLOPs in real time during training using both architecture-based analytics and hardware-based GPU monitoring through NVIDIA Management Lib…+
<p><strong>Third stage:</strong> a post-training audit trail automatically stores complete compliance metrics in JSON format. You can persist results to <a href="https://aws.amazon.com/pm/serv-s3/" target="_blank" rel="noopener">Amazon Simple Storage Service (Amazon S3)</a…+
<p>You can opt in with a single configuration line (<code>compute_flops: true</code>). The FLOPs Meter includes parameter-efficient awareness using an enhanced formula to accurately estimate for full, LoRA, and Spectrum fine-tuning approaches. It writes the compute metrics to a JSO…+
<h2 id="technical-implementation">Technical implementation</h2> +
<p>The following subsections cover how FLOPs are calculated and how the tracking integrates with your training workflow on Amazon SageMaker AI.</p> +
<h3 id="prerequisites">Prerequisites</h3> +
<p>You must complete the following prerequisites before you can run the FLOPs Meter walkthrough:</p> +
<ol type="1"> +
<li> <p>Make the following quota increase request for SageMaker AI. For this use case, you need a minimum of 1 ml.g5.4xlarge instance (with 1 x NVIDIA A10G GPU). On the <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html" target="_blank" rel="noopener">S…+
<li> <p>Create an <a href="https://aws.amazon.com/iam/" target="_blank" rel="noopener">AWS Identity and Access Management</a> (IAM) [role](https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html#:~:text=the%20following%20procedures.-%5B%E2%80%A6%5Dxecution%20rol…+
<li> <p>Assign the following policy as a trust relationship to your IAM role:</p> +
<div class="hide-language"> +
<pre><code class="language-json">{+
"Version": "2012-10-17",+
"Statement": [+
{+
"Sid": "",+
"Effect": "Allow",+
"Principal": {+
"Service": [+
"sagemaker.amazonaws.com"+
]+
},+
"Action": "sts:AssumeRole"+
}+
]+
}</code></pre> +
</div> </li> +
<li> <p>(Optional) Create an <a href="https://aws.amazon.com/sagemaker/ai/studio/" target="_blank" rel="noopener">Amazon SageMaker Studio</a> domain (refer to <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/onboard-quick-start.html" target="_blank" rel="noopener"…+
</ol> +
<p>These permissions grant broad access and are not recommended for use in production environments. For guidance on defining more fine-grained permissions, refer to the <a href="https://docs.aws.amazon.com/sagemaker/" target="_blank" rel="noopener">SageMaker AI Developer Guide</a>.…+
<h3 id="flops-calculation-formulas">FLOPs calculation formulas</h3> +
<p>For compliance reporting, use the analytical method (<code>Flops_architecture</code>) as your primary metric. The toolkit also calculates a hardware-based upper bound for conservative reporting. Both methods run automatically. The following sections describe the implementation d…+
<p>The Commission’s guidelines (Section A.2.1) describe two approaches for estimating training compute:</p> +
<ol type="1"> +
<li><strong>Architecture-based approach</strong> (analytical):</li> +
</ol> +
<p>The Commission’s guidelines give the following approximation for dense transformers:</p> +
<p><code>C ≈ 6 × P × D</code></p> +
<p>Where <code>P</code> is the number of parameters and <code>D</code> is the number of training tokens. This assumes full fine-tuning, where all parameters are trainable.</p> +
<p>An enhanced formula accounts for parameter-efficient methods:</p> +
<p><code>F_ft = (4 × N_total + 2 × N_trainable) × tokens_processed</code></p> +
<p>Here’s the breakdown:</p> +
<ul> +
<li>4 × <em><code>N_total</code></em> — forward pass (2×) plus backward pass gradient computation through each layer (2×), including frozen ones.</li> +
<li>2 × <em><code>N_trainable</code></em> — gradient computation with respect to trainable weights only.</li> +
</ul> +
<p>For full fine-tuning where <code>N_total = N_trainable</code>, this reduces to <code>6 × N × D</code>, which is equivalent to the formula in the guidelines. For LoRA or Spectrum, it provides a more accurate (and lower) estimate, reflecting that fewer parameters recei…+
<ol start="2" type="1"> +
<li><strong>Hardware-based approach</strong> (upper bound):</li> +
</ol> +
<p>This approach uses the following formula:</p> +
<p><code>C = N_gpus × L × H × U</code></p> +
<p>Where <code>N_gpus</code> is the number of GPUs, <code>L</code> is training duration in seconds, <code>H</code> is peak theoretical performance (FLOPs), and <code>U</code> is utilization. The FLOPs Meter uses <em>U = 1.0</em> (100%…+
<h3 id="threshold-logic">Threshold logic</h3> +
<p>The toolkit implements the threshold logic from the Commission’s guidelines in <code>determine_compliance_threshold()</code>:</p> +
<div class="hide-language"> +
<pre><code class="language-python">EU_AI_ACT_GPAI_THRESHOLD = 1e23 # 10²³ FLOPs+
EU_AI_ACT_DEFAULT_THRESHOLD = 3.3e22 # One-third of 10²³+
+
if pretrain_flops is None or pretrain_flops &lt; EU_AI_ACT_GPAI_THRESHOLD:+
threshold = EU_AI_ACT_DEFAULT_THRESHOLD # "default_3.3e22"+
else:+
threshold = 0.30 * pretrain_flops # "30pct_of_actual_pretraining"</code></pre> +
</div> +
<h3 id="integration-with-sagemaker-training-jobs">Integration with SageMaker Training jobs</h3> +
<p>The FLOPs Meter works as a Hugging Face <code>TrainerCallback</code>. To activate tracking, add a single line in the recipe YAML:</p> +
<div class="hide-language"> +
<pre><code class="language-yaml">compute_flops: true</code></pre> +
</div> +
<p>At training launch, the training script (<code>sft.py</code>) checks this flag and, if activated, initializes the <code>FlopsMeterCallback</code> with model parameter counts and an optional <code>PRETRAIN_FLOPS</code> environment variable. A custom <co…+
<div class="hide-language"> +
<pre><code class="language-python">n_total = sum(p.numel() for p in model.parameters())+
n_trainable = sum(p.numel() for p in model.parameters() if p.requires_grad)+
+
flops_cb = FlopsMeterCallback(+
pad_token_id=tokenizer.pad_token_id,+
pretrain_flops=pretrain_flops, # from PRETRAIN_FLOPS env var+
sample_nvml=True,+
n_total=n_total,+
n_trainable=n_trainable,+
model_name=model_args.model_name_or_path,+
num_epochs=training_args.num_train_epochs,+
)</code></pre> +
</div> +
<p>At training completion, the callback computes both analytical and hardware FLOPs, determines the applicable threshold, and writes a <code>flops_meter.json</code> file to <code>/opt/ml/output/</code>. The pipeline’s <code>ProcessTrainingOutputs</code> step…+
<h2 id="walkthrough">Walkthrough</h2> +
<p>The following walkthrough uses <strong>meta-llama/Llama-3.2-3B-Instruct</strong> (3.21 billion parameters). Because Meta has not published exact pretraining FLOPs for this model, the walkthrough doesn’t set <code>PRETRAIN_FLOPS</code>, and the tool uses the default t…+
<h3 id="pre-training-estimation-optional">Pre-training estimation (optional)</h3> +
<p>A standalone estimation utility (<code>estimate_flops.py</code>) compares expected FLOPs across training methods (LoRA, Spectrum, and full fine-tuning) before you launch a job. This is useful for planning: it shows in advance whether a planned job’s compute would exceed the thre…+
<h3 id="runtime-tracking">Runtime tracking</h3> +
<p>During training, the <code>FlopsMeterCallback</code> tracks FLOPs in real time. This is where the actual compliance measurement happens. When training begins (<code>on_train_begin</code>), the callback captures model parameter counts (<code>N_total, N_trainable…+
<p>A recipe configuration for Llama-3.2-3B with LoRA and FLOPs tracking activated:</p> +
<div class="hide-language"> +
<pre><code class="language-yaml">model_name_or_path: meta-llama/Llama-3.2-3B-Instruct+
dataset_id_or_path: your-dataset.jsonl+
use_peft: true+
compute_flops: true+
per_device_train_batch_size: 8+
num_train_epochs: 10+
learning_rate: 2e-5+
peft_config:+
r: 8+
lora_alpha: 16+
target_modules: ["q_proj", "v_proj"]</code></pre> +
</div> +
<p>In your Amazon SageMaker AI notebook or Python script, use the <code>ModelTrainer</code> class from the SageMaker Python SDK v3 to launch the training job as a SageMaker Training job:</p> +
<div class="hide-language"> +
<pre><code class="language-python">from sagemaker.modules.configs import Compute, SourceCode+
from sagemaker.modules.train import ModelTrainer+
+
training_instance_type = "ml.g5.4xlarge"+
pytorch_image_uri = sagemaker.image_uris.retrieve(+
framework="pytorch",+
region=sess.boto_session.region_name,+
version="2.7.1",+
instance_type=training_instance_type,+
image_scope="training",+
)+
+
source_code = SourceCode(+
source_dir="./sagemaker_code",+
command="bash sm_accelerate_train.sh --config hf_recipes/meta-llama/Llama-3.2-3B-Instruct--vanilla-peft-qlora.yaml",+
)+
+
compute = Compute(+
instance_type=training_instance_type,+
instance_count=1,+
volume_size_in_gb=300,+
)+
+
model_trainer = ModelTrainer(+
training_image=pytorch_image_uri,+
source_code=source_code,+
compute=compute,+
role=role,+
environment={+
"FLOPS_METER_NVML": "1",+
},+
)+
+
model_trainer.train()</code></pre> +
</div> +
<p>Because pretraining FLOPs are not known for this model, the <code>PRETRAIN_FLOPS</code> environment variable is omitted. The default threshold is applied automatically.</p> +
<h3 id="compliance-documentation">Compliance documentation</h3> +
<p>At training completion, the callback generates a <code>flops_meter.json</code> file containing the training compute metrics:</p> +
<div class="hide-language"> +
<pre><code class="language-json">{+
"Flops_architecture": "1.45e+13",+
"Flops_hardware": "1.52e+15",+
"Flops_original": null,+
"N_total": 1585294704,+
"N_trainable": 680094720,+
"threshold_type": "default_3.3e22",+
"threshold_value": "3.30e+22",+
"pct_of_pretrain": 0.000000439,+
"exceeds_30pct": false,+
"tokens_processed": 2150,+
"model_name": "meta-llama/Llama-3.2-3B-Instruct",+
"num_epochs": 10,+
"training_duration_seconds": 245.30,+
"gpu_name": "NVIDIA A10G",+
"instance_type": "ml.g5.4xlarge",+
"training_job_name": "pipelines-abc123-TrainingStep-xyz789",+
"recipe_config": "hf_recipes/meta-llama/Llama-3.2-3B-Instruct--vanilla-peft-qlora.yaml"+
}</code></pre> +
</div> +
<p>Use <code>Flops_architecture</code> as your primary compliance metric. It accurately reflects your actual training configuration. <code>Flops_hardware</code> provides a conservative upper bound and can serve as a safety margin for extra-cautious reporting.</p> +
<p>Other key fields include <code>threshold_type</code>, which indicates which threshold rule was applied (<code>default_3.3e22</code> since pretraining FLOPs are unknown), <code>exceeds_30pct</code> as a boolean flag that shows whether the job’s compute exc…+
<p>The pipeline automatically uploads this file to Amazon S3 and stores it in Amazon DynamoDB, creating a persistent audit trail across training runs.</p> +
<h3 id="what-if-you-exceed-the-threshold">What if you exceed the threshold?</h3> +
<p>If <code>exceeds_30pct</code> is true, your job’s compute is above the threshold that the <a href="https://ec.europa.eu/newsroom/dae/redirection/document/118340" target="_blank" rel="noopener">Commission’s guidelines</a> use as an indicative criterion. This alone doe…+
<h3 id="scaling-to-production-workloads">Scaling to production workloads</h3> +
<p>This example used a small dataset for demonstration purposes (2,150 tokens). In production, you typically process millions of tokens. For example, fine-tuning Llama-3.2-3B on 1 million tokens with LoRA results in approximately 6.7×10¹⁸ FLOPs, still well below the 3.3×10²² threshold. However…+
<p>For most LoRA fine-tuning jobs on models under 10B parameters, you remain well below the threshold even with millions of training tokens.</p> +
<h2 id="getting-started">Getting started</h2> +
<p>The FLOPs Meter is available as part of the <a href="https://github.com/atselikov/amazon-sagemaker-generativeai/blob/main/0_model_customization_recipes/README.md" target="_blank" rel="noopener">Amazon SageMaker Generative AI recipes repository</a>.</p> +
<h3 id="what-you-need">What you need</h3> +
<p>Before you begin, make sure you have:</p> +
<ul> +
<li>An AWS account with Amazon SageMaker AI access.</li> +
<li>AWS Command Line Interface (AWS CLI) configured with appropriate credentials.</li> +
<li>Python 3.11 or later installed.</li> +
<li>Familiarity with Hugging Face Transformers and PyTorch.</li> +
</ul> +
<h3 id="enable-flops-tracking">Enable FLOPs tracking</h3> +
<p>To start FLOPs tracking:</p> +
<ol type="1"> +
<li> <p>Clone the repository:</p> +
<div class="hide-language"> +
<pre><code class="language-bash">git clone https://github.com/aws-samples/amazon-sagemaker-generativeai.git</code></pre> +
</div> </li> +
<li> <p>Open your recipe configuration file (for example, <code>hf_recipes/meta-llama/Llama-3.2-3B-Instruct--vanilla-peft-qlora.yaml</code>) and add the following line:</p> +
<div class="hide-language"> +
<pre><code class="language-yaml">compute_flops: true</code></pre> +
</div> </li> +
<li> <p>(Optional) If you know the pretraining FLOPs for your base model, set the environment variable:</p> +
<div class="hide-language"> +
<pre><code class="language-bash">export PRETRAIN_FLOPS="1.5e24" # Example: Llama-3-70B</code></pre> +
</div> </li> +
<li> <p>Launch your training job on Amazon SageMaker AI:</p> +
<ul> +
<li>Open your SageMaker AI notebook or Python script.</li> +
<li>Configure the <code>PyTorch Estimator</code> (see the code example in the Walkthrough section).</li> +
<li>Run <code>estimator.fit()</code> to start the training job.</li> +
</ul> </li> +
<li> <p>After training completes, review the generated <code>flops_meter.json</code> file in your Amazon S3 output location. You should see a JSON file containing FLOPs metrics and the threshold comparison.</p> </li> +
</ol> +
<p>For a deeper look at the implementation, see the <a href="https://github.com/aws-samples/amazon-sagemaker-generativeai/blob/main/0_model_customization_recipes/supervised_finetuning/sagemaker_code/utils/flops_meter.py" target="_blank" rel="noopener">source code for flops_meter.py</a…+
<h2 id="clean-up">Clean up</h2> +
<p>To avoid ongoing charges, delete the resources you created:</p> +
<ol type="1"> +
<li> <p>Stop running SageMaker AI training jobs:</p> +
<ul> +
<li>Open the <a href="https://console.aws.amazon.com/sagemaker/ai" target="_blank" rel="noopener">Amazon SageMaker AI console</a>.</li> +
<li>Navigate to <strong>Training</strong> and go to <strong>Training jobs</strong>.</li> +
<li>Select <strong>Running Jobs</strong> and choose <strong>Stop</strong>.</li> +
</ul> </li> +
<li> <p>Delete Amazon S3 outputs:</p> +
<ul> +
<li>Open the <a href="https://console.aws.amazon.com/s3/" target="_blank" rel="noopener">Amazon S3 console</a>.</li> +
<li>Navigate to your training output bucket.</li> +
<li>Select the <code>flops_meter.json</code> files and choose <strong>Delete</strong>.</li> +
<li>Or delete the entire bucket if you created it specifically for this walkthrough.</li> +
</ul> </li> +
<li> <p>Delete the Amazon DynamoDB table if you created one specifically for this walkthrough:</p> +
<ul> +
<li>Open the <a href="https://console.aws.amazon.com/dynamodb/" target="_blank" rel="noopener">Amazon DynamoDB console</a>.</li> +
<li>Select the table and choose <strong>Delete</strong>.</li> +
</ul> </li> +
<li> <p>Remove SageMaker AI endpoints if you deployed your fine-tuned model.</p> </li> +
</ol> +
<h2 id="conclusion">Conclusion</h2> +
<p>In this post, we showed you how to implement FLOPs tracking during LLM fine-tuning on Amazon SageMaker AI. You learned how the Fine-Tuning FLOPs Meter calculates computational resources using both analytical and hardware-based methods, how it applies the one-third rule from the Commission’s…+
<p>With this tooling, you can focus on building models while maintaining full transparency into your computational footprint.</p> +
<p>To get started, clone the <a href="https://github.com/aws-samples/amazon-sagemaker-generativeai" target="_blank" rel="noopener">repository</a> and run the pre-training estimation tool with your planned model and dataset. For more information about building compliance-aligned AI …+
<p></p> +
<p style="clear:both"> </p>+
<hr style="width: 100%"> +
<h2>About the authors</h2> +
<footer> +
<div class="blog-author-box" style="padding-top: 2.0em"> +
<div class="blog-author-image" style="margin-right: 1.0em">+
<img loading="lazy" class="alignnone size-full" src="https://d2908q01vomqb2.cloudfront.net/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59/2026/11/27/REVBLOG-1352-2.jpg" alt="Alexander Tselikov" width="100" height="133">+
</div> +
<h3 class="lb-h4">Alexander Tselikov</h3> +
<p style="overflow: hidden">Alexander is a Senior AI/ML Architect at AWS Professional Services who is passionate about helping enterprise customers build and scale innovative AI and data solutions to drive practical outcomes and accelerate critical business decisions.</p> +
</div> +
<div class="blog-author-box" style="padding-top: 2.0em"> +
<div class="blog-author-image" style="margin-right: 1.0em">+
<img loading="lazy" class="alignnone size-full" src="https://d2908q01vomqb2.cloudfront.net/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59/2026/11/27/REVBLOG-1352-3.jpg" alt="Shukhrat Khodjaev" width="100" height="133">+
</div> +
<h3 class="lb-h4">Shukhrat Khodjaev</h3> +
<p style="overflow: hidden">Shukhrat is a Senior Engagement Manager at AWS ProServe specializing in AI. He enables customers to accelerate their AI transformation, drive innovation and push the boundaries of AI application to generate tangible business outcomes.</p> +
</div> +
</footer></content:encoded>+
+
+
+
+
+
</item>+
<item>+
<title>Introducing the Amazon Bedrock Trusted Access API, with Enterprise Frontier Safeguards and Enterprise Data Controls for Claude models</title> <link>https://aws.amazon.com/blogs/machine-learning/introducing-the-amazon-bedrock-trusted-access-api-with-anthropics-enterprise-frontier-safeguards-and-enterprise-data-controls/</link> <dc:creator><![CDATA[Dani Mitchell]]></dc:creator>@
@@ -24,10 +372,10 @@ <guid isPermaLink="false">76b2285b501c3518d9f413fc227aa9b97a5e6b72</guid> <description>Amazon Bedrock now offers a trusted access program API: one place to discover, request, and enroll in model provider programs. The first two offerings, in public preview, are Anthropic's Enterprise Frontier Safeguards (EFS) and Enterprise Data Controls (EDC), which give you control…-
<content:encoded><p>Today we are announcing the general availability of the trusted access program API on <a href="https://aws.amazon.com/bedrock/" target="_blank" rel="noopener">Amazon Bedrock</a>. The API gives you one place to discover, request, and enroll in model pro…+
<content:encoded><p>Today we are announcing the general availability of the trusted access program API on <a href="https://aws.amazon.com/bedrock/" target="_blank" rel="noopener">Amazon Bedrock</a>. The API gives you one place to discover, request, and enroll in model pro…<p>Frontier AI labs require stricter safety monitoring policies to their most capable models, and those policies still apply on Amazon Bedrock. For eligible customers, model providers also offer customers more control on how those policies are met, such as where retained data is stored and how…<p>The Amazon Bedrock trusted access program API gives every provider offering one consistent Amazon Bedrock experience. Your teams discover offerings, check eligibility, and enroll in the same way for every provider. Your administrators decide who can enroll, using existing IAM policies and s…-
<p>EFS and EDC were built in partnership between AWS and Anthropic. They let you access Anthropic’s most capable models safely, from both a model use and a customer data perspective. With both EFS and EDC, when automated safety monitoring finds a risk, it creates a Safety Case for your team to…+
<p>EFS and EDC were built in partnership between AWS and Anthropic. They let you access Anthropic’s most capable models safely, from both a model use and a customer data perspective. With both EFS and EDC, when automated safety monitoring finds a risk, it creates a Safety Case for your team to…<p>In this post, we explain how the trusted access program API works, then walk through EFS and EDC storage options and setup.</p> <h2 id="how-trusted-access-programs-work">How trusted access programs work</h2> <p>A trusted access program is a named provider program that gives customers more control of safety reviews and access to model capabilities in exchange for accepting the program’s terms. Amazon Bedrock trusted access program API now gives you one place to find the model and use case programs …@
@@ -38,19 +386,15 @@<p>Automated safety monitoring looks for patterns that only show up across many requests. These include intentional misuse that could lead to serious harm, such as offensive cyber operations. They also include agents that go beyond what a user asked for, such as using a software exploit to rea…<p>On Amazon Bedrock, AWS operates EFS and the customer inputs and outputs stay within the customer’s AWS account. Only automated safety monitoring within AWS reads the retained inputs and outputs. AWS human reviewers don’t review content for EFS. Your review stays with you. Neither AWS nor An…<h3 id="how-it-works">How it works</h3> -
<p>Amazon Bedrock reaches your <a href="https://aws.amazon.com/kms/" target="_blank" rel="noopener">AWS Key Management Service</a> (AWS KMS) key and <a href="https://aws.amazon.com/s3/" target="_blank" rel="noopener">Amazon Simple Storage Service</a> (Amazon S3) bucket …-
<div style="width: 810px" class="wp-caption alignnone">-
<a href="https://d2908q01vomqb2.cloudfront.net/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59/2026/11/23/ML-22385-1.png" target="_blank" rel="noopener"><img src="https://d2908q01vomqb2.cloudfront.net/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59/2026/11/23/ML-22385-1.png" alt="EFS workflow: Amazon Be…-
<p class="wp-caption-text">Figure 1: EFS workflow on Amazon Bedrock</p>-
</div> +
<p>Amazon Bedrock reaches your <a href="https://aws.amazon.com/kms/" target="_blank" rel="noopener">AWS Key Management Service</a> (AWS KMS) key and <a href="https://aws.amazon.com/s3/" target="_blank" rel="noopener">Amazon Simple Storage Service</a> (Amazon S3) bucket …<p>When you call a covered model including Claude Fable, Claude Mythos, and Claude Opus 5.5 and Sonnet 5.5 used through the Cyber Verification Program (CVP):</p> <ol type="1"> <li>Your application calls the model. Inference works as it does for any Amazon Bedrock model.</li> <li>Amazon Bedrock writes the prompt and response to its retention and key services.</li> <li>These services encrypt the data with your AWS KMS key.</li> -
<li>Bedrock writes the prompt and response to your bucket, encrypted with your key, or to Amazon-managed storage. When writing to your bucket, Amazon writes the content within minutes. On some failures with your key or bucket, we can retry for up to 72 hours.</li> +
<li>Amazon Bedrock writes the prompt and response (together, “Sealed Safety Data”) to your bucket, encrypted with your key.&nbsp;When writing to your bucket, Amazon writes the content within minutes. On some failures with your key or bucket, we can retry for up to 72 hours.</li> <li>Automated safety monitoring, which runs in AWS owned and operated accounts, scans the data and looks for misuse across requests.</li> -
<li>If automated safety monitoring finds a potential risk, a case is created in your bucket for your review.</li> +
<li>If automated safety monitoring finds a potential risk, a case is created in your bucket for your review. For details, <a href="https://trust.anthropic.com/resources?s=a7lwkeieqk3ggz29k954j&amp;name=enterprise-frontier-safeguards:-technical-overview">see&nbsp;Enterprise Front…</ol> Diff display stops at 400 lines. The line counts above are from the whole diff. 45 lines shown here cut at 300 characters. The raw artifact at this commit is linked above.