File size: 1,726 Bytes
42832bf 74edf23 42832bf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | schema_version = "1.1"
[task]
name = "mle-bench/deepseek-node-dispatch-pack"
description = "DeepSeek-V3's node-limited routing exists so that a token's experts live on at most a handful of nodes — and the payoff is collected right here, in the kernel that builds the all-to-all send buffer. A token routed to four experts on the same node is sent to that node ONCE, not four times, so the dispatch has to deduplicate every token's expert set down to a node set, rank the tokens per node, and gather the hidden states into node-major order. It is the largest tensor in the layer moved once, with an index computation that is anything but a memcpy."
authors = []
keywords = ["mle", "kernel-generation", "moe", "expert-parallel", "dispatch", "all-to-all", "deepseek", "node-limited", "gather", "memory-bound"]
[metadata]
suite = "mle-bench"
group = "kernel-generation"
level = "1.0"
difficulty = "hard"
category = "mle"
tags = [ "mle", "kernel-generation", "kernels", "gpu", "real-world",]
[verifier]
timeout_sec = 1800.0
[agent]
timeout_sec = 14400.0
# GPU request: honored by Modal/GKE/Daytona. On the local docker backend set environment.override_gpus: 0
# in the job config and attach a GPU via configs/gpu_overlay_nvidia.yaml (see RUNNING.md §5).
# Profiling: `ncu` needs GPU performance counters — the runner must add the SYS_ADMIN capability
# (docker `--cap-add SYS_ADMIN`) or the host must set NVreg_RestrictProfilingToAdminUsers=0.
# Without it ncu exits with ERR_NVGPUCTRPERM. `nsys` works without any extra capability.
[environment]
build_timeout_sec = 3600.0
cpus = 8
memory_mb = 65536
storage_mb = 40960
gpus = 1
network_mode = "public"
mcp_servers = []
[verifier.env]
[environment.env]
[solution.env]
|