volcano icon indicating copy to clipboard operation
volcano copied to clipboard

gpu memory incorretly allocated using `vgpu-memory-percentage` resource name

Open abowloflrf opened this issue 9 months ago • 3 comments

What happened:

I'm using volcano-vgpu-device-plugin with Volcano, when i'm trying to allocate vgpu with resource:

volcano.sh/vgpu-number: 1
volcano.sh/vgpu-cores: 50
volcano.sh/vgpu-memory-percentage: 20

The allocation results in Pod annotations show 0 memory was allocated, which is incorrect.

Volcano scheduler logs:

image

What you expected to happen:

The allocated memory should be totalMemory * percetage / 100 but not 0

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Volcano Version: v1.8.2
  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

abowloflrf avatar May 13 '24 13:05 abowloflrf