MCPcopy Create free account
hub / github.com/bitsandbytes-foundation/bitsandbytes / cuda120_spec

Function cuda120_spec

tests/test_cuda_setup_evaluator.py:12–18  ·  view source on GitHub ↗

Simulates torch+cuda12.0 and a representative Ampere-class capability.

()

Source from the content-addressed store, hash-verified

10
11@pytest.fixture
12def cuda120_spec() -> CUDASpecs:
13 """Simulates torch+cuda12.0 and a representative Ampere-class capability."""
14 return CUDASpecs(
15 cuda_version_string="120",
16 highest_compute_capability=(8, 6),
17 cuda_version_tuple=(12, 0),
18 )
19
20
21@pytest.fixture

Callers

nothing calls this directly

Calls 1

CUDASpecsClass · 0.90

Tested by

no test coverage detected