From 6b4014affba414025a4bfe40ce189d8110ef5c24 Mon Sep 17 00:00:00 2001 From: Fansong Zeng Date: Tue, 16 Apr 2024 15:11:38 +0800 Subject: [PATCH] chore: fix gpu api in comments (#1988) Signed-off-by: Fansong Zeng --- apis/extension/device_share.go | 8 ++++---- .../scheduling/20220629-fine-grained-device-scheduling.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apis/extension/device_share.go b/apis/extension/device_share.go index 2cf45f625..80b787069 100644 --- a/apis/extension/device_share.go +++ b/apis/extension/device_share.go @@ -59,16 +59,16 @@ const ( "minor": 0, "resources": { "koordinator.sh/gpu-core": 100, - "koordinator.sh/gpu-mem-ratio": 100, - "koordinator.sh/gpu-mem": "16Gi" + "koordinator.sh/gpu-memory-ratio": 100, + "koordinator.sh/gpu-memory": "16Gi" } }, { "minor": 1, "resources": { "koordinator.sh/gpu-core": 100, - "koordinator.sh/gpu-mem-ratio": 100, - "koordinator.sh/gpu-mem": "16Gi" + "koordinator.sh/gpu-memory-ratio": 100, + "koordinator.sh/gpu-memory": "16Gi" } } ] diff --git a/docs/proposals/scheduling/20220629-fine-grained-device-scheduling.md b/docs/proposals/scheduling/20220629-fine-grained-device-scheduling.md index 5277ade6e..2592d0d3f 100644 --- a/docs/proposals/scheduling/20220629-fine-grained-device-scheduling.md +++ b/docs/proposals/scheduling/20220629-fine-grained-device-scheduling.md @@ -228,16 +228,16 @@ In the PreBind stage, the scheduler will update the device (including GPU) alloc "minor": 0, "resouurces": { "koordinator.sh/gpu-core": 100, - "koordinator.sh/gpu-mem-ratio": 100, - "koordinator.sh/gpu-mem": "16Gi" + "koordinator.sh/gpu-memory-ratio": 100, + "koordinator.sh/gpu-memory": "16Gi" } }, { "minor": 1, "resouurces": { "koordinator.sh/gpu-core": 100, - "koordinator.sh/gpu-mem-ratio": 100, - "koordinator.sh/gpu-mem": "16Gi" + "koordinator.sh/gpu-memory-ratio": 100, + "koordinator.sh/gpu-memory": "16Gi" } } ]