Model Deployment Guide
This guide offers a selection of deployment command examples for JoyAI-LLM Flash, which may not be the optimal configuration. Given the rapid evolution of inference engines, we recommend referring to their official documentation for the latest updates to ensure peak performance.
Support for JoyAI-LLM Flash’s dense MTP architecture is currently being integrated into vLLM and SGLang. Until these PRs are merged into a stable release, please use the nightly Docker image for access to these features.
vLLM Deployment
Here is the example to serve this model on a single GPU card via vLLM:
- pull the Docker image.
docker pull jdopensource/joyai-llm-vllm:v0.15.1-joyai_llm_flash
- launch JoyAI-LLM Flash model with dense MTP.
vllm serve jdopensource/JoyAI-LLM-Flash-INT4 -tp 1 --trust-remote-code \
--tool-call-parser qwen3_coder --enable-auto-tool-choice \
--speculative-config $'{"method": "mtp", "num_speculative_tokens": 3}'
Key notes
--tool-call-parser qwen3_coder: Required for enabling tool calling
SGLang Deployment
Similarly, here is the example to run on a single GPU card via SGLang:
- pull the Docker image.
docker pull jdopensource/joyai-llm-sglang:v0.5.8-joyai_llm_flash
- launch JoyAI-LLM Flash model with dense MTP.
python3 -m sglang.launch_server --model-path jdopensource/JoyAI-LLM-Flash-INT4 --tp-size 1 --trust-remote-code \
--tool-call-parser qwen3_coder \
--speculative-algorithm EAGLE \
--speculative-num-steps 3 --speculative-eagle-topk 1 --speculative-num-draft-tokens 4
Key notes:
--tool-call-parser qwen3_coder: Required when enabling tool usage.