InfuseAI / primehub

open-source MLOps platform
https://docs.primehub.io
Apache License 2.0
393 stars 40 forks source link

fix: show GPU resource #652

Closed jimmyliao closed 2 years ago

jimmyliao commented 2 years ago

PR checklist

What type of PR is this?

Fix the GPU resource core checking.

What this PR does / why we need it: kubectl describe node | grep -E "^Allocatable" -A7 | grep 'nvidia.com/gpu' nvidia.com/gpu: 8

Original:

grep 'nvidia.com/gpu '

Should do

grep 'nvidia.com/gpu

Which issue(s) this PR fixes: Fix the gpu core grep syntax by space removal.

Special notes for your reviewer:

Does this PR introduce a user-facing change?: