Meta/Muse Spark Open
Meta's 816 billion parameter agentic MoE served NVFP4 by SGLang on 4 of 8 B300s on a bring-your-own EKS Spot cluster.
View on Hugging FaceThis document applies to the Modelplane main branch and not to the latest release v0.7.
Meta’s Muse Spark Open (816 billion parameters, 42 billion active, NVFP4)
served by SGLang as one Standalone engine on 4 of the 8 B300s in an EKS
p6-b300.48xlarge Spot node. The deployment adapts the configuration
SemiAnalysis’s InferenceX
runs
for its B300 agentic coding benchmark, without the SGLANG_SIMULATE_ACC_*
variables. These benchmark-only settings can make SGLang accept incorrect
draft tokens. The engine is tensor and expert parallel
across 4 GPUs and uses DFlash speculative decoding. HiCache keeps KV cache in
host memory, so long agent prefixes stay cached. The manifest comments cover
speculative decoding, HiCache, and the request limit.
This recipe ran end to end on EKS in us-east-1 on 2026-12-02 and 2026-12-03:
serving, tool calling and streaming through an InferenceGateway, and
SemiAnalysis’s AgentX benchmark at 38 concurrent sessions.
Modelplane doesn’t provision Spot EKS node pools, so the cluster is your own,
registered with source: Existing. Create it with an eksctl Spot node group
of p6-b300.48xlarge nodes with a 1.5 TB root volume, labeled
modelplane.ai/pool=gpu-b300-8x-spot and tainted
nvidia.com/gpu=true:NoSchedule. Follow the
requirements for an existing cluster
,
including removing the NVIDIA device plugin DaemonSet that eksctl installs.
The weights are gated. Accept Meta’s Muse Model License on the
model’s Hugging Face page
with the account that owns your token. Normally, a
ModelCache with authSecret
stages gated weights. Here the engine downloads the weights to the node’s disk
because the test cluster had no ReadWriteMany StorageClass or EFS. This recipe
supports one replica in total. The scheduler can pack two replicas onto one
node, and their downloads can fill its disk.
Apply the platform manifests first, then apply the ModelDeployment and
ModelService. Once Modelplane creates the workload namespace, create the
hf-token Secret there while the engine pod waits for it. Set
WORKLOAD_NAMESPACE to the namespace shown by the first command and
HF_TOKEN to your Hugging Face token.
kubectl --kubeconfig ./workload-kubeconfig get namespaces | grep mp-ml-team
kubectl --kubeconfig ./workload-kubeconfig -n "$WORKLOAD_NAMESPACE" create secret generic hf-token \
--from-literal=HF_TOKEN="$HF_TOKEN"Validated deployments
Platform
# InferenceClass for a bring-your-own EKS p6-b300.48xlarge Spot node pool:
# 8x NVIDIA B300 288GB over NVLink.
#
# No provisioning block: Modelplane doesn't provision Spot EKS node pools, so
# this class describes nodes an eksctl Spot node group already runs. The GPUs
# are DRA devices; nvidia-smi reports 275040 MiB per GPU, of which the class
# advertises 260Gi. Label the pool's nodes modelplane.ai/pool=<pool name> and
# taint them nvidia.com/gpu=true:NoSchedule.
apiVersion: modelplane.ai/v1alpha1
kind: InferenceClass
metadata:
name: eks-b300-8x-spot
spec:
description: "EKS p6-b300.48xlarge Spot, 8x NVIDIA B300 288GB"
devices:
- name: gpu
claim: DRA
driver: gpu.nvidia.com
deviceClassName: gpu.nvidia.com
count: 8
attributes:
architecture: { string: Blackwell }
cudaComputeCapability: { version: "10.3.0" }
capacity:
memory: { value: "260Gi" }
# Registers a bring-your-own EKS cluster and installs the serving stack onto it,
# including the NVIDIA DRA driver, through the kubeconfig in the Secret.
apiVersion: modelplane.ai/v1alpha1
kind: InferenceCluster
metadata:
name: eks-b300-spot
# Descriptive labels. The Muse and Ergo deployments select on capacity, so
# they can't land on an on-demand B300 cluster without their disk and token.
labels:
modelplane.ai/cloud: eks
modelplane.ai/region: us-east
modelplane.ai/capacity: spot
spec:
cluster:
source: Existing
existing:
secretRef:
name: eks-b300-spot-kubeconfig
key: kubeconfig
nodePools:
- name: gpu-b300-8x-spot
className: eks-b300-8x-spot
nodeCount: 1
Deployment
# Meta Muse Spark Open (816B, 42B active, NVFP4) served by SGLang. This
# adapts SemiAnalysis InferenceX's B300 agentic coding configuration
# (musespark-fp4-b300-sglang-agentic-dflash with its tp4 c38 override),
# omitting the benchmark-only SGLANG_SIMULATE_ACC_* variables. One Standalone
# engine runs tensor- and expert-parallel across 4 of the node's 8 GPUs.
#
# The image is the SGLang nightly InferenceX pins, by tag and digest.
#
# Selected flags:
# --speculative-algorithm=DFLASH with RadixArk/Muse-Spark-Open-DFlash2:
# DFlash speculative decoding, 8 draft tokens per step.
# --enable-hierarchical-cache, --hicache-size=250: HiCache keeps up to 250 GB
# of KV cache in host memory, so long agent prefixes stay cached.
# --max-running-requests=16: InferenceX's cap. With more concurrent sessions
# than that, requests queue before prefill, which shows in first-token
# latency.
#
# The weights are gated: accept Meta's Muse Model License on the model's
# Hugging Face page with the account that owns the token, and create the
# hf-token Secret this container reads (see the recipe page).
#
# There's no ModelCache here: the engine downloads the ~533 GB of weights to the
# node's disk at startup. HF_XET_HIGH_PERFORMANCE=1 matters, because this image
# lacks hf_transfer. Give the node a 1.5 TB root volume. This recipe supports
# one replica in total: the scheduler can pack two onto one node, and two
# downloading at once filled that disk and were evicted.
apiVersion: modelplane.ai/v1alpha1
kind: ModelDeployment
metadata:
name: muse-spark-open
namespace: ml-team
spec:
replicas: 1
template:
spec:
clusterSelector:
matchLabels:
modelplane.ai/cloud: eks
modelplane.ai/capacity: spot
engines:
- name: muse
members:
- role: Standalone
nodeSelector:
devices:
- name: gpu
count: 4
selectors:
- cel: |
device.driver == "gpu.nvidia.com" && device.attributes["gpu.nvidia.com"].architecture == "Blackwell" && device.capacity["gpu.nvidia.com"].memory.compareTo(quantity("250Gi")) >= 0
template:
metadata:
labels:
llm-d.ai/engine-type: sglang # the picker reads SGLang's metric names
spec:
containers:
- name: engine
image: lmsysorg/sglang:nightly-dev-cu13-20261118-ecd3d75a@sha256:2a7e6d43ada9311fcb7d7dd5781bda10aee1a24c40186a956c223f2036212514
command: ["python3", "-m", "sglang.launch_server"]
args:
- --model-path=meta-models/Muse-Spark-Open-816B-A42B-NVFP4
- --revision=75271573ed1e94a216d2e69a988c3354a4b69208
- --served-model-name=$(MODELPLANE_SERVED_MODEL_NAME)
- --host=0.0.0.0
- --port=8000
- --trust-remote-code
- --tensor-parallel-size=4
- --expert-parallel-size=4
- --quantization=modelopt_fp4
- --moe-runner-backend=flashinfer_trtllm
- --kv-cache-dtype=fp8_e4m3
- --attention-backend=trtllm_mha
- --page-size=128
- --speculative-algorithm=DFLASH
- --speculative-draft-model-path=RadixArk/Muse-Spark-Open-DFlash2
- --speculative-num-draft-tokens=8
- --speculative-use-block-verification
- --mm-feature-transport=cpu
- --reasoning-parser=muse
- --tool-call-parser=muse
- --watchdog-timeout=3600
- --enable-metrics
- --enable-cache-report
- --tokenizer-worker-num=4
- --enable-http2
- --mem-fraction-static=0.92
- --max-running-requests=16
- --cuda-graph-max-bs-decode=76
- --chunked-prefill-size=16384
- --max-prefill-tokens=16384
- --schedule-policy=shortest-prefill-first
- --prefill-decode-interval=56
- --swa-full-tokens-ratio=0.2
- --enable-layernorm-sp
- --enable-megamoe-for-layernorm-sp
- --enable-hierarchical-cache
- --hicache-size=250
- --stream-interval=20
- --disable-prefill-cuda-graph
env:
- { name: PYTHONUNBUFFERED, value: "1" }
- { name: SGLANG_TIMEOUT_KEEP_ALIVE, value: "1800" }
- { name: OMP_NUM_THREADS, value: "8" }
- { name: TVM_FFI_CUDA_ARCH_LIST, value: "10.3a" }
- { name: SGLANG_ALLOW_OVERWRITE_LONGER_CONTEXT_LEN, value: "1" }
- { name: SGLANG_UNIFIED_RADIX_TREE_CORE_BACKEND, value: python }
- { name: SGLANG_DFLASH_EAGER_DRAFT_SAMPLER, value: "0" }
- { name: SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS, value: "1" }
- { name: SGLANG_FLASHINFER_NVFP4_PER_TOKEN_ACTIVATION, value: "0" }
- { name: SGLANG_OPT_DEEPGEMM_MEGA_MOE_NUM_MAX_TOKENS_PER_RANK, value: "4096" }
- { name: SGLANG_TRTLLM_MHA_DECODE_SEQ_LEN_SPLITS, value: "4" }
- { name: HF_XET_HIGH_PERFORMANCE, value: "1" }
- name: HF_TOKEN
valueFrom: { secretKeyRef: { name: hf-token, key: HF_TOKEN } }
# Name the model, ml-team/muse-spark-open, in an OpenAI request to an
# InferenceGateway that serves it. The long timeouts cover agent requests with
# large prompts and long reasoning.
apiVersion: modelplane.ai/v1alpha1
kind: ModelService
metadata:
name: muse-spark-open
namespace: ml-team
spec:
endpoints:
- name: muse-spark-open
selector:
matchLabels:
modelplane.ai/deployment: muse-spark-open
timeouts:
request: 1800s
idle: 1800s