Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

50 Commits

Folders and files

Repository files navigation

KETI Device Plugin

Kubernetes device plugins for heterogeneous accelerators (GPU, NPU).

Directory Structure

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

Components

keti-gpu-plugin

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

keti-npu-plugin

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)

Quick Start

GPU Workloads

cd keti-gpu-plugin/scripts/test/workloads
./deploy.sh a b
kubectl logs -f workload-a
./clean.sh

NPU Workloads

kubectl apply -f keti-npu-plugin/scripts/test/workloads/npu-test.yaml
kubectl logs npu-test

Kubernetes Pods

$ kubectl get pods -n kube-system | grep keti

keti-gpu-plugin-xxxxx    Running
keti-npu-plugin-xxxxx    Running

Architecture

┌─────────────────────────────────────────────────────────────────┐
│                     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       │  │      │  │               │  │          │
│  │  └───────────────┘  │      │  └───────────────┘  │          │
│  └─────────────────────┘      └─────────────────────┘          │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

device-plugin

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages