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

GPU and Accelerator Model and Manufacturer Support w/ free-tier, auto-recovery, dedicated-hosts, and cpu-manufacturer #128

Merged
merged 6 commits into from
Apr 11, 2022

Conversation

bwagner5
Copy link
Contributor

Issue #, if available:
N/A

Description of changes:

  • Upgrade to go 1.18
  • Parallelize filter preparation and execution
  • Add new filters:
    • auto-recovery
    • free-tier
    • dedicated-hosts
    • cpu-manufacturer
    • gpu-manufacturer
    • gpu-model
    • inference-acceleartor-manufacturer
    • inference-accelerator-model

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bwagner5 bwagner5 requested a review from a team as a code owner April 11, 2022 14:15
@bwagner5 bwagner5 requested a review from AustinSiu April 11, 2022 14:15
@bwagner5 bwagner5 changed the title Gpu models GPU and Accelerator Model and Manufacturer Support w/ free-tier, auto-recovery, dedicated-hosts, and cpu-manufacturer Apr 11, 2022
if contains(instanceTypeInfo.ProcessorInfo.SupportedArchitectures, ec2.ArchitectureTypeArm64) {
return aws.String("aws")
}
if amdRegex.Match([]byte(*instanceTypeInfo.InstanceType)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regex matching the instance type seems fragile with all the possible current and future instance type names. Is that really the best (or only) way to suss out if the CPU is AMD?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pkg/selector/comparators.go Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants