Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

guest_accelerator.type 'nvidia-l4' is not supported #2797

Open
himekifee opened this issue Dec 19, 2023 · 4 comments · Fixed by #2883
Open

guest_accelerator.type 'nvidia-l4' is not supported #2797

himekifee opened this issue Dec 19, 2023 · 4 comments · Fixed by #2883
Assignees
Labels
bug Something isn't working google Issue related to Google Cloud

Comments

@himekifee
Copy link

My projects used a l4 GPU in a g2-standard-4. The debug output gives the following.

{
  "currency": "USD",
  "enable_cloud_org": false,
  "file": "github.com/infracost/infracost/internal/resources/google/compute_cost_component_helpers.go:416",
  "func": "github.com/infracost/infracost/internal/resources/google.guestAcceleratorCostComponent",
  "level": "debug",
  "msg": "skipping cost component because guest_accelerator.type 'nvidia-l4' is not supported",
  "sync_usage": false,
  "time": "2023-12-19T19:52:35Z"
}
@alikhajeh1
Copy link
Member

Thanks for reporting this! I had a quick look and my guess is that https://github.com/infracost/infracost/blob/master/internal/resources/google/compute_cost_component_helpers.go#L396-L414 needs to be updated

@aliscott aliscott added bug Something isn't working google Issue related to Google Cloud labels Dec 22, 2023
@himekifee
Copy link
Author

Hi, any update on this? I imagine it won't be a big change but rather just an easy config modification.

@vdmgolub
Copy link
Contributor

@himekifee Hi! I've created a PR with the fix. Could you please confirm that the estimate looks correct for g2-standard-4 with 1 GPU here. I've never used that kind of instances, and Google calculator doesn't help me much. Thanks!

@vdmgolub vdmgolub self-assigned this Feb 15, 2024
@vdmgolub vdmgolub reopened this Feb 16, 2024
@vdmgolub
Copy link
Contributor

@himekifee The fix is merged to the master. We'll let you know when the new CLI release that includes it is live. Thanks again for reporting the issue! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working google Issue related to Google Cloud
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants