Skip to content

RadixArk/Qwen3.8-Flash-Next-NVFP4

Download qwen38-flash-next-radixark-nvfp4-sglang-tp2-262k-recipe.toml

qwen38-flash-next-radixark-nvfp4-sglang-tp2-262k-recipe.toml · 5,747 bytes · SHA-256 be2dee79e5bb1477ecce81f5487597c560a7da6f84e191af987659c9891679a5

A recipe is a reproducible starting point, not a promotion

Status text and notes describe when the recipe was written. Loading a recipe starts a loopback-only container and changes no route; qualify it with eval preflight before use.

Field Value
Status qualification-candidate
Family qwen3.8-flash-next-multimodal-moe
Weights RadixArk/Qwen3.8-Flash-Next-NVFP4 @ 7b719225242aacd3dbd3f9407468c2ee9a9d2594
Engine sglang-qwen38-flash-next-day-zero
Image lmsysorg/sglang@sha256:59f06adce6f91401adf443bd168d45fdb2044d77671fd591c7c57a29d851cbae
Quantization NVIDIA ModelOpt NVFP4 W4A4 routed experts; BF16 attention, GDN, QSA, shared experts, vision, and MTP; FP8 PLE tables dequantized to BF16 at load
Context tokens 262144
Hardware 2x NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition · sm_120 · 192 GB
Served model name qwen38-flash-next-radixark-nvfp4-tp2-262k
Suited for qualification, compatibility, long-context, coding-agent, multimodal, tool-use
Origin 2026-08-26 RadixArk publisher 262144-token recipe translated to the proven SM120/WSL2 TP=2 compatibility lane

Sources:

Use this recipe

anvil-serving models recipes show 'RadixArk/Qwen3.8-Flash-Next-NVFP4' --registry ./qwen38-flash-next-radixark-nvfp4-sglang-tp2-262k-recipe.toml
anvil-serving models recipes load 'RadixArk/Qwen3.8-Flash-Next-NVFP4' --container my-serve --registry ./qwen38-flash-next-radixark-nvfp4-sglang-tp2-262k-recipe.toml --dry-run

Review the dry run, then repeat the load command with --confirm. See model lifecycle for importing a recipe into your own registry.

File

schema = "anvil-serving.serve-recipes/v1"

[[recipe]]
model = "RadixArk/Qwen3.8-Flash-Next-NVFP4"
status = "qualification-candidate"
source = "2026-08-26 RadixArk publisher 262144-token recipe translated to the proven SM120/WSL2 TP=2 compatibility lane"
family = "qwen3.8-flash-next-multimodal-moe"
total_params_b = 180

[recipe.download]
repo = "RadixArk/Qwen3.8-Flash-Next-NVFP4"
revision = "7b719225242aacd3dbd3f9407468c2ee9a9d2594"
volume = "vllm-hfcache"
require_complete_cache = true

[recipe.hardware]
gpu = "2x NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition"
arch = "sm_120"
vram_total_gb = 192
vram_note = "Aggregate PCIe VRAM without NVLink under WSL2; exclusive TP=2 compatibility experiment. Publisher validation used B200/B300/GB300-class native Linux hardware, not this host."

