MCPcopy Create free account
hub / github.com/RightNow-AI/autokernel / GPUSpec

Class GPUSpec

profile.py:77–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76@dataclass
77class GPUSpec:
78 name: str = "Unknown"
79 sm_count: int = 0
80 memory_gb: float = 0.0
81 peak_tflops_fp16: float = 0.0
82 peak_tflops_bf16: float = 0.0
83 peak_tflops_fp32: float = 0.0
84 peak_bandwidth_gb_s: float = 0.0
85 l2_cache_mb: float = 0.0
86 compute_capability: Tuple[int, int] = (0, 0)
87
88
89def _fallback_detect_gpu() -> GPUSpec:

Callers 2

_fallback_detect_gpuFunction · 0.70
detect_gpuFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected