Skip to content

variants: add aws-mantle-next-nvidia variant - #5014

Draft
qianxjcraig wants to merge 2 commits into
bottlerocket-os:developfrom
qianxjcraig:aws-mantle-next-nvidia
Draft

qianxjcraig wants to merge 2 commits into
bottlerocket-os:developfrom
qianxjcraig:aws-mantle-next-nvidia

Conversation

@qianxjcraig

Copy link
Copy Markdown
Contributor

This change adds the aws-mantle-next-nvidia variant. The variant is a minimal Bottlerocket build for AWS Bedrock's Mantle API, and it builds only for x86_64. It is the x86_64 counterpart of aws-mantle-next-64k-nvidia.

The variant does not guarantee stability or backward compatibility. It can make breaking changes without
warning.

The variant uses these packages from the kernel kit:

  • kernel-6.18
  • The NVIDIA R620 driver (kmod-6.18-nvidia-r620)
  • kmod-6.18-efa

The variant does not set nvidia.NVreg_CoherentGPUMemoryMode=driver. That option applies only to Grace class platforms, where the CPU and GPU share coherent memory.

Depends on: bottlerocket-os/bottlerocket-kernel-kit#636

Testing done:

I built an AMI of this variant for x86_64 with a local build of the kernel kit from the PR above.

  • The instance booted kernel 6.18.62 and all GPUs came up with the R620 driver.
  • The GPU fabric state is Completed on all GPUs.
  • Tested NVIDIA workloads for single node.
  • TODO: multi-node and MIG.
  • TODO: check AVC denials.
  • TODO: update Twoliter.toml to the kernel kit release that includes the PR above.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

vigh-m and others added 2 commits November 20, 2026 20:37
This change adds an aws-mantle variant for x86_64 only. The variant
uses the kernel-6.18 kernel and the NVIDIA R620 driver. It is the
x86_64 counterpart of aws-mantle-next-64k-nvidia.

The variant does not guarantee stability or backward compatibility.
It can make breaking changes without warning.

Signed-off-by: Vighnesh Maheshwari <[email protected]>
EC2 limits the AMI description to 255 characters. The description had
281 characters, so RegisterImage failed. Use the same text as
aws-mantle-next-64k-nvidia, with x86_64 in place of the aarch64 page
size note.

Signed-off-by: qianxj <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants