Skip to content

armgit / uzu

Public Imported from GitHub
0

A high-performance inference engine for AI models

653 B
Raw Blame
"""Launch Splash with the smallest supported target GGUF variant."""

import pytest

from .engine_tests import EngineTests

MODEL = "unsloth/Qwen3.8-27B-GGUF:UD-IQ1_S"


def add_options(parser: pytest.Parser) -> None:
    group = parser.getgroup("Splash")
    group.addoption(
        "--splash-model", default=MODEL, help="Prepared model local path or HuggingFace id (with optional :VARIANT)."
    )


class TestSplash(EngineTests):
    engine_name = "splash"

    @staticmethod
    def command(config: pytest.Config) -> list[str]:
        return ["uv", "run", "--project", "engine-splash", "bench-splash", "--model", config.getoption("splash_model")]