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

Method test_nvidia_rtx_4090

tests/test_gpu_simulator.py:49–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47
48class TestKnownGPULookup:
49 def test_nvidia_rtx_4090(self):
50 gpu = create_synthetic_gpu("RTX 4090")
51 assert gpu.vram_bytes == 24 * _GiB
52 assert gpu.vendor == "nvidia"
53 assert gpu.memory_bandwidth_gbps is not None
54 assert gpu.compute_capability is not None
55 assert gpu.compute_capability[0] >= 8
56 assert "(simulated)" in gpu.name
57
58 def test_nvidia_rtx_3060(self):
59 gpu = create_synthetic_gpu("RTX 3060")

Callers

nothing calls this directly

Calls 1

create_synthetic_gpuFunction · 0.90

Tested by

no test coverage detected