[recipe.serve]
engine = "sglang-qwen38-flash-next-day-zero"
allow_cuda_visible_devices_index = true
image = "lmsysorg/sglang@sha256:59f06adce6f91401adf443bd168d45fdb2044d77671fd591c7c57a29d851cbae"
entrypoint = [
  "bash",
  "-lc",
  '''set -e; LP=/sgl-workspace/sglang/python/sglang/srt/layers/logits_processor.py; if [ "$(grep -c 'enabled=self.do_tensor_parallel_all_gather and not self.use_attn_tp_group,' "$LP")" = "1" ]; then sed -i 's/enabled=self.do_tensor_parallel_all_gather and not self.use_attn_tp_group,/enabled=False,/' "$LP"; echo 'anvil patch: multimem logits gatherer disabled (NCCL fallback)'; elif grep -q 'enabled=False,' "$LP"; then echo 'anvil patch: multimem gatherer already disabled'; else echo 'anvil patch: logits gatherer anchor drift' >&2; exit 3; fi; QP=/sgl-workspace/sglang/python/sglang/srt/layers/attention/qwen_sparse_attn_backend.py; if [ "$(sed -n '/^    def _forward_paged_attention(/,/^        trtllm_decode =/p' "$QP" | grep -c '^        if not q.is_cuda:$')" = "1" ]; then sed -i '/^    def _forward_paged_attention(/,/^        trtllm_decode =/s/^        if not q\.is_cuda:$/        if True:  # Anvil WSL2 SM120 portable QSA decode fallback/' "$QP"; echo 'anvil patch: portable QSA sparse decode enabled'; elif grep -q 'Anvil WSL2 SM120 portable QSA decode fallback' "$QP"; then echo 'anvil patch: portable QSA sparse decode already enabled'; else echo 'anvil patch: QSA sparse decode anchor drift' >&2; exit 4; fi; exec python3 -m sglang.launch_server "$@"''',
  "qwen38-flash-next",
]
model_flag = "--model-path"
model_path = "/root/.cache/huggingface/hub/models--RadixArk--Qwen3.8-Flash-Next-NVFP4/snapshots/7b719225242aacd3dbd3f9407468c2ee9a9d2594"
quantization = "NVIDIA ModelOpt NVFP4 W4A4 routed experts; BF16 attention, GDN, QSA, shared experts, vision, and MTP; FP8 PLE tables dequantized to BF16 at load"
context_tokens = 262144
port = 39078
startup_timeout_seconds = 2400
served_model_name = "qwen38-flash-next-radixark-nvfp4-tp2-262k"
ipc = "host"
shm_size = "32gb"
env = [
  "CUDA_DEVICE_ORDER=PCI_BUS_ID",
  "PYTHONHASHSEED=0",
  "SGLANG_USE_CUDA_IPC_TRANSPORT=0",
  "NCCL_IB_DISABLE=1",
  "NCCL_P2P_DISABLE=1",
  "NCCL_CUMEM_ENABLE=0",
  "NCCL_CUMEM_HOST_ENABLE=0",
  "NCCL_DEBUG=INFO",
]
flags = [
  "--served-model-name qwen38-flash-next-radixark-nvfp4-tp2-262k",
  "--tp 2",
  "--quantization modelopt_fp4",
  "--fp4-gemm-backend flashinfer_cutlass",
  "--page-size 64",
  "--mamba-scheduler-strategy extra_buffer",
  "--mamba-track-interval 64",
  "--chunked-prefill-size 4096",
  "--max-running-requests 1",
  "--context-length 262144",
  "--mem-fraction-static 0.80",
  "--no-ple-offload-embedding",
  "--disable-custom-all-reduce",
  "--disable-cuda-graph",
  "--disable-flashinfer-autotune",
  "--reasoning-parser qwen3",
  "--tool-call-parser qwen3_coder",
  "--host 0.0.0.0",
  "--port 39078",
]
note = "262144-token publisher-context compatibility candidate at concurrency one. It keeps the already-proven TP=2, ModelOpt FP4, FlashInfer CUTLASS, page-size-64, extra-buffer GDN scheduling, track interval 64, 4096-token chunked prefill, 0.80 static memory fraction, and SM120/WSL2 compatibility controls. The matching startup measured a 416064-token preallocated pool and about 18.31 GB startup-available memory per GPU. A cold native probe accepted 262137 prompt tokens plus one output token in 27.7 seconds with zero retractions; a follow-up forced-output probe reached 262142 visible sequence tokens. The native API rejected prompt lengths of 262138 or greater and appeared to retain two context positions beyond the reported visible sequence. This is context-capacity evidence, not proof of an 8192-token decode at the boundary, concurrency, broad correctness, or quality. MTP/speculation and auto-truncation remain off. The fail-closed entrypoint patches the known WSL2 symmetric-memory logits crash to the existing NCCL fallback and selects SGLang's built-in device-agnostic QSA reference only for sparse decode because the pinned image's FA4 CuTe fallback fails MLIR compilation on SM120. The weights and prefill path remain unchanged, but the portable QSA decoder is a performance compatibility lane that requires broader correctness and speed qualification. This recipe is not promotion authority."

[recipe.fit]
suited = ["qualification", "compatibility", "long-context", "coding-agent", "multimodal", "tool-use"]
rationale = "Exercises the publisher's 262144-token context on the local dual-SM120 WSL2 host while preserving the proven compatibility controls and concurrency-one resource envelope."

[recipe.sources]
official = [
  "https://huggingface.co/Qwen/Qwen3.8-Flash-Next",
  "https://github.com/sgl-project/sglang/blob/main/docs/advanced_features/server_arguments.md",
]
community = [
  "https://huggingface.co/RadixArk/Qwen3.8-Flash-Next-NVFP4/tree/7b719225242aacd3dbd3f9407468c2ee9a9d2594",
  "https://x.com/unslothai/status/2092639558815060281",
]
local = []