-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[k8s] GPU Feature discovery label formatter (#3493)
* GFDLabel formatter for k8s * update comment * format * substring match against k8s labels instead of strict matching * cleanup * use k8s label * map k8s label value to accelerator instead of accelerator to label value * remove unused get_gke_accelerator_name * remove get acc from value func * pattern match against A100' * pattern match against A100' * format * fix typo * format * re.search * compare strings * add P4000 * format * lower case for check Co-authored-by: Zhanghao Wu <[email protected]> * force upper case * match skypilot labeler logic * format.sh * add docstring * fix class docstring * grammar fix * format --------- Co-authored-by: Zhanghao Wu <[email protected]>
- Loading branch information
1 parent
15905e8
commit cb858b5
Showing
2 changed files
with
72 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters