Skip to main content
Version: v1.3.0

HAMi-core design

Introduction

HAMi-core is a hook library for CUDA environment, it is the in-container gpu resource controller, it has beed adopted by HAMi, volcano

img

Features

HAMi-core has the following features:

  1. Virtualize device meory

image

  1. Limit device utilization by self-implemented time shard

  2. Real-time device utilization monitor

Design

HAMi-core operates by Hijacking the API-call between CUDA-Runtime(libcudart.so) and CUDA-Driver(libcuda.so), as the figure below:

img