chore: workers list api

This commit is contained in:
jialin
2024-06-26 10:36:29 +08:00
parent ad9775db69
commit 2e30eb7012
5 changed files with 70 additions and 27 deletions
+11 -6
View File
@@ -3,12 +3,17 @@ export interface Gpu {
name: string;
vendor: string;
index: number;
core_total: number;
core_allocated: number;
core_utilization_rate: number;
memory_total: number;
memory_allocated: number;
memory_used: number;
core: {
total: number;
allocated: number;
utilization_rate: number;
};
memory: {
total: number;
allocated: number;
used: number;
utilization_rate: number;
};
temperature: number;
}