This guide covers GPU acceleration on Windows for Shimmy v2.0 (Airframe engine).
Shimmy v2.0 uses Airframe, a pure-Rust WebGPU engine. On Windows, wgpu selects the best available adapter automatically (D3D12 on NVIDIA/AMD/Intel, Vulkan as fallback). No CUDA SDK, no Vulkan SDK, and no C++ compiler needed.
curl -L https://github.com/Michael-A-Kuykendall/shimmy/releases/latest/download/shimmy-windows-x86_64.exe -o shimmy.exe
set SHIMMY_BASE_GGUF=C:\path\to\model.gguf
.\shimmy.exe serve.\shimmy.exe gpu-infoRequires the airframe submodule (initialize with --recurse-submodules):
git clone https://github.com/Michael-A-Kuykendall/shimmy --recurse-submodules
cd shimmy
cargo build --release --features airframe,huggingfaceset SHIMMY_BASE_GGUF=C:\path\to\model.gguf
set SHIMMY_MAX_CTX=8192
.\shimmy.exe serveThe llama.cpp CUDA/Vulkan/OpenCL backends are still available in v2.0 via the --legacy flag.
They require their respective SDKs. This section is preserved for reference.
- CUDA Toolkit 12.0+
- Compatible NVIDIA GPU with compute capability 6.0+
- OpenCL SDK or GPU vendor drivers
- Vulkan SDK (LunarG)
# CUDA
cargo build --release --features llama-cuda
# OpenCL
cargo build --release --features llama-opencl
# Vulkan
cargo build --release --features llama-vulkanUse with --legacy flag to activate:
.\shimmy.exe serve --legacy --model-path C:\path\to\model.gguf --gpu-backend cuda- CUDA not found: Ensure
nvccis in PATH - OpenCL headers missing: Install GPU vendor SDK
- Vulkan SDK missing: Install from LunarG
Pre-built Windows binaries with GPU support are available in GitHub Releases:
- Download from: https://github.com/Michael-A-Kuykendall/shimmy/releases
- Choose the appropriate GPU variant for your system
If you encounter issues:
- Check the main README for general troubleshooting
- Review CUDA documentation for GPU-specific details
- Open an issue at: https://github.com/Michael-A-Kuykendall/shimmy/issues
- v1.7.2+: Full Windows GPU support with templates included
- v1.7.1 and earlier: May have template packaging or MoE compilation issues
- Always use latest:
git cloneand build from source for best experience