()
| 42 | return http.get<any>(`/ai/gpu/load`); |
| 43 | }; |
| 44 | export const getGPUOptions = () => { |
| 45 | return http.get<AI.MonitorGPUOptions>(`/ai/gpu/options`); |
| 46 | }; |
| 47 | export const loadGPUMonitor = (param: AI.MonitorGPUSearch) => { |
| 48 | return http.post<AI.MonitorGPUData>(`/ai/gpu/search`, param); |
| 49 | }; |