GNU Linux/SGLang/Pure Cuda Graph/258K/4 concurrent requests

#2
by jpmrblood - opened

Thank you for this model.

I run this without any speculative decoding because I can have prefill and decode use CUDA graph. I also applying the chat fix, but I think your defaults may be okay. I haven't tested without the chat fix because now I use the model extensively. Disable the hicache and lower the SHM size if you need to.

docker run --gpus all --ipc=host --cap-add=SYS_PTRACE --shm-size 32g -p 8082:8082 \
  -e PYTORCH_CUDA_ALLOC_CONF="expandable_segments:True,max_split_size_mb:512" \
  -e CUDA_VISIBLE_DEVICES=0 \
  -e NCCL_P2P_DISABLE=1 \
  -e FLASHINFER_MAX_NUM_SEQS=16 \
  -e CUTE_DSL_ARCH=sm_120 \
  -v ~/.cache/huggingface:/root/.cache/huggingface \
  -v ~/Models:/models \
  -v ~/.cache/sglang:/root/.cache/sglang \
  lmsysorg/sglang:qwen38-27b \
  sglang serve \
    --trust-remote-code \
    --model-path /models/gittensor-model-hub/Qwen3.8-27B-NVFP4-RTX5090-LMHead4 \
    --chat-template /models/chat_template-fixes/peculiar-ragdoll/chat_template.jinja \
    --mm-feature-transport=cpu \
    --enable-hierarchical-cache \
    --hicache-ratio 3.0 \
    --mem-fraction-static 0.85 \
    --max-mamba-cache-size 18 \
    --mamba-ssm-dtype bfloat16 \
    --mamba-radix-cache-strategy extra_buffer_lazy \
    --attention-backend flashinfer \
    --chunked-prefill-size 2048 \
    --reasoning-parser qwen3 \
    --tool-call-parser qwen3_coder \
    --kv-cache-dtype fp8_e4m3 \
    --context-length 258043 \
    --host 0.0.0.0 \
    --port 8082 \
    --enable-metrics \
    --served-model-name "gittensor-model-hub/Qwen3.8-27B-NVFP4-RTX5090-LMHead4"

Sign up or log in to comment