terraform/aws: Add an AMI menu entry for Deep Learning AMIs
RFC PATCH 1/1 terraform/aws: Add an AMI menu entry for Deep Learning AMIs
From: Chuck Lever <[email protected]>
The entry uses Amazon's owner ID (137112412989) and includes search patterns for "Deep Learning AMI" and "Deep Learning Base" AMIs, which are AWS's pre-configured GPU-enabled images for machine learning workloads.
--- terraform/aws/scripts/gen_kconfig_ami | 9 +++++++++ 1 file changed, 9 insertions(+)
Luis, this is untested. Can you apply this patch, rebuild the compute menu, and see if it provides the desired results?
terraform/aws/scripts/gen_kconfig_ami +9 -0
@@ -84,6 +84,15 @@ def get_known_ami_owners(): r'debian-.*', ] }, + 'deeplearning': { + 'owner_id': '137112412989', + 'owner_name': 'Amazon', + 'description': 'AWS Deep Learning AMIs with GPU support', + 'search_patterns': [ + r'Deep Learning AMI.*', + r'Deep Learning Base.*', + ] + }, 'fedora': { 'owner_id': '125523088429', 'owner_name': 'Fedora',
Signature · 1 line
2.51.0
Quoted 7 lines · Chuck Lever
From: Chuck Lever <[email protected]>
The entry uses Amazon's owner ID (137112412989) and includes search patterns for "Deep Learning AMI" and "Deep Learning Base" AMIs, which are AWS's pre-configured GPU-enabled images for machine learning workloads.
Quoted 8 lines
Generated-by Claude AISigned-off-by Chuck Lever <[email protected]>--- terraform/aws/scripts/gen_kconfig_ami | 9 +++++++++ 1 file changed, 9 insertions(+)Luis, this is untested. Can you apply this patch, rebuild the compute menu, and see if it provides the desired results?
Sure, but I'm at a loss, is there a dynamic kconfig thing? I also can't get any instance up on my account as I have the VPC issue so I can't test unless that's fixed.
Luis
Quoted 14 lines · Luis Chamberlain
Quoted 13 lines · Chuck Lever
From: Chuck Lever <[email protected]>
The entry uses Amazon's owner ID (137112412989) and includes search patterns for "Deep Learning AMI" and "Deep Learning Base" AMIs, which are AWS's pre-configured GPU-enabled images for machine learning workloads.
Generated-by Claude AISigned-off-by Chuck Lever <[email protected]>--- terraform/aws/scripts/gen_kconfig_ami | 9 +++++++++ 1 file changed, 9 insertions(+)
Quoted 4 lines
Quoted 2 lines
Luis, this is untested. Can you apply this patch, rebuild the compute menu, and see if it provides the desired results?
Sure, but I'm at a loss, is there a dynamic kconfig thing?
I haven't adapted your patches that add make targets for regenerating the menus yet. Again, I wanted an MVP for us to kick around for a bit first. Driving this stuff from make is definitely a to-do.
But this should work for now:
$ cd terraform/aws $ scripts/gen_kconfig_ami > kconfigs/Kconfig.ami
Quoted 3 lines
I also can't
get any instance up on my account as I have the VPC issue so I can't test unless that's fixed.
I will be able to do simple testing when I get back to my lab in a couple days.
Signature · 1 line
Chuck Lever