Kubernetes device plugins for heterogeneous accelerators (GPU, NPU).
device-plugin/
├── keti-gpu-plugin/ # NVIDIA GPU support
│ ├── vai_accelerator/ # SM partitioning library
│ ├── scripts/test/workloads/ # Test workload YAMLs
│ ├── pkg/ # Go packages
│ └── deploy/ # Kubernetes deployments
│
├── keti-npu-plugin/ # NPU support (placeholder)
│ ├── pkg/npu/ # NPU device management
│ ├── scripts/test/workloads/ # Test workload YAMLs
│ └── deploy/ # Kubernetes deployments
│
└── README.md
| Component | Status | Description |
|---|---|---|
| vai_accelerator.so | ✅ Ready | SM partitioning via cuCtxCreate_v3 |
| ConfigMap | ✅ Ready | vai-accelerator-binary |
| Test workloads | ✅ Ready | workload-a,b,c,d |
Pod Name: keti-gpu-plugin-xxxxx
Environment Variables:
BLESS_LIMIT_PCT: SM limit percentage (1-99)LD_PRELOAD: Path to libvai_accelerator.so
| Component | Status | Description |
|---|---|---|
| Device discovery | 🔲 Skeleton | Placeholder (1 device) |
| Resource allocation | 🔲 Skeleton | Not implemented |
| Device plugin | 🔲 Skeleton | DaemonSet template only |
Pod Name: keti-npu-plugin-xxxxx
Environment Variables:
NPU_DEVICE_COUNT: Number of NPU devices (default: 1)
cd keti-gpu-plugin/scripts/test/workloads
./deploy.sh a b
kubectl logs -f workload-a
./clean.shkubectl apply -f keti-npu-plugin/scripts/test/workloads/npu-test.yaml
kubectl logs npu-test$ kubectl get pods -n kube-system | grep keti
keti-gpu-plugin-xxxxx Running
keti-npu-plugin-xxxxx Running
┌─────────────────────────────────────────────────────────────────┐
│ Kubernetes Cluster │
├─────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────────────┐ ┌─────────────────────┐ │
│ │ GPU Node │ │ NPU Node │ │
│ │ │ │ │ │
│ │ ┌───────────────┐ │ │ ┌───────────────┐ │ │
│ │ │keti-gpu-plugin│ │ │ │keti-npu-plugin│ │ │
│ │ │ (vai_accel.so)│ │ │ │ (placeholder) │ │ │
│ │ └───────────────┘ │ │ └───────────────┘ │ │
│ │ │ │ │ │
│ │ ┌───────────────┐ │ │ ┌───────────────┐ │ │
│ │ │ NVIDIA GPU │ │ │ │ NPU Device │ │ │
│ │ │ RTX PRO 6000 │ │ │ │ (TBD) │ │ │
│ │ │ 188 SMs │ │ │ │ │ │ │
│ │ └───────────────┘ │ │ └───────────────┘ │ │
│ └─────────────────────┘ └─────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────┘