(self)
| 47 | |
| 48 | class 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") |
nothing calls this directly
no test coverage detected