MCPcopy
hub / github.com/Andyyyy64/whichllm / GPUInfo

Class GPUInfo

src/whichllm/hardware/types.py:7–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6@dataclass
7class GPUInfo:
8 name: str
9 vendor: str # "nvidia" | "amd" | "apple" | "intel"
10 vram_bytes: int
11 usable_vram_bytes: int | None = None
12 compute_capability: tuple[int, int] | None = None # NVIDIA only
13 cuda_version: str | None = None
14 rocm_version: str | None = None
15 memory_bandwidth_gbps: float | None = None # from lookup table
16 shared_memory: bool = False
17 vram_overridden: bool = False
18
19
20@dataclass

Callers 15

display_planFunction · 0.90
display_plan_jsonFunction · 0.90
_gpu_info_from_nameFunction · 0.90
create_synthetic_gpuFunction · 0.90
detect_windows_gpusFunction · 0.90
_make_nvidia_gpuFunction · 0.90
_make_gpuFunction · 0.90
detect_apple_gpuFunction · 0.90
detect_apple_gpu_linuxFunction · 0.90
_make_hardwareFunction · 0.90

Calls

no outgoing calls