public inbox for kdevops@lists.linux.dev
 help / color / mirror / Atom feed
* [RFC PATCH] terraform/aws: Add an AMI menu entry for Deep Learning AMIs
@ 2025-10-08 19:38 Chuck Lever
  2025-10-10  0:51 ` Luis Chamberlain
  0 siblings, 1 reply; 3+ messages in thread
From: Chuck Lever @ 2025-10-08 19:38 UTC (permalink / raw)
  To: Luis Chamberlain; +Cc: kdevops, Chuck Lever

From: Chuck Lever <chuck.lever@oracle.com>

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 AI
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 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?


diff --git a/terraform/aws/scripts/gen_kconfig_ami b/terraform/aws/scripts/gen_kconfig_ami
index 3cf623a8945f..b9de397ba3c3 100755
--- a/terraform/aws/scripts/gen_kconfig_ami
+++ b/terraform/aws/scripts/gen_kconfig_ami
@@ -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',
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [RFC PATCH] terraform/aws: Add an AMI menu entry for Deep Learning AMIs
  2025-10-08 19:38 [RFC PATCH] terraform/aws: Add an AMI menu entry for Deep Learning AMIs Chuck Lever
@ 2025-10-10  0:51 ` Luis Chamberlain
  2025-10-10 12:32   ` Chuck Lever
  0 siblings, 1 reply; 3+ messages in thread
From: Luis Chamberlain @ 2025-10-10  0:51 UTC (permalink / raw)
  To: Chuck Lever; +Cc: kdevops, Chuck Lever

On Wed, Oct 08, 2025 at 03:38:40PM -0400, Chuck Lever wrote:
> From: Chuck Lever <chuck.lever@oracle.com>
> 
> 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 AI
> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
> ---
>  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC PATCH] terraform/aws: Add an AMI menu entry for Deep Learning AMIs
  2025-10-10  0:51 ` Luis Chamberlain
@ 2025-10-10 12:32   ` Chuck Lever
  0 siblings, 0 replies; 3+ messages in thread
From: Chuck Lever @ 2025-10-10 12:32 UTC (permalink / raw)
  To: Luis Chamberlain; +Cc: kdevops, Chuck Lever

On 10/9/25 8:51 PM, Luis Chamberlain wrote:
> On Wed, Oct 08, 2025 at 03:38:40PM -0400, Chuck Lever wrote:
>> From: Chuck Lever <chuck.lever@oracle.com>
>>
>> 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 AI
>> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
>> ---
>>  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 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


> 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.


-- 
Chuck Lever

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-10 12:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-08 19:38 [RFC PATCH] terraform/aws: Add an AMI menu entry for Deep Learning AMIs Chuck Lever
2025-10-10  0:51 ` Luis Chamberlain
2025-10-10 12:32   ` Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox