Open sansmoraxz opened 11 months ago
Hi @sansmoraxz, thanks for opening the issue. You only have to do this when setting it up initially, how big of an issue is this for you? I could see a possible devcontainer.json customization for this kind of stuff but generally speaking the infrastructure from the providers are mostly separated from the devcontainer spec
Not huge, more of a QOL thing for me. I do have seperate provides for use cases. And have a bash script to update the ami
s.
But someone with less understanding may struggle here, or even waste time trying to debug the issue.
As I understand a condition for whether GPU is enabled can be passed here: https://github.com/loft-sh/devpod-provider-aws/blob/b8c145e4b7ee6d98b933fb0749d0707463457127/pkg/aws/aws.go#L176-L192
Would've made a PR, but I didn't get how much API changes needed to be made to get it working.
The default ubuntu images lacks a lot of stuff when trying to create with GPU enabled.
Currently I am using
Deep Learning Base GPU AMI (Ubuntu 20.04) 20231026
ieami-0e376370bca957974
for regionap-south-1
to create GPU based dev-containers. It would be ideal if it was inferred from requested devcontainer config file, as we have to manually look up the ami while creating for other regions.