Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Skip the torchao blockwise GEMM CUDA case on a real CUDA probe (#15211)
Daniel Han6375906ae928
diff --git a/tests/test_fp8_torchao_import_route.py b/tests/test_fp8_torchao_import_route.pyindex 2c437fcb02b..c1d1e71435a 100644--- a/tests/test_fp8_torchao_import_route.py+++ b/tests/test_fp8_torchao_import_route.py@@ -8,6 +8,7 @@ import typesimport pytestimport torch+from real_accelerator import has_real_cudafrom unsloth.kernels import fp8 as F8@@ -185,7 +186,7 @@ def test_torchao_block_matmul_routes_empty_inputs_to_triton(monkeypatch):@pytest.mark.skipif(- not torch.cuda.is_available() or F8.torchao_blockwise_gemm is None,+ not has_real_cuda() or F8.torchao_blockwise_gemm is None,reason = "needs CUDA and torchao's blockwise GEMM",)def test_fp8_block_matmul_empty_rows_on_gpu():