Interactive Manifest Generator
Project HAMi supports GPU virtualization across a variety of hardware manufacturers: NVIDIA, AMD, Birentech, Cambricon, Hygon, Iluvatar, Moore Threads, MetaX, Enflame, AWS Neuron, KunlunXin, and Huawei Ascend. Use vendor-specific keys in resources.limits to request supported device resources. For vendors that support device type or UUID constraints, the generator adds those values to metadata.annotations when configured.
Use the interactive tool below to generate the exact YAML configuration needed for your use case. You can integrate the generated configuration directly into your deployment specifications (such as adding the resources to your spec.template.spec.containers section).
Resource Request Configuration
Generated YAML Manifest
Integrate this into your Kubernetes Pod or Deployment spec.
apiVersion: v1
kind: Pod
metadata:
name: hami-nvidia-pod
spec:
containers:
- name: hami-container
image: ubuntu:22.04
command: ["sleep", "infinity"]
resources:
limits:
nvidia.com/gpu: 1
nvidia.com/gpumem: 3000
Advanced Options
- Specific Device Type: If you have a heterogeneous cluster (e.g. A100s and V100s), you can specify which device model your pod should be scheduled on.
- Specific Device UUID: If you need to bind a pod to a specific physical device for performance profiling or debugging, you can provide its UUID.
Note: Not all vendors support core percentage or memory percentage scaling. The generator automatically adapts its options based on the selected device vendor's supported capabilities.