Skip to content

Commit 55c9d1c

Browse files
committed
aws: add GPU instance defconfigs for AI/ML workloads
Add two AWS GPU instance defconfigs to support GPU-accelerated workloads: 1. aws-gpu-p5-48xlarge: High-end configuration with 8x NVIDIA H100 80GB GPUs for large-scale AI/ML training and inference. Includes 500GB storage for models and datasets. 2. aws-gpu-g5-xlarge: Cost-effective single NVIDIA A10G 24GB GPU for development and smaller workloads. Includes 200GB storage. Both configurations: - Use Debian 12 for stability - Enable kernel development workflows (KOTD) - Configure 9P filesystem for host-guest development - Set up in us-east-1 for best GPU availability - Use GP3 EBS volumes for better performance These defconfigs leverage the new dynamic Kconfig generation to automatically include all available P5 and G5 instance sizes. Generated-by: Claude AI Signed-off-by: Luis Chamberlain <[email protected]>
1 parent 854402c commit 55c9d1c

File tree

2 files changed

+72
-0
lines changed

2 files changed

+72
-0
lines changed

defconfigs/aws-gpu-g5-xlarge

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# AWS G5.xlarge GPU instance configuration
2+
# 1x NVIDIA A10G 24GB GPU for cost-effective GPU development
3+
4+
CONFIG_KDEVOPS_FIRST_RUN=y
5+
CONFIG_TERRAFORM=y
6+
CONFIG_TERRAFORM_AWS=y
7+
CONFIG_TERRAFORM_AWS_DATA_ENABLE=y
8+
9+
# Instance configuration
10+
CONFIG_TERRAFORM_AWS_INSTANCE_FAMILY_G5=y
11+
CONFIG_TERRAFORM_AWS_INSTANCE_G5_XLARGE=y
12+
13+
# Moderate root volume
14+
CONFIG_TERRAFORM_AWS_EBS_SIZE=200
15+
CONFIG_TERRAFORM_AWS_EBS_VOLUME_TYPE_GP3=y
16+
17+
# US East 1 for availability
18+
CONFIG_TERRAFORM_AWS_REGION_US_EAST_1=y
19+
20+
# Debian 12 for stability
21+
CONFIG_VAGRANT_DEBIAN=y
22+
CONFIG_VAGRANT_DEBIAN12=y
23+
24+
# Use kdevops user
25+
CONFIG_KDEVOPS_SSH_CONFIG_USER_KDEVOPS=y
26+
27+
# Workflows
28+
CONFIG_KDEVOPS_WORKFLOW_ENABLE_KOTD=y
29+
CONFIG_KDEVOPS_WORKFLOW_KOTD_ENABLE_LATEST=y
30+
31+
# Enable git for kernel development
32+
CONFIG_BOOTLINUX_9P=y
33+
CONFIG_BOOTLINUX_TREE_LINUS=y
34+
35+
# Networking
36+
CONFIG_KDEVOPS_ENABLE_TERRAFORM_SSH_COMPLETE_SETUP=y

defconfigs/aws-gpu-p5-48xlarge

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# AWS P5.48xlarge GPU instance configuration
2+
# 8x NVIDIA H100 80GB GPUs for AI/ML workloads
3+
4+
CONFIG_KDEVOPS_FIRST_RUN=y
5+
CONFIG_TERRAFORM=y
6+
CONFIG_TERRAFORM_AWS=y
7+
CONFIG_TERRAFORM_AWS_DATA_ENABLE=y
8+
9+
# Instance configuration
10+
CONFIG_TERRAFORM_AWS_INSTANCE_FAMILY_P5=y
11+
CONFIG_TERRAFORM_AWS_INSTANCE_P5_48XLARGE=y
12+
13+
# Large root volume for models and datasets
14+
CONFIG_TERRAFORM_AWS_EBS_SIZE=500
15+
CONFIG_TERRAFORM_AWS_EBS_VOLUME_TYPE_GP3=y
16+
17+
# US East 1 typically has best GPU availability
18+
CONFIG_TERRAFORM_AWS_REGION_US_EAST_1=y
19+
20+
# Debian 12 for stability
21+
CONFIG_VAGRANT_DEBIAN=y
22+
CONFIG_VAGRANT_DEBIAN12=y
23+
24+
# Use kdevops user
25+
CONFIG_KDEVOPS_SSH_CONFIG_USER_KDEVOPS=y
26+
27+
# Workflows
28+
CONFIG_KDEVOPS_WORKFLOW_ENABLE_KOTD=y
29+
CONFIG_KDEVOPS_WORKFLOW_KOTD_ENABLE_LATEST=y
30+
31+
# Enable git for kernel development
32+
CONFIG_BOOTLINUX_9P=y
33+
CONFIG_BOOTLINUX_TREE_LINUS=y
34+
35+
# Networking
36+
CONFIG_KDEVOPS_ENABLE_TERRAFORM_SSH_COMPLETE_SETUP=y

0 commit comments

Comments
 (0)