• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aws / karpenter-provider-aws / 29053277419

09 Jul 2026 09:58PM UTC coverage: 68.468% (+0.03%) from 68.443%
29053277419

Pull #9322

github

zaidaf
feat: support fractional GPU instances (g6f) using LogicalGpuCount

Fractional GPU instances (e.g., g6f family) expose a physical GPU
partition as a logical GPU via the EC2 DescribeInstanceTypes
LogicalGpuCount field. This change adds support in Karpenter:

- Add karpenter.k8s.aws/instance-gpu-fractional well-known label
  ("true" when GpuPartitionSize < 1.0, "false" when == 1.0, absent
  when GpuPartitionSize is not set)
- Use LogicalGpuCount (when available) for both capacity reporting
  in nvidiaGPUs() and the instance-gpu-count scheduling requirement,
  falling back to Count when LogicalGpuCount is nil
- Update CRD CEL allowlists and hack/validation scripts for the new label
- Add unit tests covering all three GpuPartitionSize branches
- Add integration tests for g6f scheduling and NotIn-true filtering
- Update website documentation with the new label
Pull Request #9322: feat: support fractional GPU instances using LogicalGpuCount

18 of 18 new or added lines in 2 files covered. (100.0%)

1 existing line in 1 file now uncovered.

9159 of 13377 relevant lines covered (68.47%)

0.78 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.25
/pkg/providers/instance/instance.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc