ZMC2019's picture
400 tasks: kernel-optimization agent, profiler permissions, relaxed exact gates (part 13)
48e046f verified
Raw History Blame Contribute Delete
1.65 kB
schema_version = "1.1"
[task]
name = "mle-bench/quantized-optimizer-state"
description = "Adam's two moment buffers are twice the size of the model, which is why 8-bit optimisers exist: each moment is stored as a byte index into a nonlinear 256-entry map plus one fp32 absmax per 2048-element block. Every step has to dequantise both moments through that map, take the AdamW step, and requantise against a NEW block absmax that is not known until the whole block's new moment exists. It is the memory-heaviest kernel in the training loop and it is all bandwidth and lookups."
authors = []
keywords = ["mle", "kernel-generation", "adamw", "optimizer", "8-bit", "quantization", "bitsandbytes", "low-precision", "training", "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]