Version: v2.7.0
Enable Cambricon MLU Sharing
HAMi now supports cambricon.com/mlu by implementing most device-sharing features similar to NVIDIA GPUs, including:
-
MLU Sharing: Tasks can request a fraction of an MLU instead of an entire MLU card. This enables multiple tasks to share the same MLU device.
-
Device Memory Control: You can allocate MLUs with a specified memory size, with guaranteed enforcement to ensure usage does not exceed the requested limit.
-
Device Core Control: MLUs can be assigned a specific number of compute cores, and enforcement ensures core usage remains within bounds.
-
MLU Type Selection: You can use annotations to specify which MLU types a task must use or must avoid by setting
cambricon.com/use-mlutypeorcambricon.com/nouse-mlutype.