Skip to content

Commit

Permalink
multi-gpu test
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptobench committed Aug 21, 2024
1 parent 2c71920 commit 88d2cb1
Show file tree
Hide file tree
Showing 11 changed files with 518 additions and 247 deletions.
21 changes: 21 additions & 0 deletions docker-stack/golem-reputation-backend/benchmark/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,24 @@ export interface Benchmark {
type: string // 'disk', 'cpu', 'memory', 'network', 'gpu'
data: any // This should ideally be replaced with a more specific interface based on the structure of your benchmark data
}


export interface GPUInfo {
name: string;
pcie: number;
memory_total: number;
memory_free: number;
cuda_cap: number;
// Remove gpu_burn_gflops from here
}

export interface GPUBenchmarkData {
node_id: string;
gpus: (GPUInfo & { quantity: number })[];
gpu_burn_gflops: number;
}

export interface Benchmark {
type: string; // 'disk', 'cpu', 'memory', 'network', 'gpu'
data: DiskBenchmarkData | CPUBenchmarkData | MemoryBenchmarkData | NetworkBenchmarkData | GPUBenchmarkData;
}
Loading

0 comments on commit 88d2cb1

Please sign in to comment.