skypilot-org/skypilot

[Kubernetes] GPU prefix matching should not allow non-existent GPU variants

开放

#9,035 创建于 2026年3月10日

 (2 条评论) (0 个反应) (0 位负责人)Python (311 个派生)batch import
good first issuegood starter issues

仓库指标

星标
 (4,859 个星标)
PR 合并指标
 (平均合并 2天 23小时) (30 天内合并 146 个 PR)

描述

On a K8s cluster where sky show-gpus --infra k8s shows only H100:

  • sky launch --gpus H100-MEGA succeeds (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.

贡献者指南