-
Notifications
You must be signed in to change notification settings - Fork 312
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
Add validator to fail when a user is not using a custom ami and is using an instance_type that is not supported by openRM #6006
Conversation
…s using an instance_type that is not supported by openRM
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #6006 +/- ##
========================================
Coverage 90.18% 90.18%
========================================
Files 180 180
Lines 15776 15784 +8
========================================
+ Hits 14227 14235 +8
Misses 1549 1549
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
79ff565
to
d65ff9c
Compare
388d363
to
135e9b5
Compare
…port instance types
): | ||
self._add_failure( | ||
f"The instance type '{instance_type}' is not supported by NVIDIA OpenRM drivers. " | ||
f"OpenRM can only be used on any Turing or later GPU architectures. " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: you can remove the f
from the lines where there are no variables to replace.
…ing an instance_type that is not supported by openRM (aws#6006) * Add validator to fail when a customer is not using a custom ami and is using an instance_type that is not supported by openRM * Update changelog to reflect which instances are not supported with the OpenRM Drivers * Add a constant for supported NVIDIA OpenRM Architecture and the unsupport instance types * Improve CHANGELOG Signed-off-by: Enrico Usai <[email protected]>
…ing an instance_type that is not supported by openRM (aws#6006) * Add validator to fail when a customer is not using a custom ami and is using an instance_type that is not supported by openRM * Update changelog to reflect which instances are not supported with the OpenRM Drivers * Add a constant for supported NVIDIA OpenRM Architecture and the unsupport instance types * Improve CHANGELOG
…ing an instance_type that is not supported by openRM (#6006) * Add validator to fail when a customer is not using a custom ami and is using an instance_type that is not supported by openRM * Update changelog to reflect which instances are not supported with the OpenRM Drivers * Add a constant for supported NVIDIA OpenRM Architecture and the unsupport instance types * Improve CHANGELOG Signed-off-by: Enrico Usai <[email protected]>
Description of changes
Tests
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.