---
cited_by:
  - '[[thoughts/inference/deepseek-v4.1-serving#5-sharp-edges-bugs-and-fixes-that-expose-invariants|dsv41 §5]]'
date: '2026-11-11'
kind: pr
local: []
merged: '2026-09-29'
number: 59119
source:
  - https://github.com/vllm-project/vllm/blob/30f5c01d4ebb5c493ed86195db24d0ec5b3ce3d7/vllm/models/deepseek_v41/compressor.py
state: merged
tags:
  - vllm
  - vllm-pr
  - new-architectures
title: '#59119 [DSv4.1] Avoid runtime recompiles of _ring_slot_mapping_kernel'
topic: new-architectures
url: https://github.com/vllm-project/vllm/pull/59119
created: '2026-11-11'
modified: '2026-11-11'
published: '2026-11-11'
pageLayout: default
slug: hinterland/papers/maps/prs/59119
permalink: https://aarnphm.xyz/hinterland/papers/maps/prs/59119.md
generator:
  quartz: v4.6.0
  hostedProvider: Cloudflare
  baseUrl: aarnphm.xyz
full: https://aarnphm.xyz/llms-full.txt
---
`_ring_slot_mapping_kernel` builds the compressor ring slot mapping in `CompressorMetadataBuilder.build()` and runs on every step. Its int args `num_tokens` and `num_actual_tokens` change from step to step, and Triton specializes int args… · full dump: [[thoughts/inference/vllm-prs/59119|#59119]]

