Skip to content

Kyojin: open-source engine that runs 100 GB-class open models (GLM-5.3, Qwen3.8, DeepSeek V4.1) on one desktop machine. AMD Strix Halo, NVIDIA RTX and Apple Mac. OpenAI API, built on ExLlamaV3.

933 B
Raw Blame

Development: tests and CUDA build

Tests

pip install pytest
for t in tests/test_ablit_runtime_cpu.py tests/test_uncensor_bundled_cpu.py tools/glm/test_serve.py tools/mimo/test_serve.py tools/mimo/test_toolcalls.py tools/qwen/test_serve.py tools/qwen/test_guard.py tools/test_startup_health.py tests/test_moe_fused_k6_cpu.py; do PYTHONPATH=. pytest -q $t; done

Run each file separately because three files share a name (test_serve.py). These tests need no GPU and no built extension. GPU tests need a built extension and a free GPU.

Build on CUDA

The CUDA build is the upstream one and is unchanged. Install a CUDA 12.4 or newer build of PyTorch, then pip install -r requirements.txt && pip install .. upstream.md has the full upstream guide (wheels, PyPI, uv, Windows, architecture list, conversion tool, examples). strix-halo.md has the kernel notes and benchmark harnesses.