skypilot-org/skypilot
[Kubernetes] GPU prefix matching should not allow non-existent GPU variants
Offen
#9.035 geöffnet am 10.03.2026
good first issuegood starter issues
Repository-Metriken
- Stars
- (4.859 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
On a K8s cluster where sky show-gpus --infra k8s shows only H100:
sky launch --gpus H100-MEGAsucceeds (should it?)sky launch --gpus 'NVIDIA:40GB+'shows H100-NVLINK, H100-SXM, H100-MEGA, H100-NVL as separate options, all resolving to the same physical H100
K8s prefix-based fuzzy matching in _accelerator_name_matches() accepts any name where H100 is a prefix (e.g., H100-MEGA, H100-SXM). The optimizer should filter against what's actually available on the cluster.