HUB
Sign inSign up

yeasah/vllm-exl3-serve

By yeasah

•Updated about 14 hours ago

Serve EXL3 quantized models with vLLM.

Image
Machine learning & AI
0

848

yeasah/vllm-exl3-serve repository overview

Serve EXL3⁠ quantized models with vLLM⁠.

See vllm-exl3-plugin⁠ for usage details.

Example docker-compose.yml:

services:
  vllm-exl3-serve:
    image: yeasah/vllm-exl3-serve:latest
    ports:
      - ${HOST_PORT:-8000}:8000
    environment:
      - HF_TOKEN=${HF_TOKEN}
    command: --config /root/vllm_config.yml
    volumes:
      - ./vllm_config.yml:/root/vllm_config.yml
      - ~/.cache/huggingface:/root/.cache/huggingface
      - vllm-exl3-serve-cache:/root/.cache
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]

volumes:
  vllm-exl3-serve-cache:

A bind mount to the external environment huggingface cache is included, and a volume for all the other cached items that vLLM generates during operation.

On Windows (Docker Desktop's WSL2 engine), a bind mount reaches the container through a 9P file bridge out of the WSL VM. That's fine for loading, but if cpu-offload-gb is too small to hold every offloaded expert, the rest are read from the checkpoint during decode, and every such read crosses the bridge. Measured on Qwen3.6-35B-A3B with 8% of experts on disk: 16 t/s from a bind mount, 21–24 t/s with the cache on the WSL filesystem. If you serve with experts spilling to disk, consider replacing the bind mount with a named volume (- hf-cache:/root/.cache/huggingface, plus hf-cache: under the volumes section), which will be faster but isn't shared with Windows. The server warns at startup when this applies.

Alongside, the file vllm_config.yml should contain the vLLM configuration to be used. See example sections below.

Be patient the first time running a new model: vLLM does a considerable amount of compilation and tuning, and it may take a surprising amount of time. Subsequent runs after this is all done will be much faster.

For additional example configurations including models large and small, see the recipe index⁠.

⁠Qwen3.6-35B-A3B⁠

4.00bpw, with a 128K unquantized KV cache, offloaded vision and expert cache using 16GiB of host RAM, and MTP.

PlatformVRAMKVConcurrent Req.Mean PrefillMean OutputDraft Acceptance Rate
RTX 306010.32 GiB133K11632.31 t/s41.86 t/s62.33%
RTX 306010.32 GiB133K44375.89 t/s47.53 t/s62.01%
RTX 5060 ti15 GiB132K13646.68 t/s81.14 t/s77.38%
RTX 5060 ti15 GiB132K48737.31 t/s121.22 t/s75.64%
RTX 5070 ti15.2 GiB132K14757.50 t/s98.98 t/s66.58%
RTX 5070 ti15.2 GiB132K412503.21 t/s204.33 t/s71.36%
model: 'yeasah/Qwen3.6-35B-A3B-exl3'
revision: '4.00bpw'
max_model_len: 131072
max_num_seqs: 4
enable_auto_tool_choice: yes
tool_call_parser: qwen3_coder
reasoning_parser: qwen3
kv_cache_dtype: auto
cpu_offload_gb: 16
cpu_offload_params:
 - visual
 - experts
mm_processor_kwargs: '{"max_pixels": 1048576}'
speculative_config: '{"method":"mtp","num_speculative_tokens":2,"revision":"4.00bpw"}'
Tag summary
Recent tags
Content type
Image
Digest
sha256:456ae1ce4…
Size
8.5 GB
Last updated
about 14 hours ago
docker pull yeasah/vllm-exl3-serve:latest