A high-performance inference engine for AI models
"""Launch MTPLX with its smallest published native-MTP model pack."""
import pytest
from .engine_tests import EngineTests
MODEL = "Youssofal/Qwen3.5-4B-MTPLX-Optimized-Speed"
def add_options(parser: pytest.Parser) -> None:
group = parser.getgroup("MTPLX")
group.addoption(
"--mtplx-model", default=MODEL, help="Target model local path or HuggingFace id (with MTP weights)."
)
class TestMTPLX(EngineTests):
engine_name = "mtplx"
@staticmethod
def command(config: pytest.Config) -> list[str]:
return ["uv", "run", "--project", "engine-mtplx", "bench-mtplx", "--model", config.getoption("mtplx_model")]