Skip to content

Commit

Permalink
chore: fix gpu api in comments (#1988)
Browse files Browse the repository at this point in the history
Signed-off-by: Fansong Zeng <fanster.z@gmail.com>
  • Loading branch information
hormes committed Apr 16, 2024
1 parent ee2c838 commit 6b4014a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions apis/extension/device_share.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
]
Expand Down

0 comments on commit 6b4014a

Please sign in to comment.