File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
frontend/src/pages/MCADashboard/Metrics Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const MetricCard: React.FC<MetricCardProps> = ({
2323
2424 const getData = async ( ) => {
2525 const data = await getMetricData ( query ) ;
26- if ( data === 'No GPU In Cluster ' ) {
26+ if ( data === 'No GPUs Detected ' ) {
2727 setNoGpu ( data ) ;
2828 } else {
2929 setPercentage ( Math . round ( data * 100 ) / 100 ) ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import React from 'react';
44import { timeStringToSeconds } from '~/pages/MCADashboard/Metrics/metrics-utils' ;
55
66export const getMetricData = async ( query : string ) => {
7- const noGpu = "No GPU In Cluster "
7+ const noGpu = "No GPUs Detected "
88 const utilizedGPUQuery = 'count(count by (UUID,GPU_I_ID) (DCGM_FI_PROF_GR_ENGINE_ACTIVE{exported_pod=~".+"})) or vector(0)'
99 const utilizedGPUMemoryQuery = 'count(count by (UUID,GPU_I_ID) (DCGM_FI_DEV_MEM_COPY_UTIL))'
1010 try {
You can’t perform that action at this time.
0 commit comments