vllm - ✅(Solved) Fix [Performance]: Deepseek-V4 Support and Optimization on ROCm Backend [11 pull requests, 3 comments, 3 participants]
ON THIS PAGE
Recommended Tools
×6Utilities matched from this issue’s tags and category — try them while you read without losing context.
GitHub issue graph ai analysis
Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.
The report is written in English Markdown for sharing and archival.
Helpful · Quick feedback
PR fix notes
PR #40871: [New Model][ROCm] Add AMD support for DeepSeek V4
- Repository: vllm-project/vllm
- Author: whx-sjtu
- State: closed | merged: True
- Link: https://github.com/vllm-project/vllm/pull/40871
Description (problem / solution / changelog)
Purpose
This PR adds support of DeepSeek V4 for AMD.
Test Plan
Test Result
docker image: docker pull rocm/vllm-dev:deepseek-v4-mi35x machine: mi355x environment setting:
# enter docker, do:
pip uninstall vllm
git clone https://github.com/vllm-project/vllm.git
cd vllm
git fetch origin pull/40871/head:pr_dsv4
git checkout pr_dsv4
python3 setup.py developDeepseek-V4-Flash
Launch command:
max_num_seqs=16
max_num_batched_tokens=1024
tensor_parallel_size=4
export VLLM_TORCH_PROFILER_DIR="/app/vllm_profile"
export HF_HOME=/data/huggingface-cache
export VLLM_ROCM_USE_AITER=1
MODEL=/home/models/DeepSeek-V4-Flash
vllm serve ${MODEL} \
--host localhost \
--port 8001 \
--dtype auto \
--tensor-parallel-size ${tensor_parallel_size} \
--max-num-seqs ${max_num_seqs} \
--distributed-executor-backend mp \
--trust-remote-code \
--profiler-config '{"profiler": "torch", "torch_profiler_dir": "./vllm_profile"}' \
--gpu-memory-utilization 0.35 \
--moe-backend "triton_unfused" \
--tokenizer-mode "deepseek_v4" \
--async-scheduling \
--enforce-eager \full gsm8k accu result:
MODEL=/home/models/DeepSeek-V4-Flash
lm_eval --model local-completions --model_args model=$MODEL,base_url=http://0.0.0.0:8000/v1/completions,num_concurrent=4,max_retries=10,max_gen_toks=2048,timeout=60000 --batch_size auto --tasks gsm8k --num_fewshot 8 --output_path . 2>&1 | tee -a eval.log
local-completions ({'model': '/home/models/DeepSeek-V4-Flash', 'base_url': 'http://0.0.0.0:8001/v1/completions', 'num_concurrent': 4, 'max_retries': 10, 'max_gen_toks': 2048, 'timeout': 60000}), gen_kwargs: ({}), limit: None, num_fewshot: 8, batch_size: auto
|Tasks|Version| Filter |n-shot| Metric | |Value | |Stderr|
|-----|------:|----------------|-----:|-----------|---|-----:|---|-----:|
|gsm8k| 3|flexible-extract| 8|exact_match|↑ |0.9439|± |0.0063|
| | |strict-match | 8|exact_match|↑ |0.9431|± |0.0064|Deepseek-V4-Pro:
offline test recipe:
import os
os.environ["VLLM_ROCM_USE_AITER"] = "1"
os.environ["VLLM_ROCM_USE_AITER_LINEAR"] = "1"
from vllm import LLM, SamplingParams
if __name__ == "__main__":
prompts = ["What is 2+2? Answer:", "The capital of France is "]
sampling_params = SamplingParams(temperature=0, top_p=1, max_tokens=20)
llm = LLM(
model="/home/models/DeepSeek-V4-Pro",
tensor_parallel_size=8,
kv_cache_dtype="fp8",
gpu_memory_utilization=0.6,
async_scheduling=True,
enforce_eager=True,
disable_log_stats=False,
tokenizer_mode="deepseek_v4",
moe_backend="triton_unfused",
# seed=0,
reasoning_parser="deepseek_v4",
)
outputs = llm.generate(prompts, sampling_params)
for output in outputs:
prompt = output.prompt
generated_text = output.outputs[0].text
token_ids = output.outputs[0].token_ids
print(
f"Prompt: {prompt!r}, Generated text: {generated_text!r}, "
f"Token ids: {token_ids}"
)launch_server.sh
max_num_seqs=128
max_num_batched_tokens=8192
tensor_parallel_size=8
export HF_HOME=/data/huggingface-cache
export VLLM_ROCM_USE_AITER=1
export VLLM_ROCM_USE_AITER_LINEAR=1
rm -rf /root/.cache/vllm/torch_compile_cache
MODEL=/home/models/DeepSeek-V4-Pro
vllm serve ${MODEL} \
--host localhost \
--port 8001 \
--dtype auto \
--kv-cache-dtype fp8 \
--tensor-parallel-size ${tensor_parallel_size} \
--max-num-seqs ${max_num_seqs} \
--distributed-executor-backend mp \
--trust-remote-code \
--gpu-memory-utilization 0.6 \
--moe-backend "triton_unfused" \
--enforce-eager \
--tokenizer-mode "deepseek_v4" \
--async-scheduling \
--reasoning-parser "deepseek_v4" \full gsm8k test result:
MODEL=/home/models/DeepSeek-V4-Pro
lm_eval --model local-completions --model_args model=$MODEL,base_url=http://0.0.0.0:8001/v1/completions,num_concurrent=2,max_retries=10,max_gen_toks=2048,timeout=60000 --batch_size auto --tasks gsm8k --num_fewshot 8 --output_path . 2>&1 | tee -a eval.log
local-completions ({'model': '/home/models/DeepSeek-V4-Pro', 'base_url': 'http://0.0.0.0:8001/v1/completions', 'num_concurrent': 2, 'max_retries': 10, 'max_gen_toks': 2048, 'timeout': 60000}), gen_kwargs: ({}), limit: None, num_fewshot: 8, batch_size: auto
|Tasks|Version| Filter |n-shot| Metric | |Value | |Stderr|
|-----|------:|----------------|-----:|-----------|---|-----:|---|-----:|
|gsm8k| 3|flexible-extract| 8|exact_match|↑ |0.9538|± |0.0058|
| | |strict-match | 8|exact_match|↑ |0.9545|± |0.0057|<details> <summary> Essential Elements of an Effective PR Description Checklist </summary>
- The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
- The test plan, such as providing test command.
- The test results, such as pasting the results comparison before and after, or e2e results
- (Optional) The necessary documentation update, such as updating
supported_models.mdandexamplesfor a new model.
Changed files
CMakeLists.txt(modified, +6/-6)csrc/fused_deepseek_v4_qnorm_rope_kv_insert_kernel.cu(modified, +36/-2)csrc/moe/topk_softplus_sqrt_kernels.cu(modified, +32/-21)csrc/moe/torch_bindings.cpp(modified, +1/-2)csrc/torch_bindings.cpp(modified, +0/-2)requirements/rocm.txt(modified, +3/-0)tests/kernels/moe/test_topk_softplus_sqrt.py(modified, +4/-2)vllm/config/kernel.py(modified, +2/-0)vllm/model_executor/kernels/linear/scaled_mm/aiter.py(modified, +15/-0)vllm/model_executor/layers/activation.py(modified, +3/-1)vllm/model_executor/layers/deepseek_compressor.py(modified, +3/-2)vllm/model_executor/layers/deepseek_v4_attention.py(modified, +73/-19)vllm/model_executor/layers/fused_moe/oracle/mxfp4.py(modified, +79/-2)vllm/model_executor/layers/mhc.py(modified, +105/-2)vllm/model_executor/layers/quantization/utils/fp8_utils.py(modified, +9/-0)vllm/model_executor/layers/sparse_attn_indexer.py(modified, +22/-8)vllm/model_executor/models/deepseek_v4.py(modified, +6/-1)vllm/model_executor/models/deepseek_v4_mtp.py(modified, +6/-2)vllm/platforms/rocm.py(modified, +1/-0)vllm/v1/attention/backends/mla/sparse_swa.py(modified, +2/-1)vllm/v1/attention/ops/deepseek_v4_ops/fused_inv_rope_fp8_quant.py(modified, +3/-1)vllm/v1/attention/ops/rocm_aiter_mla_sparse.py(modified, +528/-60)
PR #41136: [ROCm] DeepSeekV4-Flash-Base model enablement on ROCm with triton & torchfallback
- Repository: vllm-project/vllm
- Author: lcskrishna
- State: open | merged: False
- Link: https://github.com/vllm-project/vllm/pull/41136
Description (problem / solution / changelog)
Purpose
This PR enables to run DeepSeekV4-Flash-Base model (FP8) on ROCm with triton & torch fallbacks. The following major changes have been performed:
- Quantization whitelist of deepseek_v4_fp8 (registration)
- Fp8 MoE Experts (Supports only experts_dtype=FP8 for now)
- MHC - The current implementation uses TileLang Kernels. This PR enables a fallback to torch naive implementation, the TileLang / equivalent will be enabled in further PRs.
- FP8 blockscale Einsum - created a fallback of torch dequant & torch.einsum fallback instead of using in deep_gemm
- TopK Softplus SQRT (CUDA) function - this fallsback to a naive torch softplus + topk + renorm.
- Router GEMM BF16 FP32 - currently fallsback to torch.linear
- Sparse Attention Indexer - (Skip Insert) - Custom Op rocm_sparse_attn_indexer_no_insert
- Flash MLA sparse fwd/decode - Created a temporary fallback rocm_flash_mla_sparse.py with Triton kernels.
Test Plan
Test Result
Server command
MODEL_DIR=/models/DSV4-Flash-Base
## clone from https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-Base
export VLLM_ENGINE_READY_TIMEOUT_S=3600
export VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=0
vllm serve ${MODEL_DIR} \
--trust-remote-code \
--kv-cache-dtype fp8 \
--max-model-len 800000 \
--gpu-memory-utilization 0.95 \
--tensor-parallel-size 8 \
--max-num-seqs 512 \
--max-num-batched-tokens 512 \
--tokenizer-mode deepseek_v4 \
--tool-call-parser deepseek_v4 \
--enable-auto-tool-choice \
--reasoning-parser deepseek_v4 \
--enforce-eager \
--kernel-config '{"moe_backend":"triton"}' \
"${EXTRA_ARGS[@]}"Curl commands & results
curl -sS -X POST http://localhost:8000/v1/completions -H 'Content-Type: application/json' -d "{
\"model\": \"$MODEL\",
\"prompt\": \"The capital of France is\",
\"max_tokens\": 8,
\"temperature\": 0
}" | python3 -m json.toolcurl -s http://0.0.0.0:8000/v1/completions -H 'Content-Type: application/json' -d '{"model":"/shared_inference/models_blog/DeepSeek-V4-Flash-
"prompt":"Q: 17 * 23 = \nA:", "max_tokens":12, "temperature":0}' | jq -r '.choices[0].text'GSM8K Results
lm_eval --model local-completions \
--tasks gsm8k \
--model_args model=/models/DeepSeek-V4-Flash-FP8/,base_url=http://localhost:8000/v1/completions,num_concurrent=64,max_retries=3,tokenized_requests=FalseResult
2026-05-06:11:36:32 INFO [loggers.evaluation_tracker:119] Saving per-task samples to eval_results/gsm8k_20260506_105215/datasets__DeepSeek-V4-Flash-Base/*.jsonl local-completions ({'model': '/datasets/DeepSeek-V4-Flash-Base/', 'base_url': 'http://0.0.0.0:8000/v1/completions', 'num_concurrent': 64, 'max_retries': 3, 'tokenized_requests': False, 'tokenizer_backend': None, 'max_gen_toks': 1024}), gen_kwargs: ({}), limit: None, num_fewshot: 5, batch_size: auto
| Tasks | Version | Filter | n-shot | Metric | Value | Stderr | ||
|---|---|---|---|---|---|---|---|---|
| gsm8k | 3 | flexible-extract | 5 | exact_match | ↑ | 0.9242 | ± | 0.0073 |
| strict-match | 5 | exact_match | ↑ | 0.9249 | ± | 0.0073 |
SUCCESS. Results in ./eval_results/gsm8k_20260506_105215
<details> <summary> Essential Elements of an Effective PR Description Checklist </summary>
- The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
- The test plan, such as providing test command.
- The test results, such as pasting the results comparison before and after, or e2e results
- (Optional) The necessary documentation update, such as updating
supported_models.mdandexamplesfor a new model.
Changed files
vllm/config/compilation.py(modified, +1/-0)vllm/distributed/kv_transfer/kv_connector/v1/moriio/moriio_connector.py(modified, +106/-13)vllm/model_executor/layers/deepseek_compressor.py(modified, +6/-3)vllm/model_executor/layers/deepseek_v4_attention.py(modified, +211/-10)vllm/model_executor/layers/fused_moe/router/fused_topk_bias_router.py(modified, +111/-11)vllm/model_executor/layers/mhc.py(modified, +160/-20)vllm/model_executor/layers/sparse_attn_indexer.py(modified, +33/-4)vllm/model_executor/layers/utils.py(modified, +10/-1)vllm/model_executor/models/deepseek_v4.py(modified, +8/-4)vllm/platforms/rocm.py(modified, +1/-0)vllm/triton_utils/__init__.py(modified, +33/-1)vllm/utils/deep_gemm.py(modified, +8/-1)vllm/v1/attention/ops/deepseek_v4_ops/fused_inv_rope_fp8_quant.py(modified, +4/-2)vllm/v1/attention/ops/flashmla.py(modified, +25/-0)vllm/v1/attention/ops/rocm_flash_mla_sparse.py(added, +648/-0)vllm/v1/attention/ops/rocm_sparse_attn_indexer.py(added, +549/-0)
PR #41451: [ROCm][Deepseekv4] DeepseekV4 Mi300 support
- Repository: vllm-project/vllm
- Author: ganyi1996ppo
- State: open | merged: False
- Link: https://github.com/vllm-project/vllm/pull/41451
Description (problem / solution / changelog)
Purpose
This PR based on PR https://github.com/vllm-project/vllm/pull/41217 and https://github.com/vllm-project/vllm/pull/40871. Will reformat after those 2 PR merged. machine: mi308 test script:
max_num_seqs=16
max_num_batched_tokens=1024
tensor_parallel_size=4
export VLLM_TORCH_PROFILER_DIR="/app/vllm_profile"
export HF_HOME=/data/huggingface-cache
export VLLM_ROCM_USE_AITER=1
MODEL=/mnt/data/pretrained_model/deepseek-ai/DeepSeek-V4-Flash
vllm serve ${MODEL} \
--host localhost \
--dtype auto \
--tensor-parallel-size ${tensor_parallel_size} \
--max-num-seqs ${max_num_seqs} \
--trust-remote-code \
--profiler-config '{"profiler": "torch", "torch_profiler_dir": "./vllm_profile", "torch_profiler_with_stack": "False"}' \
--gpu-memory-utilization 0.35 \
--moe-backend "triton_unfused" \
--tokenizer-mode "deepseek_v4" \
--async-scheduling \
--enforce-eager \request:
curl -s http://localhost:8000/v1/completions -H "Content-Type: application/json" -d '{
"prompt": "Write me a poem about AMD and Deepseek",
"max_tokens": 100,
"temperature": 0.0
}'response:
{"id":"cmpl-b180b64df0a5a360","object":"text_completion","created":1777619440,"model":"/mnt/data/pretrained_model/deepseek-ai/DeepSeek-V4","choices":[{"index":0,"text":"\", \"role\": \"user\" }, { \"content\": \"Here is a poem about AMD and DeepSeek.\\n\\n**The Silicon and the Spark**\\n\\nIn Santa Clara's sunlit halls, where silicon dreams are spun,\\nA titan works on tiny things, beneath the desert sun.\\nThey craft the threads of logic, a digital tapestry,\\nTo weave the future's canvas, for all the world to see.\\n\\nBut far across the ocean, in","logprobs":null,"finish_reason":"length","stop_reason":null,"token_ids":null,"prompt_logprobs":null,"prompt_token_ids":null}],"service_tier":null,"system_fingerprint":"vllm-0.20.1rc1.dev137+gdde2fb080.d20260501-tp4-795d0827","usage":{"prompt_tokens":9,"total_tokens":109,"completion_tokens":100,"prompt_tokens_details":null},"kv_transfer_params":null}Will have a more thorough test after previous PR merged.
Test Plan
Test Result
<details> <summary> Essential Elements of an Effective PR Description Checklist </summary>
- The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
- The test plan, such as providing test command.
- The test results, such as pasting the results comparison before and after, or e2e results
- (Optional) The necessary documentation update, such as updating
supported_models.mdandexamplesfor a new model.
Changed files
CMakeLists.txt(modified, +6/-6)csrc/fused_deepseek_v4_qnorm_rope_kv_insert_kernel.cu(modified, +46/-2)csrc/moe/topk_softplus_sqrt_kernels.cu(modified, +32/-21)csrc/moe/torch_bindings.cpp(modified, +1/-2)csrc/torch_bindings.cpp(modified, +0/-2)docs/design/attention_backends.md(modified, +1/-1)requirements/rocm.txt(modified, +3/-0)tests/kernels/moe/test_topk_softplus_sqrt.py(modified, +4/-2)vllm/config/kernel.py(modified, +2/-0)vllm/model_executor/kernels/linear/scaled_mm/aiter.py(modified, +15/-0)vllm/model_executor/layers/activation.py(modified, +3/-1)vllm/model_executor/layers/deepseek_compressor.py(modified, +51/-2)vllm/model_executor/layers/deepseek_v4_attention.py(modified, +455/-20)vllm/model_executor/layers/fused_moe/oracle/mxfp4.py(modified, +77/-2)vllm/model_executor/layers/mhc.py(modified, +41/-0)vllm/model_executor/layers/quantization/utils/fp8_utils.py(modified, +27/-3)vllm/model_executor/layers/sparse_attn_indexer.py(modified, +22/-8)vllm/model_executor/models/deepseek_v2.py(modified, +38/-23)vllm/model_executor/models/deepseek_v4.py(modified, +6/-1)vllm/model_executor/models/deepseek_v4_mtp.py(modified, +6/-2)vllm/platforms/rocm.py(modified, +1/-0)vllm/utils/deep_gemm.py(modified, +5/-1)vllm/v1/attention/backends/mla/indexer.py(modified, +1/-1)vllm/v1/attention/backends/mla/rocm_aiter_mla.py(modified, +4/-0)vllm/v1/attention/backends/mla/rocm_aiter_mla_sparse.py(modified, +227/-29)vllm/v1/attention/backends/mla/sparse_swa.py(modified, +2/-1)vllm/v1/attention/ops/deepseek_v4_ops/cache_utils.py(modified, +8/-2)vllm/v1/attention/ops/deepseek_v4_ops/fused_inv_rope_fp8_quant.py(modified, +3/-1)vllm/v1/attention/ops/rocm_aiter_mla_sparse.py(modified, +149/-59)
PR #41312: [Bugfix][DeepSeek V4] Enable cross-node TP=16 FP8 serving
- Repository: vllm-project/vllm
- Author: sigridjineth
- State: open | merged: False
- Link: https://github.com/vllm-project/vllm/pull/41312
Description (problem / solution / changelog)
Purpose
This PR makes cross-node TP=16 serving of DeepSeek V4 (Pro / Flash) work end-to-end on FP8 checkpoints. Two independent issues block it today, both addressed here. They are bundled because Fix B was discovered because Fix A alone wasn't enough — keeping them together preserves the full reproduction trail for reviewers.
Issue A — FP8 weight loading fails at TP=16
DeepSeek V4 has moe_intermediate_size = 3072 and ships with a [128, 128] FP8 block-quant scheme. At TP=16 the per-rank input dim becomes 3072 / 16 = 192, which is not divisible by block_k = 128, so model load fails with:
ValueError: Weight input_size_per_partition = 192
is not divisible by weight quantization block_k = 128.This is the same class of bug that #34408 fixes for EXAONE4-32B-FP8 and that #36853 reports for Qwen3-Coder-Next-FP8. TP ≤ 8 is unaffected (3072 / 8 = 384, divisible by 128), which is why the problem only surfaces on 2-node deployments — exactly the topology that #36836 (RayExecutorV2, merged) was designed to enable.
Fix A — load-time intermediate-size padding. Mirror the EXAONE4 pattern: pad moe_intermediate_size to the smallest multiple of TP × lcm(block_n, block_k) (4096 at TP=16) and zero-pad the affected gate_proj / up_proj / down_proj weights and their weight_scale_inv tensors at load time. SwiGLU preserves zero-in → zero-out, so no activation mask is needed.
Padding is only applied when:
quant_configisFp8Configwithweight_block_sizeset, ANDtp_size × lcm(block_n, block_k)does not already divide the original size.
So existing TP ≤ 8 deployments and non-FP8 quant configs (e.g. routed MXFP4 experts on V4 Flash) are pass-through unchanged.
A subtlety worth flagging: a naive append-only pad places all the zero blocks on the highest TP ranks, which leaves several ranks holding an entirely-zero shared-expert shard at TP=16 (24 → 32 blocks across 16 ranks ⇒ 8 ranks fully zero). We use a balanced TP-block layout that spreads the original 24 blocks evenly across the 16 ranks (most ranks get 1 real block + 1 zero block, the "extra" 8 real blocks distributed every other rank), so no rank ends up with a fully-zero expert shard. This is the change in commit 2.
Memory cost: ~505 MiB / GPU at TP=16, ~7.9 GiB across the model. Acceptable to unlock the deployment.
Issue B — Cross-node TP=16 reasoning produces garbage output
Even with Fix A applied, reasoning_effort=max + long system prompt + temp=1.0 produces mode-collapsed multilingual token soup with leaked <|begin▁of▁sentence|> control tokens on TP=16. Critically, the same regression reproduces at temp=0: 3 trials of the same prompt yield 3 different outputs, with one or two collapsing into garbage. TP=8 single-node is byte-equal stable across trials.
Root cause: vllm/utils/multi_stream_utils.py:maybe_execute_in_parallel dispatches q_proj / kv-compressor / indexer GEMMs onto a default + auxiliary CUDA stream (used by deepseek_v4_attention.attn_gemm_parallel_execute). Stream-completion order is non-deterministic across forward passes, perturbing FP accumulation downstream at the bit level. Short generations are robust to this jitter, but during the long thinking phase produced by reasoning_effort=max, the cumulative perturbation eventually swaps top-1 ↔ top-2 once and the generation diverges into out-of-distribution tokens.
Fix B — opt-in deterministic mode. Add VLLM_DETERMINISTIC_AUX_STREAM (default OFF). When set, both maybe_execute_in_parallel and execute_in_parallel force aux_stream / aux_streams = None, falling back to sequential execution.
- Default behavior is unchanged — single-node TP ≤ 8 users see no difference.
- Cross-node TP operators set
VLLM_DETERMINISTIC_AUX_STREAM=1to trade a small concurrent-throughput cost (~5%) for reproducible logits. - The flag lives in
vllm/utils/multi_stream_utils.py, so every call site that goes through these helpers (not just DeepSeek V4) gets the determinism toggle for free.
Negative results that informed Fix B
For reviewer context, here is what we tried before landing on Fix B:
- Padding form alone is not enough. Both v1 (append-only) and v2 (LCM-balanced TP-block spread) padding resolve the load-time
ValueErrorbut do not resolve thereasoning_effort=maxregression on cross-node TP=16. - Switching base image is not enough either. Building from vLLM main nightly instead of the
deepseekv4-cu130image does not fix the regression, and additionally introduces an unrelatedScalarType 44(FP8 e8m0fnu) crash for cross-node TP=16 + UE8M0, so nightly is not a viable workaround at the moment. temp=0self-inconsistency at TP=16 (with multi-stream ON) was the conclusive signal that the regression is a numerical-determinism issue, not a sampling or padding issue.
Related work
- #34408 — EXAONE4 padding fix (same class as Fix A, open)
- #36853 — Qwen3-Coder-Next-FP8 TP=8 error (related class, open)
- #36836 — RayExecutorV2 (merged, enables the 2-node topology)
- #38164 — RayExecutorV2 + EEP (future work; out of scope here)
Out of scope
- Expert Parallelism (
--enable-expert-parallel) for DeepSeek V4 — separate workstream tracked in #38164. - Pipeline Parallelism — DeepSeek V4 currently does not implement
SupportsPP. - B300 SM_120 sparse MLA — tracked in #40991; does not affect the SM_100 path used by B300 SXM6.
- CUDA-graph compilation of the 1.6T-parameter Pro variant —
torch.compileOOMs the 1.9 TiB host RAM under current main. Left for future work; this PR validates only--enforce-eager.
Test Plan
Unit tests
tests/models/test_deepseek_v4_padding.py (new, 17 tests) covers:
_padded_moe_intermediate_size— only pads on FP8 + misaligned TP, otherwise pass-through (verified at TP=1/8/16, MXFP4,None)._pad_deepseek_v4_tensor— value preservation, fill behavior, refuses truncation._balanced_tp_block_indices— exact 24→32 layout at TP=16, asserts the expected[0,1,2,4,5,6,8,9,10,...]pattern that prevents all-zero shards.- Round-trip linear-equivalence: padded
gate_up @ downproduces the same output as the original on the unpadded region. - Loader-level: shared-expert and routed-expert FP8 /
weight_scale_inv/ E8M0-scale padding on bothDeepseekV4ModelandDeepSeekV4MTP. - Construction contract:
DeepseekV4MLPraises the original192ValueErroron TP=16 without padding, and constructs cleanly with the padded size;DeepseekV4MoEpreservesexpert_dtype="fp4"(routed stays at 3072) vs"fp8"(routed padded to 4096) routing. DeepseekV4FP8Configdispatch correctly routesexpert_dtype="fp4"→Mxfp4MoEMethodand"fp8"→Fp8MoEMethod.
pytest tests/models/test_deepseek_v4_padding.py -vEnd-to-end (2× B300 SXM6, RoCEv2)
Cluster: 2 nodes × 8× B300 SXM6 (16 GPUs total), CUDA 13.0, NCCL 2.28.9, Ray 2.49.0, RoCEv2 over enp83s0f1np1.
# Per-node ray bring-up (head + worker; standard --add-host b300-01/02 + GLOO/NCCL_SOCKET_IFNAME), then on head:
docker exec -d \
-e VLLM_USE_RAY_V2_EXECUTOR_BACKEND=1 \
-e VLLM_DETERMINISTIC_AUX_STREAM=1 \
-e RAY_ADDRESS=10.1.130.11:6379 \
-e GLOO_SOCKET_IFNAME=enp83s0f1np1 \
-e NCCL_SOCKET_IFNAME=enp83s0f1np1 \
ray-head bash -c 'vllm serve deepseek-ai/DeepSeek-V4-Pro \
--trust-remote-code \
--tensor-parallel-size 16 \
--distributed-executor-backend ray \
--kv-cache-dtype fp8 \
--block-size 256 \
--enforce-eager \
--tokenizer-mode deepseek_v4 \
--tool-call-parser deepseek_v4 \
--enable-auto-tool-choice \
--reasoning-parser deepseek_v4 \
--port 8000'Verification:
- Health:
curl http://<head>:8000/v1/modelsreturns the model id. - Functional: chat completion
"What is 17 × 19?"returns 323. - Numerical: byte-equality vs TP=8 single-node baseline at
temp=0on 6 representative prompts. - Reasoning regression: original failure case
reasoning_effort=max + long system + temp=1.0, 5 trials.
Test Result
Before this PR
ValueError: Weight input_size_per_partition = 192
is not divisible by weight quantization block_k = 128.Model fails to load. (After local Fix A only, without Fix B: model loads, but the reasoning regression reported below is reproducible.)
After this PR (Fix A + Fix B with VLLM_DETERMINISTIC_AUX_STREAM=1)
Correctness — TP=16 vs TP=8 byte-equality at temp=0
| Prompt | Bytes equal? |
|---|---|
대한민국의 수도는? | ✅ |
대한민국 헌법 제1조의 내용을 그대로 인용하세요. | ✅ |
What is the capital of France? | ✅ |
Compute 17 * 19. | ✅ |
| Python one-liner sum 1..100 | ✅ |
| Bob/Alice age reasoning puzzle | ✅ |
| Overall | 6 / 6 |
Self-consistency on TP=16 at temp=0 (3 trials × 4 prompts): all stable. Without Fix B (env var unset, default), the reasoning prompt was unstable across trials (2 hash variants per 3 trials, occasional garbage).
Reasoning regression — reasoning_effort=max + long system + temp=1.0, 5 trials
| Result | |
|---|---|
| Without Fix B | 3/3 garbage (mode-collapse, <|begin▁of▁sentence|> leak) |
| With Fix B | 5/5 clean responses (correct multilingual answers + tool calls) |
Performance — single request, 256-token completion, --enforce-eager
| Setup | TTFT median | Decode tok/s |
|---|---|---|
| TP=8 single-node | 276 ms | 4.0 |
| TP=16 (multi-stream ON) | 310 ms | 3.7 |
| TP=16 + Fix A + Fix B | 307 ms | 3.7 |
Performance — concurrent, 100 prompts, RPS=8, max_concurrency=32, --enforce-eager
| Setup | Output tok/s | Total tok/s | TTFT median | TPOT median |
|---|---|---|---|---|
| TP=8 single-node | 78.0 | 389.8 | 4625 ms | 310 ms |
| TP=16 (multi-stream ON) | 64.4 | 321.9 | 14720 ms | 335 ms |
| TP=16 + Fix A + Fix B | 60.9 | 304 | 15922 ms | 372 ms |
Fix B costs ~5% concurrent throughput vs the multi-stream baseline at TP=16. Cross-node TP=16 is communication-bound (RoCEv2 ~50 GB/s vs intra-node NVLink ~900 GB/s), so the value of this PR is enabling a single endpoint that serves 16 GPUs of capacity, not raw token-rate gain over single-node TP=8. With CUDA-graph enabled (future work — currently OOMs torch.compile host RAM), expect 5–10× decode throughput.
<details> <summary>Essential Elements of an Effective PR Description Checklist</summary>
- The purpose of the PR — see "Issue A" and "Issue B" above.
- The test plan — unit (
pytest tests/models/test_deepseek_v4_padding.py -v) and 2-node B300 e2e command provided. - The test results — correctness (6/6 byte-equal vs TP=8), regression (5/5 clean with Fix B vs 3/3 garbage without), and single/concurrent performance tables.
- (Optional) Documentation —
VLLM_DETERMINISTIC_AUX_STREAMis documented inline invllm/envs.pyand in the docstrings ofmaybe_execute_in_parallel/execute_in_parallel.
Changed files
tests/models/test_deepseek_v4_padding.py(added, +571/-0)vllm/envs.py(modified, +8/-0)vllm/model_executor/models/deepseek_v4.py(modified, +341/-1)vllm/model_executor/models/deepseek_v4_mtp.py(modified, +33/-0)vllm/utils/multi_stream_utils.py(modified, +15/-0)
PR #41352: [feature][WIP] Enable KV Offload for DeepSeek V4 model
- Repository: vllm-project/vllm
- Author: foraxe
- State: open | merged: False
- Link: https://github.com/vllm-project/vllm/pull/41352
Description (problem / solution / changelog)
[feature][WIP] Enable KV Offload for DeepSeek V4 model
Summary
This PR makes the v1 OffloadingConnector advertise SupportsHMA and handle
the scheduler's all-KV-group request-finish callback. This is the remaining
connector facade needed for grouped KV offload support when the scheduler passes
tuple[list[int], ...] block IDs for multiple KV cache groups.
The implementation is backend-neutral. It does not add Ascend imports,
torch_npu, DSv4-specific branches, or VLLM_ASCEND_* gates.
Existing generic grouped-KV pieces in this branch
SupportsHMAis already defined invllm/distributed/kv_transfer/kv_connector/v1/base.py.GPULoadStoreSpecalready has typedgroup_sizesandblock_indicesfields.offloading/scheduler.pyalready tracksRequestOffloadStateper KV group.- The offloading scheduler already uses
make_offload_key(..., group_idx)for group-aware offload keys. - Load/store metadata already carries grouped GPU block IDs through
group_sizesandblock_indices.
Changes
- Make
OffloadingConnectorinheritSupportsHMA. - Add
OffloadingConnector.request_finished_all_groups(...)and delegate to the existing scheduler finish path. - Widen the offloading scheduler finish type annotation so the connector can pass either the legacy single-group list or the HMA all-group tuple.
- Add unit coverage for the connector facade so the class is recognized as HMA-capable and forwards all-group block IDs unchanged.
Validation
Intended focused tests:
pytest -q tests/v1/kv_connector/unit/offloading_connector/test_connector.py
pytest -q tests/v1/kv_connector/unit/offloading_connector/test_scheduler.pyIn this local environment, pytest collection currently requires missing optional
test/runtime dependencies (tblib, then gguf on direct import). Syntax-level
checks were used locally until the full vLLM test environment is available.
Follow-up
The hardware backend remains out of scope for this PR. DSv4 compressed KV
registration, NPU-visible host memory, and A3 launch/runtime validation belong
in the paired vllm-ascend change.
Changed files
tests/v1/kv_connector/unit/offloading_connector/test_connector.py(added, +26/-0)vllm/distributed/kv_transfer/kv_connector/v1/offloading/scheduler.py(modified, +1/-1)vllm/distributed/kv_transfer/kv_connector/v1/offloading_connector.py(modified, +10/-1)
PR #41276: [WIP] [DSV4] Quantization Support
- Repository: vllm-project/vllm
- Author: kylesayrs
- State: open | merged: False
- Link: https://github.com/vllm-project/vllm/pull/41276
Description (problem / solution / changelog)
<h1 style="display: flex; align-items: center; gap: 10px; margin: 0;"> DeepSeek-V4-Flash-NVFP4-FP8 </h1>Model Optimizations
This model was obtained by using the following branch with LLM Compressor: https://github.com/vllm-project/llm-compressor/pull/2647
Deployment
vllm serve RedHatAI/DeepSeek-V4-Flash-NVFP4-FP8 --tensor-parallel-size 4 --port 8089 --kv_cache_dtype="fp8"Evaluation
python tests/evals/gsm8k/gsm8k_eval.pyResults:
Accuracy: 0.910
Invalid responses: 0.000
Total latency: 173.006 s
Questions per second: 7.624
Total output tokens: 116217
Output tokens per second: 671.752For more details on how this model was created and run in LLM Compressor, please contact Kyle Sayers on the vLLM Slack: https://communityinviter.com/apps/vllm-dev/join-vllm-developers-slack
Changed files
vllm/model_executor/layers/deepseek_compressor.py(modified, +1/-1)vllm/model_executor/layers/deepseek_v4_attention.py(modified, +12/-12)vllm/model_executor/models/deepseek_v4.py(modified, +9/-2)
PR #41601: DeepSeekv4 ROCm Optimization
- Repository: vllm-project/vllm
- Author: bobofang11235
- State: open | merged: False
- Link: https://github.com/vllm-project/vllm/pull/41601
Description (problem / solution / changelog)
Purpose
- [Fix][Rocm] Handle DeepSeek-V4 UE8M0 and FP8 dtype Decode UE8M0 scale tensors before using them in ROCm fallback paths so E8M0 scales are not multiplied directly as float8 tensors. Use the current platform FP8 dtype for DeepSeek-V4 indexer and inverse-RoPE quantization, and select the Triton FNUZ FP8 type when required by the ROCm platform.
- [Feat][Rocm] Add DeepSeek-V4 sparse FlashMLA fallback Route DeepSeek-V4 sparse FlashMLA prefill and decode calls through ROCm fallback implementations so ROCm can share the same FlashMLA API path as CUDA.
- [Fix][Rocm] Preserve FP4 parameter dtype for AITER MXFP4 MoE Wrap shuffled AITER MXFP4 weights as fresh Parameters so FP4 dtype metadata is preserved without changing non-ROCm MoE backend routing.
- [BugFix][Attention] Fix NaN in Triton merge_attn_states when both LSEs are -inf Fix NaN output in the Triton merge_attn_states kernel when both prefix_lse and suffix_lse are -inf. When both prefix and suffix have no tokens (e.g. chunked prefill with zero context length), both LSEs are -inf. Per IEEE 754, -inf - (-inf) = NaN, which propagates through exp and division into the final output.
- [Fix][Rocm] Add generic fp8_einsum fallback for DeepGEMM Provide a ROCm-only torch fallback for fp8_einsum when DeepGEMM is unavailable while preserving the existing CUDA and non-ROCm dispatch behavior.
( This PR is based on https://github.com/vllm-project/vllm/pull/40871 => PR 40871 already merged, this PR is based on c7aa186d67b6f051680831418e957c67f34ba7a2 of upstream )
Test Plan
Test Result
docker image: docker pull rocm/vllm-dev:deepseek-v4-mi35x machine: mi355x aiter version: d2454ad18a0d7c7795162ab0f550e8a0397840bd ( https://github.com/ROCm/aiter main branch ) vllm version: this PR
server command
max_num_seqs=128
max_num_batched_tokens=8192
tensor_parallel_size=8
export HF_HOME=/data/huggingface-cache
export VLLM_ROCM_USE_AITER=1
export VLLM_ROCM_USE_AITER_LINEAR=1
rm -rf /root/.cache/vllm/torch_compile_cache
MODEL=DeepSeek-V4-Pro
vllm serve ${MODEL} \
--host localhost \
--port 8001 \
--dtype auto \
--kv-cache-dtype fp8 \
--tensor-parallel-size ${tensor_parallel_size} \
--max-num-seqs ${max_num_seqs} \
--distributed-executor-backend mp \
--trust-remote-code \
--gpu-memory-utilization 0.6 \
--moe-backend "triton_unfused" \
--tokenizer-mode "deepseek_v4" \
--async-scheduling \
--reasoning-parser "deepseek_v4" \
--kv-cache-dtype fp8_e4m3 \
--compilation-config '{"mode":3,"cudagraph_mode":1,"cudagraph_capture_sizes":[1,2,4,8]}'client command
#!/usr/bin/env bash
set -e
export PYTHONPATH=/opt/aiter:/opt/aiter/aiter/jit/utils:${PYTHONPATH}
PORT=${PORT:-8001}
MODEL=${MODEL:-DeepSeek-V4-Pro}
NUM_PROMPTS=${NUM_PROMPTS:-10}
CONCURRENCY=${CONCURRENCY:-2}
INPUT_LEN=${INPUT_LEN:-10240}
OUTPUT_LEN=${OUTPUT_LEN:-512}
TS=$(date +%Y%m%d_%H%M%S)
LOG=/opt/scripts/vllm/logs/client_${TS}.log
mkdir -p /opt/scripts/vllm/logs
echo ""
echo "========== Sanity Check: Single Chat Completion =========="
curl -s "http://localhost:${PORT}/v1/chat/completions" \
-H "Content-Type: application/json" \
-d "{\"model\":\"${MODEL}\",\"messages\":[{\"role\":\"user\",\"content\":\"What is 15% of 240? Answer concisely.\"}],\"max_tokens\":64}" \
| python3 -m json.tool \
| tee -a "$LOG"
echo ""
echo ""
vllm bench serve \
--base-url "http://localhost:${PORT}" \
--model "${MODEL}" --tokenizer "${MODEL}" \
--dataset-name random \
--random-input-len "${INPUT_LEN}" \
--random-output-len "${OUTPUT_LEN}" \
--num-prompts "${NUM_PROMPTS}" --max-concurrency "${CONCURRENCY}" \
--num-warmups 1 \
--save-result \
--result-filename "/opt/scripts/vllm/logs/bench_${TS}.json" \
2>&1 | tee -a "$LOG"
echo ""
echo "[$(date)] Benchmark complete. Log: $LOG"Result
============ Serving Benchmark Result ============
Successful requests: 10
Failed requests: 0
Maximum request concurrency: 2
Benchmark duration (s): 777.06
Total input tokens: 102400
Total generated tokens: 5120
Request throughput (req/s): 0.01
Output token throughput (tok/s): 6.59
Peak output token throughput (tok/s): 8.00
Peak concurrent requests: 4.00
Total token throughput (tok/s): 138.37
---------------Time to First Token----------------
Mean TTFT (ms): 5943.68
Median TTFT (ms): 5062.24
P99 TTFT (ms): 8489.66
-----Time per Output Token (excl. 1st token)------
Mean TPOT (ms): 292.40
Median TPOT (ms): 290.75
P99 TPOT (ms): 299.07
---------------Inter-token Latency----------------
Mean ITL (ms): 292.40
Median ITL (ms): 289.34
P99 ITL (ms): 301.06
==================================================accuracy command
MODEL=${MODEL:-DeepSeek-V4-Pro}
lm_eval --model local-completions --model_args model=$MODEL,base_url=http://0.0.0.0:8001/v1/completions,num_concurrent=2,max_retries=10,max_gen_toks=2048,timeout=60000 --batch_size auto --tasks gsm8k --num_fewshot 8 --output_path . 2>&1 | tee -a eval.logResult
|Tasks|Version| Filter |n-shot| Metric | |Value | |Stderr|
|-----|------:|----------------|-----:|-----------|---|-----:|---|-----:|
|gsm8k| 3|flexible-extract| 8|exact_match|↑ |0.9553|± |0.0057|
| | |strict-match | 8|exact_match|↑ |0.9560|± |0.0056|<details> <summary> Essential Elements of an Effective PR Description Checklist </summary>
- The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
- The test plan, such as providing test command.
- The test results, such as pasting the results comparison before and after, or e2e results
- (Optional) The necessary documentation update, such as updating
supported_models.mdandexamplesfor a new model.
Changed files
tests/kernels/attention/test_merge_attn_states.py(modified, +69/-0)vllm/model_executor/layers/deepseek_v4_attention.py(modified, +10/-45)vllm/model_executor/layers/fused_moe/oracle/mxfp4.py(modified, +30/-12)vllm/model_executor/layers/quantization/utils/fp8_utils.py(modified, +9/-7)vllm/model_executor/layers/quantization/utils/w8a8_utils.py(modified, +10/-2)vllm/utils/deep_gemm.py(modified, +84/-0)vllm/v1/attention/backends/mla/sparse_swa.py(modified, +1/-2)vllm/v1/attention/ops/deepseek_v4_ops/fused_indexer_q.py(modified, +13/-4)vllm/v1/attention/ops/deepseek_v4_ops/fused_inv_rope_fp8_quant.py(modified, +6/-2)vllm/v1/attention/ops/flashmla.py(modified, +11/-3)vllm/v1/attention/ops/rocm_aiter_mla_sparse.py(modified, +14/-16)vllm/v1/attention/ops/rocm_flash_mla_sparse.py(added, +682/-0)vllm/v1/attention/ops/triton_merge_attn_states.py(modified, +13/-1)
PR #41374: [DSV4] Avoid redundant dtype conversion.
- Repository: vllm-project/vllm
- Author: jeejeelee
- State: closed | merged: True
- Link: https://github.com/vllm-project/vllm/pull/41374
Description (problem / solution / changelog)
Purpose
Test Plan
Test Result
<details> <summary> Essential Elements of an Effective PR Description Checklist </summary>
- The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
- The test plan, such as providing test command.
- The test results, such as pasting the results comparison before and after, or e2e results
- (Optional) The necessary documentation update, such as updating
supported_models.mdandexamplesfor a new model.
Changed files
vllm/model_executor/models/deepseek_v4.py(modified, +11/-6)
PR #41263: [DSV4] Fuse norm and router for low latency scenario
- Repository: vllm-project/vllm
- Author: jeejeelee
- State: open | merged: False
- Link: https://github.com/vllm-project/vllm/pull/41263
Description (problem / solution / changelog)
Purpose
Test Plan
Test Result
<details> <summary> Essential Elements of an Effective PR Description Checklist </summary>
- The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
- The test plan, such as providing test command.
- The test results, such as pasting the results comparison before and after, or e2e results
- (Optional) The necessary documentation update, such as updating
supported_models.mdandexamplesfor a new model.
Changed files
CMakeLists.txt(modified, +10/-0)benchmarks/kernels/benchmark_norm_router_gemm.py(added, +183/-0)csrc/moe/dsv4_norm_router_gemm.h(added, +30/-0)csrc/moe/dsv4_norm_router_gemm_entry.cu(added, +130/-0)csrc/moe/dsv4_norm_router_gemm_kernel.cu(added, +249/-0)csrc/moe/moe_ops.h(modified, +8/-0)csrc/moe/torch_bindings.cpp(modified, +6/-0)vllm/_custom_ops.py(modified, +30/-0)vllm/model_executor/layers/fused_moe/router/norm_gate_linear.py(added, +114/-0)vllm/model_executor/models/deepseek_v4.py(modified, +44/-41)vllm/model_executor/models/deepseek_v4_mtp.py(modified, +11/-1)
RAW_BUFFERClick to expand / collapse
Motivation
This issue tracks the end-to-end enablement and optimization checklist for DeepSeek-V4 on ROCm backend.
DeepSeek-V4 includes multiple critical blocks (mHC/HCA/CSA/MoE/MTP), and ROCm readiness depends on both model-side kernels and system-side runtime behavior.
We’re launching a joint effort to optimize DeepSeek V4 on the ROCm backend—please feel free to take on any task, and we’d love to hear more optimization ideas.
Purpose
- Track DeepSeek-V4 functionality and performance readiness on ROCm backend.
- Keep module-level optimization items visible and actionable.
- Align acceptance criteria for release and production readiness.
Recipe
- Recipe:
vLLM Recipe: DeepSeek-V4 on AMD (ROCm) Usage Guide - vLLM Recipeshttps://github.com/vllm-project/recipes/pull/433
General Checklist
1) Functionality / Bugfix / Feature
- [Functionality] Base PR has been merged for functionality/accuracy readiness on MI35x for DeepSeek-V4-Pro and DeepSeek-V4-Flash. https://github.com/vllm-project/vllm/pull/40871
- [Functionality] DeepSeek-V4-Flash Base FP8 enablement PR: https://github.com/vllm-project/vllm/pull/41136
- [Functionality] MI30x support PR: https://github.com/vllm-project/vllm/pull/41451
- [Bugfix] Enable cross-node TP=16 FP8 serving for DeepSeek-V4: https://github.com/vllm-project/vllm/pull/41312
- [Feature][WIP] Enable KV offload for DeepSeek-V4: https://github.com/vllm-project/vllm/pull/41352
- [Feature][WIP] Compressed tensors support for DSV4: https://github.com/vllm-project/vllm/pull/41276
Performance Checklist
1) High-Level Performance/Feature
- Full graph support for Decode path. Piecewise graph capture support for Prefill path. https://github.com/vllm-project/vllm/pull/41601
- Support MTP
2) Kernel Fusion
Element-wise Fusion
- Avoid redundant dtype conversion: https://github.com/vllm-project/vllm/pull/41374
- Fuse norm and router for lower latency: https://github.com/vllm-project/vllm/pull/41263
- Silu and Mul is implemented with
torch native - inv_rope is implemented with
torch native
CSA
- Make the sparse MLA indexer optimization for Deepseek-V4, now the sparse attention indexder is
pytorch native implementation. - Replace torch native sparse MLA path with Triton kernel (https://github.com/vllm-project/vllm/pull/41136).
- Enable CSA multi-stream execution in Decode (
default stream+indexer stream) to overlap indexer and main attention paths, aligned with the DeepSeek-V4 blog design.
mHC
- Now the MHC on ROCm is pytorch native implementation (
mhc_pre,mhc_post), need to integrateAITER MHC kernel@tjtanaa takes the task
MoE
- AITER FlyDSL MoE integration when it's ready (
MoE Kernel)
Vote matrix · Quick signals
Still need to ship something?
×6Another batch ranked right after the header list — different links, same matching logic.
TRENDING
- Feature Request: Configurable per-minute rate limiting (RPM) for models to prevent 429 errors
- Android: Hermes App + Termux install share ~/.hermes and cause silent permission loops
- hermes update emits unicode-animations ANSI demo in non-interactive logs
- hermes update downgrades aiohttp from 3.13.4 to 3.13.3
- npm install warns about deprecated @babel/plugin-proposal-private-methods
- DingTalk inbound media URLs are skipped as unreadable native image paths
- fix(dashboard): ChatPage clears header action buttons on ALL pages, not just Sessions
- [Bug]: check_web_api_key() hardcodes built-in backends — third-party web search plugins silently disabled
- Hermes Web UI 修复经验:GatewayManager 补丁、进程 D 状态、数据库升级问题
- Telegram gateway can silently drop turn after /stop with response=0 chars while internal work continues
- Bug Report: v0.14.0 上下文污染 — 历史回复碎片回注到新请求
- Bug: hermes skills search table truncates Identifier column — install fails with copied value
- [skills-index-watchdog] Skills index is stale or degraded (degraded)
- Discord approval embed not rendering on web/mobile — embed data present in API but invisible
- Idea: Discord voice-channel participation / opt-in auto-join mode
- [Feature]: Claude Code--ultrawork
- build-arm64 job deterministically fails on cold cache (Azure SAS token expires mid-build)
- [Enhancement] computer_use: action=type should fall back to key events for terminal emulators (Ghostty/Terminal.app/iTerm2)
- Feature Request: Session Recovery on Temporary Provider Outage
- [Bug]: Hermes dashboard not working on NixOS (container)
- [Feature]: Add option to ignore @all/@everyone mentions in Feishu group chats
- QQ Bot WebSocket 频繁断开:长时间工具执行阻塞 asyncio 事件循环导致心跳超时
- patch tool: new_string escape sequences (\t) get written literally
- Feature Request: i18n / 多语言支持(国际化)
- Bug: web_crawl schema lets models auto-guess "instructions" instead of asking the user via clarify
- feat: `!command` prefix for direct shell execution (like Claude Code)
- Expose currently-running cron jobs via /api/jobs (or new endpoint)
- [Bug]: Kanban parent-child handoff: scratch workspace GC destroys artifacts before child can read them
- [Bug, Windows] hermes gateway restart loses session context — planned_stop_marker not written before SIGTERM
- [Bug]: Codex→DeepSeek fallback sends assistant turns without reasoning_content → HTTP 400 (require-side cross-provider failover)
- [Bug]: Update got stuck half way, reboot it, then ModuleNotFoundError: No module named 'hermes_cli'
- Kanban dispatcher corrupt-board handling and multi-profile gateway ownership ambiguity
- Gateway can resend a short fallback message when the real final Telegram response was already delivered
- [BUG] Bedrock: Fix 'Invalid API Key format' for presigned URL tokens
- Secret redaction corrupts code syntax in tool output (write_file, execute_code, terminal)
- Unable to connect Ollama Cloud with Pro Subscription to Hermes
- feat: fuzzy substring matching for /skill autocomplete
- PRD: Autonomous market-impact prediction briefing system
- Kanban dashboard should support task/card deep links
- [Feature] Native Feishu CardKit Streaming: consolidate best-in-class implementations
- [Feature]: Inject mental model into context when using Hindsight
- Interactive CLI hides tool output despite display.tool_progress=all, and hermes chat -v does not restore it
- fix(api_server): _handle_responses drops text.format JSON schema — structured output constraints silently ignored
- state.db FTS corruption goes undetected — no integrity check, no repair path
- bug: fallback routing can select text-only models for image requests and hide the primary failure
- feat(kanban): persist worker session_id per run and pass --resume on respawn after unblock
- feat(kanban): support GitHub/OMO lifecycle bridge for Xiyou-style automation
- Expose update-safe TUI/composer hooks for voice transcript and composer events
- Hide or configure voice transcript status rows in editable dictation mode
- [Feature]: Per-Tool / Per-Toolset Approval Policies
- Context compression creates orphan sessions missing from state.db
- messaging platform
- feat: Add read-only / silent monitoring mode for WhatsApp adapter
- double-.hermes path mismatch, the HOME env var leak, and the fallback-notification UX problem
- Bug: Plattform-Bundle name `hermes-yuanbao` in `agent.disabled_toolsets` silently kills ALL tools in gateway path (Telegram + cron), CLI unaffected
- CLI /yolo (in-chat) does not bypass dangerous command approvals — env var freeze + missing enable_session_yolo call
- OpenAI Codex provider crashes with "'NoneType' object is not iterable" (HTTP None)
- DEEPSEEK_API_KEY blocked by env blocklist in gateway process — cron jobs fail with deepseek provider
- fix(feishu): Card action callback routing issues - invalid message_id and unrecognized /card command
- Discord plugin: profiles without explicit `discord:` block silently get `require_mention=true` + `auto_thread=true` (regression in cc8e5ec2a)
- [Bug]: DISCORD_ALLOWED_ROLES ignored by gateway _is_user_authorized — role-authorized users get 'Unauthorized user' rejection
- [Bug]: /new, /clear, and /reset commands freeze the terminal session
- openai-codex subscription backend returns HTTP 200 with response.output=None, causing Slack/cron failures
- RFC: Centralized Model/Provider Registry
- bug: openai-codex provider — TypeError: 'NoneType' object is not iterable on every request (gpt-5.5)
- [Feature]: Source-aware instruction gate — architectural mitigation for indirect prompt injection
- Named custom provider stale_timeout_seconds ignored because runtime provider is normalized to `custom`
- guard test (ignore)
- [Feature]: per-platform LLM request_overrides (extra_body / reasoning_effort / service_tier)
- One-shot smoke: add Flue-backed orchestration fixture
- Gateway should not treat stale Codex app-server progress as final response after post-tool silence
- `docker_run_as_host_user: true` breaks bundled skills: Hermes home is mounted into `/root/.hermes` but the container runs as a non-root user (`HOME=/home/pn`)
- [Bug]: gateway api_server streaming bypasses server-side tool-call loop when chat_template_kwargs.enable_thinking=false (model emits tool name as plain text)
- [Feature]: Pre-install python-telegram-bot in Umbrel Hermes Docker image
- YouTube Shorts filter not working in youtube-content skill
- v0.15.0 PyPI release breaks ALL platforms — plugin.yaml manifests missing from package
- RFC: On-demand tool/skill/MCP discovery — decouple schema registration from process lifecycle
- Pixshelf: local-first stock photo workflow command center
- [Bug]: baoyu infographic skill should not silently bypass image_generate
- Pixshelf v1.5: manual submission tracking for stock agencies
- `hermes config set` silently accepts unknown keys, writing them where the runtime never reads
- Honcho memory prefetch hang on fresh CLI subprocess in v0.15.0 (regression from #27190)
- [Bug] v0.15.0 Docker image: stage2-hook.sh, main-wrapper.sh missing; container_boot module removed
- Feature: Reduce cache-read token overhead for DeepSeek providers — configurable cache_ttl, skills snapshot trimming, memory compaction
- Windows: three bugs from daily use (plugin discovery, gateway exit code, Unicode decode
- holographic memory: HRR silently degrades to FTS5 when numpy is missing
- Make max_tokens configurable for aux vision calls
- Conversation compression desynchronizes session ID between agent context and gateway routing, causing silent message loss
- [Bug]: v0.15.0 Docker image:The TUI cannot be used in the dashboard.
- cron: skip_memory=True blocks fact_store/memory tools from all cron jobs
- TUI: Node.js OOM crash when agent uses browser tools repeatedly
- feat: model_profiles — per-model toolset and memory config
- Automatic background skill patching disrupts active sessions (severe impact on local models)
- ensure_hermes_home() creates root-owned dirs in profile subdirectories when kanban workers are dispatched
- Feature: opt-in webhook bypass for DISCORD_ALLOW_BOTS — allow operator-initiated probes without weakening bot-loop guard
- v0.15.0: Codex requests fail HTTP 400 when participant display_name contains non-ASCII (emoji breaks input[].name pattern)
- Architecture: State Persistence Precedence (Memory vs Skills vs Hooks)
- [Bug]: cronjob tool: create action always fails with "schedule is required for create" even when parameters are provided
- codex-oauth: 'NoneType' object is not iterable in _run_codex_stream (gpt-5.5) — every turn fails non-retryably
- Docs/Config: Plugin local scope enablement ambiguity
- [Bug]: CLI freezes after using /new command (WSL)
- Profile Codex auth can ignore global credential pool when local state is stale
- [workflow-engine] CRITICAL: variable substitution crashes on regex metachars in user input
- [workflow-engine] HIGH: loop and bash nodes leak subprocesses on timeout
- [workflow-engine] HIGH: README documents config env vars the engine never reads
- [workflow-engine] MEDIUM: workflow_run rate limit bypassable via concurrent calls (TOCTOU)
- [workflow-engine] chore: manifest gaps, side-effectful register(), dead code, unauth kanban dispatch
- [mcp_lazy] HIGH: synthetic mcp_server_<name> stub collides with a real MCP server named 'server'
- [mcp_lazy] HIGH: promote_server eager flag documented but never persisted
- [mcp_lazy] MEDIUM: _prev_mode dict leaks and goes stale; not cleared on session evict
- [mcp_lazy] MEDIUM: get_pool has unlocked check-then-set race on pool creation
- [mcp_lazy] MEDIUM: pre_tool_call gives no guidance for unpromoted server-stub calls
- [mcp_lazy] chore: undeclared pre_tool_call hook, nonexistent 'mcp_load_tools' name in docs, missing tests
- [a2a_fleet] CRITICAL: server never auto-starts — register() runs outside an event loop
- [a2a_fleet] CRITICAL: auth_required defaults to false on a cross-machine surface
- [a2a_fleet] HIGH: remove invented disable() hook — loader never calls it, port leaks on reload
- [a2a_fleet] HIGH: plugin.yaml missing kind / provides_tools / requires_env (token env undeclared)
- [a2a_fleet] MEDIUM: tighten wide-open CORS, anonymous /health peer leak, and peer-URL SSRF
- [a2a_fleet] MEDIUM: relocate tests to tests/plugins/ and cover sync-register + auth-default paths
- xai-oauth auxiliary client incorrectly uses Responses API (CodexAuxiliaryClient), causing 403 on compression/vision/web_extract
- [Bug]: Direct Copilot gpt-5.5 large resumes are killed by 12s Codex TTFB watchdog
- [Bug]: `hermes uninstall` does not work on Windows
- TUI: Thinking block leaks raw JSON and Σ character
- Hostinger VPS: migration Hermes Agent → Hermes WebUI impossible (tini + UID mismatch + sessions)
- /goal judge over-continues exploratory goals unless the assistant explicitly says the goal is complete
- /goal auto-continuation can be amplified by preflight compression/session split and resurrect stale task state
- Dashboard infinite reload loop in loopback mode — GET /api/auth/me returns 401 on every page load
- [Bug]: Provider/LLM switch leaves stale encrypted_content causing 400 errors on Telegram sessions
- [Bug]: Infinite reload loop / React state loop on Sessions tab (Firefox + Chrome) — repeated 401 on /api/auth/me (v0.15.0)
- show_reasoning should work independently of streaming in CLI mode
- Feature Request: Strip reasoning/<think> blocks from TTS preprocessing
- mcp add / mcp test raise NameError when mcp package not installed
- v0.14.0 dashboard breaks behind reverse proxies — two regressions
- Skills hub creates empty category directories when no skills installed
- [Bug]: Custom endpoint: ChatCompletions returns content, but Hermes treats response as empty (v0.14.0)
- fix: atomic_replace() fails with EXDEV when HERMES_HOME is a cross-filesystem symlink
- fix(gateway): Feishu session cancellation orphans session guard, permanently blocking messages
- Custom endpoint pricing can overestimate Crof qwen3.5-9b cost by 1,000,000x
- MCP OAuth callback: module-level port global causes port collisions and structural weaknesses vs upstream
- Bug: send_message tool bypasses validate_media_delivery_path security check
- Proposal: Add Mnemosyne to official memory provider documentation
- feat(swarm): support custom verifier/synthesizer body + skills
- Template conversion failed
- Error occurred in the operation of the agent node in the workflow.
- PubSub client overrides Sentinel client when REDIS_USE_SENTINEL is enabled
- Frontend description of the Retrieval node output does not match the actual output
- JSON type input var raise Intenal server error
- cannot extract elements from a scalar
- 负载均衡 为模型配置多组凭据,并自动调用,此功能无法选择
- add models is error
- panic: could not create filter
- Persist partially generated messages when /chat-messages/:task_id/stop is called
- MCP server connection fails with 403 — request never leaves Dify (SSRF proxy suspected)
- Support durable async execution backends for long-running workflow steps
- [Xiaomi MiMo] Credentials validation fails with 400 "Not supported model mimo-v2-flash" when using Token Plan endpoint (v0.0.7)
- After clicking preview on a parent-child segmented knowledge base, it shows 0 chunks
- Retrieval score differs between UI upload (.docx) and API upload (.txt) despite identical chunk content and embedding model
- gemini cli crash again
- Xbox gift card code damage
- Damage caused by the gemini cli crash
- ioctl(2) failed, EBADF (Bad File Descriptor)
- Feat: Support Bun as an alternative runtime/package manager for updates and extensions
- fatal error again!!!!
- ioctl error
- Critical Crash: ioctl(2) failed, EBADF in ShellExecutionService.resizePty
- ioctl(2) failed, EBADF
- v0.44.0 Regression: Critical crash with ioctl(2) failed, EBADF during PTY resize
- Crash on startup: ioctl(2) failed, EBADF in UnixTerminal.resize
- Crash: `ioctl(2) failed, EBADF` in `node-pty` during PTY resize on macOS
- Gemini CLI crashes with `ioctl(2) failed, EBADF` in `node-pty` during `resizePty`
- Remote Role
- ERROR ioctl(2) failed, EBADF /home/mich
- RangeError: Maximum call stack size exceeded
- EBADF Error during folder creationg broke session and terminal glitches
- MAIP / Gargoub Project - Mediterania - North Coast
- Gemini cli crash again in this morning
- ERROR ioctl(2) failed, EBADF
- Verified node install fails — Checksum verification failed (Cloud)
- The extended debugging key did not arrive during registration.
- CollaborationPane unmounts collaboration store on single-user instances, causing permanent "No network connection" state
- Workflow cannot be saved when the name contains "->" (Potentially malicious string)
- automation does not work and does not show an error
- Raj Ai Automation
- Default Data Loader: DOMMatrix is not defined error
- Feature: Per-node execution timestamp overlay on canvas during workflow run
- AI Agent + Vertex `gemini-3.5-flash`: 400 "missing thought_signature" on sequential multi-turn tool calls (post-#24982)
- PDF Loader in Pinecone Vector Store fails due to pdf-parse version conflict (v2 not supported)
- emailReadImap: add UID deduplication, batch size cap, and numeric uid enforcement
- Manual node execution fails with "Could not find a node" when autosave is disabled (N8N_WORKFLOWS_AUTOSAVE_DISABLED)
- Schedule Trigger stopped firing — workflow Published & active, manual executions succeed, no automated fires for 2+ hours
- [MCP SDK] create_workflow_from_code intermittently returns HTTP 500, often as a false negative (workflow persists anyway, causing duplicates on retry)
- Credential-load wedge: workflows using googleApi/jwtAuth credentials silently fail to execute after key rotation
- Google Sheets Trigger every minute is not working manual Execute is working sent email
- [BUG] Plugin marketplace MCP connector remains stuck "still connecting" when mcp-remote requires OAuth
- [redacted at user request]
- Opus 4.7 behavioral regression: loaded instruction-following discipline degraded in recent Claude Code/Cowork updates
- [BUG] Tailscale via Homebrew CLI + Mac App Store GUI, both Macs on macOS, Cowork blocked by VPN detector despite Tailscale being a mesh VPN with no traffic interception
- stopShellPty on tab switch kills active sessions (exit 143) — regression in May 27 build
- [BUG] Long URLs are broken into multiple lines and become unclickable in terminal output
- [BUG] claude rm/stop/reap SIGKILLs background session tree without SIGTERM grace, orphaning git index.lock and similar
- [BUG] Default git workflow in the system prompt was pushed without context or consent
- [MODEL] Inconsistent output quality / Ignoring instructions (overfitting and inappropriate repetition of Korean vocabulary)
- You've hit your weekly limit · resets May 31 at 5pm (Asia/Shanghai)
- Paid yearly subscription silently downgraded to Free with no user action
- [Regression v2.1.153] Plugin bash hooks fail with "echo: write error: Permission denied" on Windows (claude-mem, shell: "bash")
- [BUG] Connector toggles in conversation are not clickable — must click text label instead
- [remote-control] Input from mobile app/browser not reaching host session — output works fine
- Model fails to read/reference CLAUDE.md contents despite being loaded in context
- [BUG] Claude Desktop reinstall destroys Code chat history (transcripts + Recents) while regular Chat history, project files, and memory all survive
- Bypass mode clamps to Accept Edits even with the toggle ON (Claude Code Desktop 1.9255.2 / CC 2.1.149)
- [BUG] TUI input freezes randomly mid-typing — entire prompt becomes unresponsive for minutes
- [BUG] Cowork downloads Linux ELF binary instead of macOS binary on macOS Sonoma 14.8.7 — exit code 132 (SIGILL) on every session
- [Feature Request] Persistent project memory — sessions forget everything on close, forcing users to keep many sessions open
- [Bug] Thread context stale after sleep/resume, returns outdated date and calendar data
- [FEATURE] Add context window usage indicator and warning before auto-compaction
- [BUG] Dictation error: Invalid character in header content ["x-config-keyterms"] on Windows
- [Bug] Anthropic API Error: Server rate limiting despite normal usage
- Does delegating work to `claude -p` subprocesses reduce context accumulation in the parent session?
- [BUG] Claude Code hangs on M1 Mac when terminal says "opening browser to sign in" and browser opens
- [BUG] Claude_Preview MCP preview_start spawns dev server with main-repo cwd instead of session's worktree cwd
- [Bug] Anthropic API Error: Server rate limiting during request execution
- [Bug] Anthropic API Error: Server rate limiting on concurrent requests
- [Bug] Ultraplan ready notification fires before cloud agent completes execution
- [BUG] API 500 ERROR ALL THROUGHOUT THE DAY
- [BUG] Cowork: Live Artifacts folder path changed in 1.9255.2, no automatic migration from Documents\Claude\Artifacts
- [Bug] Auto-compact never triggers despite statusline reporting "100% context used" (v2.1.153, Max sub, 200K mode)
- [BUG] [Desktop / macOS] 'Open in → New Window' detached session: font renders smaller than main, no per-window controls, Cmd+/Cmd- keystrokes routed to main window instead
- Feature request: option to switch between classic and new minimal UI
- [Feature Request] Show timestamps for each message
- [BUG] Terminal corruption when permission prompt appears while navigating Agent Teams agent selection menu
- [FEATURE] Allow users to customize the background color of the Claude desktop app beyond the current light/dark theme presets.
- [BUG] Statusline not displaying on Windows [fixed]
- Background agent UI Stop button is a no-op for stuck agents — process keeps consuming tokens
- Background agents silently die on session pause/resume — no completion notification, no work recovery
- Add option to hide email address from welcome banner
- [BUG] SSH Remote: `projects` field in remote ~/.claude.json becomes null after desktop restart — jsonl files intact, UI shows 'No messages yet' for every session
- [Bug] Claude Code not applying fixes despite claiming to complete tasks
- billing is unfair and poorly documented
- [BUG] Claude Code on the web: declared plugins inactive on first session, require restart to fully load
- [BUG] Restore from archive deleted sessions instead of restoring them
- [BUG] M365 connector fails with AADSTS50011 in Cowork — localhost vs 127.0.0.1 redirect URI mismatch
- claude agents: workflow slash-commands missing from dispatch-input completion (regression-adjacent to #61424)
- Claude Desktop's Info.plist missing TCC usage strings, blocks all EventKit-based MCP servers
- False-positive safety blocks on self-administered governance amendments — request for owner-authority mode for verified professional users
- [BUG] Stop pushing "AUTO"-mode
- [DOCS] Plugin marketplace guide omits `skipLfs` option for git-based sources
- [DOCS] MCP docs omit combined startup notification for MCP server and connector authentication
- [DOCS] Agent view docs omit macOS Privacy & Security identity for background agents
- [DOCS] Npm update docs do not explain release-channel behavior for `claude update`
- [DOCS] Agent SDK docs omit `subagent_type: "claude"` worktree and output persistence behavior
- [DOCS] Background session docs omit `$CLAUDE_JOB_DIR` temp-file behavior
- [FR] mask env-var values in 'claude mcp get <server>' output
- [FR] subagent worktrees should not inherit stale local 'user.email' from prior dispatches
- [BUG] Windows: Grep tool leaks rg.exe + conhost.exe processes (~2000 zombies / 14 GB RAM in long sessions)
- [BUG] Stats dashboard "Peak hour" appears off by one hour
- [BUG] Diff highlight (teal SGR background) bleeds past changed text in 2.1.150–2.1.153
- [FEATURE] confirm before deleting session
- Plugin PostToolUse hooks still silently skip in Claude Desktop / Cowork (re-filing closed #51904)
- /code-review skill: silent fallback to main...HEAD reviews other people's commits, and JSON-only output is hard to read
- Monitor tool doesn't source the shell snapshot like Bash does; PATH-dependent tools (jq, sleep, etc.) fail in Monitor commands on macOS/Nix
- [Bug] Long input lines truncated with ellipsis while typing instead of wrapping in terminal UI
- [FEATURE] VS Code extension: Render submitted user messages as Markdown in chat
- OSC 52 copy from Claude TUI doesn't reach clipboard inside tmux (regression in 2.1.146–2.1.153)
- [BUG] RemoteTrigger create/update returns HTTP 400 with circular error: "event_type is required" / "unknown field event_type"
- [BUG] Option to hide or minimize the built-in "status footer" (multi-line debug/cost panel) [re-raise of #31475]
- [Bug] Feedback submissions being closed without review or action
- [FEATURE] Word-jump cursor navigation in Chat input (option+arrow / bindable actions)
- [FEATURE] ! shell mode: filesystem tab completion
- [BUG] API Error: Usage credits required for 1M context
- claude agents: OSC 52 clipboard emission broken in tmux (regression in 2.1.146–2.1.153)
- CLI crashes on macOS 15 M3 - exit code 1
- [FEATURE] Support Cmd+V image paste from clipboard
- [FEATURE] Enhance claude.ai M365 connector to support MS Planner
- [BUG] Slash command autocomplete hijacks pasted absolute file paths starting with /
- PreToolUse hook `if` filter false-positives on complex Bash commands
- [BUG] Diff panel hangs/whites out
- Feature Request: Support drag-and-drop for binary documents (.wps, .doc, .docx, .xlsx, .pdf) in VS Code extension
- [BUG] activation of 1M context in VSCode
- [FEATURE] Support i18n / language localization for built-in slash command outputs
- Ctrl+V para colar imagens deixou de funcionar no CLI (Windows, PowerShell)
- [FEATURE] Please add Norwegian (Bokmål/Nynorsk) language support to the Claude Code interface
- [BUG] OTel log events (claude_code.user_prompt, api_request_body, tool_decision, hook_execution_complete) emitted with empty trace_id/span_id while sibling spans correlate correctly
- [BUG] Cowork crashes on every message, no VM logs generated, missing AppData\Roaming\Claude
- [FEATURE] first-class session handoff + per-session token budgets for unattended runs
- [FEATURE] Smart paste: convert clipboard code to file reference chips (like Cursor)
- [Feature Request] Restore chat pin functionality to title chat submenu
- [BUG] SIGILL issues with version 2.1.153
- [BUG] Cowork plugin upload fails with generic "Plugin validation failed" when a `description` field in any SKILL.md frontmatter contains angle brackets (`<…>`)
- [BUG] Desktop App 2.1.144+: startup scanner deletes cliSessionId from claude-code-sessions local files on every launch — session not found on disk
- [Feature Request] Add keyboard shortcut to copy last message with proper formatting
- [MODEL] Opus 4.7 not 1M
- Allow naming/renaming background agents in `claude agents` view
- Stale worktrees in .claude/worktrees/ are never cleaned up, consuming massive disk space
- Agent worktrees are never cleaned up, silently consuming disk space
- Subagent worktrees not auto-cleaned when reviewer writes scratch files
- [Bug] Skill initialization hangs for extended duration in Plan Mode
- Claude Desktop writes malformed registry Run entry (nested escaped quotes) - crashes Windows Task Manager and other Run-key parsers
- IME candidate window shows at bottom-right corner instead of caret position (Windows CMD)
- [BUG] Pressing 'Escape' doesn't close the /BTW conversation when the main conversation is asking for approval
- [BUG] Opus 4.7 (1M) intermittently emits empty-string values for tool_use.input fields, killing the session
- FleetView agent UI shows "running" with incrementing elapsed time after agent has returned
- /doctor flags context-scoped cmd+c binding as macOS conflict (false positive)
- [BUG] Text Rendering in Elvish
- Desktop app: Bypass Permissions mode flips to Accept Edits on first prompt (M5 / macOS 26.5)
- [Workaround] Date-Weekday Verification Hook — Prevents Claude from writing wrong weekdays
- [BUG] Claude Code create c:/memfs directory without asking me.
- [BUG] Claude Code's Bash execution waits forever with no processes running
- [BUG] usage stays stuck waiting for 5 hr limit after upgrading to premium seat in team plan
- [Workflow tool] resume cache is unreachable for nontrivial workflows because LLM dispatchers can't transcribe args byte-exactly
- Code review (Preview): "Add a repository" shows no results for private GitHub org repos
- [BUG] /context commands blows up context
- [Feature Request] Add precache expiry hook to enable proactive compaction before token eviction
- [BUG] Context indicator shows 0% at session start despite ~20K+ tokens already loaded
- [Feature Request] Add semantic search for --resume session history
- [Feature Request] Add session search, tagging, and filtering capabilities
- [BUG] Cowork Dispatch reports "desktop not available" on Windows 11 while standard Cowork works normally
- [Bug] Claude Code provides incorrect suggestions with high confidence despite errors
- defaultMode: acceptEdits silently overrides per-path permissions.ask rules for Write/Edit
- [FEATUR configurable tip interval (e.g. tipIntervalSeconds: 30 in settings)E]
- Plugin marketplace fails to load: schema rejects 'displayName' key (v2.1.153)
- claude agents: in-session copy uses broken OSC 52 path while overview correctly uses tmux buffer
- [BUG] Plugin agent descriptions (and custom agents) load unconditionally into context — no parity with disable-model-invocation for skills
- Crashed ultrareview consumed a free credit despite producing zero findings
- [Bug] Character rendering issue - invisible or missing text display
- [BUG] Cowork: processo Claude Code encerra com código 3 — .claude.json não contém token de autenticação (Windows 11 25H2)
- [BUG] 2.1.153 silently discards tools/list response from rmcp 0.12.0 HTTP MCP server (works in 2.1.152, wire-identical handshake)
- VS Code extension: option to auto-resume last session when reopening a workspace folder
- [Bug] Conversation continuation failure
- [BUG] Cowork crashes every time I start a new chat or attempt to continue an existing one in any project. The error displayed is: "Claude Code è andato in crash
- [Bug] Unannounced quota changes
- Native update/install fails with 'socket connection was closed unexpectedly' behind proxy — undici TLS incompatibility
- [BUG] Session name reverting after manual change
- [BUG] 非正常思考,上下文过长时,一直显示思考,点击interrupt按钮失效
- Honor `tools:` frontmatter when an agent is invoked via `@mention` — strip `Task` only when the agent did not declare it
- macOS TCC popup still recurring on v2.1.153 — "2.1.153" would like to access data from other apps
- Claude Code leaks pty handles — exhausts pseudo-terminals on macOS after long session
- [Bug] Agent fails to execute or respond to user input
- [BUG] Persistent "Expecting value: line 1 column 1 (char 0)" JSON parse error after tool execution
- [Feature Request] Implement proactive unit test coverage recommendations for recurring bugs
- VS Code panel lacks status line + terminal lacks image paste in Codespaces, forcing a tradeoff
- `/powerup` only shows ~10 lessons — allow viewing the full catalog
- [Bug] Context contamination after auto-compact with unrelated email draft of Tejo/Sado Basin
- [Bug] VSCode terminal output displays corrupted text with garbled symbols
- [Feature Request] Add LaTeX/KaTeX math rendering to TUI
- [Bug] Sub-agent PR review results not validated by orchestrating agent
- Subagents on Pro 1M tier: trivial probes pass, real workloads fail at first tool call (probe-vs-workload divergence)
- Path-scoped rules and subdirectory CLAUDE.md not loaded when creating new files matching the pattern
- AskUserQuestion: cancelling during extended thinking poisons the whole session with 400 'thinking blocks cannot be modified' (2.1.153); concurrent prompts overwrite each other
- Ideas Missing from Claude Cowork Menu (Windows)
- [BUG_BOUNTY_SAFE_POC_2026] Prompt Injection RCE Test - Command Execution Proof
- [BUG] Cowork scheduled task: execution history row not showing after successful run
- Resuming an extended-thinking session fails permanently with 400 "thinking blocks cannot be modified" (transcript stores thinking text as empty but keeps signature)
- [Bug] Plugin-registered CwdChanged and FileChanged hooks don't fire (settings.json works) — v2.1.153
- Auto-archive on PR merge / branch delete — clarify autoArchiveSessions semantics or add dedicated opt-out
- `claude mcp add` echoes Authorization header value verbatim to stdout, leaks bearer tokens to terminal and session transcripts
- [BUG] Bug report — /insights skill, Claude Code The /insights skill outputs a malformed file path.
- Plugin slash commands render with '*'-inline format instead of two-column, despite matching official plugin shape
- [Bug] Unexpected long text generation without user input or goal
- [Bug] Thinking blocks causing task progression blocked without user modification
- [BUG] (Critical!) contamination by an unknown session simirlar to the report => [Bug] Context contamination after auto-compact with unrelated email draft of Tejo/Sado Basin #63137
- [Critical] Opus 4.7 Korean output degeneration — Korean grammar itself collapses in long contexts
- [BUG] Title: Autocompact buffer persists across /clear — wastes tokens for irrelevant old context
- [Bug] Auto-Compact loses user input before processing in conversation history
- Feature: per-invocation effort parameter + runtime session-config introspection for skills
- Auto-mode classifier mislabels Azure DevOps vote -5 as "Reject" when denying PR vote actions
- [BUG] Claude Desktop and Claude Code CLI never re-register MCP tools after OAuth 2.1 handshake on a remote HTTP server
- [BUG] Workspace file tags leak across sessions
- [BUG] Ink renderer crashes on Windows 11 build 26200 (Canary) duplicate banners, terminal mode leaks, mid-operation aborts
- [BUG] Claude Code Desktop issue
- PTY master fd leak in Claude desktop app exhausts macOS kern.tty.ptmx_max after ~2-3 days
- [BUG] Claude Code — Session Management after Unexpected Interruption
- [Windows] Cowork OpenTelemetry exporter does not initialize - zero events emitted to any destination, including loopback
- [Bug] Opus 4.7: 400 `thinking blocks ... cannot be modified` on long extended-thinking sessions, triggered by history-altering events (scheduled prompts / parallel tool-call cancellation)
- [BUG] API Error: Server is temporarily limiting requests (not your usage limit) · Rate limited
- Multi-plugin custom marketplace: only first plugin registered in installed_plugins.json, skills don't load
- [BUG] Git push through the SDK's git proxy fan-outs into ~500 GitHub REST API calls, exhausting the 5,000/hour budget after a handful of pushes
- [BUG] Claude took liberties it really shouldn't with my global config
- [BUG] Agent window focus lost after navigating with arrow keys, causing scroll deadlock
- [BUG] `--model` flag silently ignored in interactive sessions (works in `--print` only)
- [BUG] Dispatch permanently shows "desktop appears offline" on Windows 11 - never worked on first use
- feat: support per-command enableWeakerNetworkIsolation as safer alternative to dangerouslyDisableSandbox
- /code-review outputs a raw JSON array instead of readable findings
- [BUG] Cowork — Additional allowed domains ignored on Team plan; same domain works on Pro plan
- Haiku
- [Bug] False positive blocking beneficial outcomes in tool execution
- 3P Bedrock SSO: credentials silently expire without triggering re-auth on day 2+
- CLAUDE_AUTOCOMPACT_PCT_OVERRIDE in settings.json env block silently ignored by autocompact logic
- Auto-compaction deletes main session JSONL before verifying summary completion, causing data loss
- [Bug] Claude Code not executing stated actions or producing expected results
- [FEATURE] Deferred Messages — Queue Input for End of Turn
- [BUG] Up/Down arrows in input box navigate history instead of moving cursor — regression in 2.1.149+
- Cancelling a parallel tool-call batch corrupts thinking blocks -> 400 "thinking blocks cannot be modified" permanently wedges the session
- Claude Code caused data loss, then contradicted itself about recovery (two incidents, one session)
- [Bug] Unclear error messages from Claude Code CLI
- [Bug] Agent tool rejecting due to context size limit exceeded
- claude agents: daemon and bg-spare processes spin at ~100% CPU when idle
- [BUG] Compaction fails with "context window limit" error even when context usage is low (e.g., 20%) — regression in v2.1.153
- Remote Control entitlement lost after May 27-28 incident — `Error: Remote Control is not yet enabled for your account` on active Max subscription
- PreToolUse hook exit code 2 does not block Write tool
- [Bug] Thinking blocks in latest assistant message are immutable
- GUI: dispatch file:// and custom-scheme clicks to OS shell handler
- Show current model in statusLine by default
- [Bug] Agent console becomes unresponsive to keyboard input after multiple agents initialized
- [FEATURE] PreToolUse hooks should have a way of updating the environment
- [Bug] Unable to start or use Claude Code CLI
- [BUG] Repository not visible in Claude Code web repo picker
- Session permanently wedged on 400 "thinking blocks cannot be modified" after parallel tool_results
- [Bug] @ autocomplete loses sibling repos after a file edit in multi-repo workspace
- Unclear error message when creating sub-agent without authentication
- [Bug] Anthropic API errors causing frequent failures and high token usage
- [BUG] @ mention file picker only shows packages, not individual files (desktop app - Code tab)
- [Bug] TUI panel footer remains sticky and consumes excessive terminal space
- PR-status polling exhausts GitHub GraphQL rate limit on repos with many open PRs
- [BUG] Windows: welcome panel not shown in some project folders (2.1.153)
- [Bug] Anthropic API Error: thinking blocks corrupted during context compaction with extended thinking enabled
- API 400 "thinking blocks cannot be modified" permanently bricks session during agent activation (interleaved thinking + tool use)
- Right-click Copy copies the whole message instead of the selection; pasted text retains dark background
- Mid-session model switch corrupts conversation when extended thinking is enabled (API 400: 'thinking blocks cannot be modified')
- [BUG] Markdown file links in chat output do not open files when clicked (VS Code extension)
- Stuck retry loop: `400 thinking blocks cannot be modified` on large interleaved-thinking turns using AskUserQuestion
- [FEATURE] Prompt user for approval before auto-compaction proceeds
- Custom MCP connectors not attachable to scheduled routines — no UUID discovery path
- [BUG] Claude in Chrome — Navigation blocked for teams.cloud.microsoft and outlook.cloud.microsoft after Microsoft domain migration**
- [BUG] Claude Desktop — Personal plugins panel renders list but is entirely non-interactive (macOS, v1.9255.2)
- [Bug] error when using Workflows
- [BUG] Persistent "update available" notification despite being on latest version
- [BUG] Sweep Agent from /code-review never completes
- [Bug] Tool calls not executing or returning results
- [FEATURE] Cloud-synced memory and settings across machines
- [Bug] Terminal UI freezes when Ctrl+O view exits during interactive prompt in plan mode
- Continuous api errors when using claude code with Opus 4.7 with thinking on low
- [Feature Request] Add support for installing and using previous Claude Code versions
- [Bug] Extended Thinking: Summarized thinking blocks fail signature validation when resent to API
- [Bug] Anthropic API Error: 'thinking' blocks cannot be modified
- [Bug] Anthropic API Error: Thinking blocks cannot be modified with extended thinking mode
- Feature request: Lazy/on-demand MCP server connections
- [Bug] Tool Arguments Parsed as String Instead of Object
- [Bug] Anthropic API Error: Insufficient context provided
- [Bug] Claude Opus occasionally uses moskovian(russian) orthography instead of Ukrainian in system-prompted responses
- Opus 4.8: backgrounded task completions (subagents AND Bash) crash with 400 "thinking blocks cannot be modified"
- [Bug] Opus 4.7 fabricates stable preferences ("my default") to rationalize arbitrary choices when challenged
- [Bug] Unable to update Claude Code CLI
- [BUG] Desktop app: /remote-control mints link + connects bridge (main.log) but in-chat link/QR panel never renders
- Feature: sessionColor and sessionName in .claude/settings.json
- [BUG] Anthropic API error: thinking blocks
- [FEATURE] Support Remote MCPs in Cowork as in Claude Code
- [Bug] Anthropic API Error: 400 Bad Request with Redacted Thinking - 0 4.7 & 4.8
- [Bug] Anthropic API Error: Cannot modify thinking blocks from different model versions
- Interleaved thinking + multi-tool turn corrupts thinking block (text blanked, signature kept) → permanent 400 'blocks must remain as they were'
- [BUG] Mode/permission changes mid-tool-loop (effortLevel: xhigh) poisons entire session
- Session failure log: Opus 4.6 ignores its own rules for an entire session
- [BUG] "400 Guardrail was enabled" error when using Claude Opus 4.8 with AWS Bedrock
- [Feature Request] Add subagent approach selection option to avoid accidental feedback
- Persistent 400 'thinking blocks in the latest assistant message cannot be modified' — interleaved thinking persisted with empty text + signature bricks sessions
- [BUG] DesktopvsApp
- [BUG] Opus 4.7 cache hit rate collapse after May 27 incident — Messages 1.1k→88.9k in 9 minutes, $630/session
- [Bug] Anthropic API Error: Invalid thinking block format
- [BUG] FUCK CLAUDE
- Opus 4.8 extended thinking: Stop hook block re-entry corrupts thinking blocks → 400
- [Bug] 4.8 Fails when accessing previous model history
- [Bug] Unintended File Modifications During Execution
- [DOCS] Model configuration docs omit lean system prompt default scope and model exceptions
- Add "Always allow globally" option to permission prompts
- Server-side model upgrade (Opus 4.7→4.8) wedges in-flight sessions with `thinking blocks cannot be modified` 400
- [DOCS] AskUserQuestion docs missing multiple-choice prompt decision threshold
- [DOCS] Agent view docs omit shell-command background session launch syntax
- [DOCS] Agent view dispatch input docs incorrectly imply `/logout` dispatches as a prompt
- [DOCS] Claude in Chrome docs omit connected-browser selection behavior
- [DOCS] Plugin docs omit `defaultEnabled: false` for opt-in plugins
- Feature Request: Customizable chat text colors for user and assistant messages
- [DOCS] `/plugin` Discover tab docs omit directory-based suggested plugin pins
- VSCode Chrome integration silently fails: 3 distinct bugs
- [DOCS] MCP stdio docs omit session environment variables
- [Bug] Anthropic API error on second request within session with Claude Opus 4.8
- Cowork emits a blank session "index" handoff on focus when a CLI session is paused awaiting input
- [DOCS] MCP docs omit `claude mcp list/get` pending-approval output for unapproved project servers
- [BUG] /compact fails with 400 error when last assistant turn contains thinking blocks
- [DOCS] `/claude-api` docs omit Opus 4.8 migration guidance
- [DOCS] Fast mode docs still recommend deprecated Opus 4.6 override variable
- [DOCS] Bash tool docs omit `$TMPDIR` consistency across sandboxed and unsandboxed commands
- [Bug] Anthropic API Error: 400 Bad Request on Extended Thinking
- [DOCS] Background session docs omit worktree-isolation behavior for spawned subagents
- Built-in mechanistic self-verification of verifiable claims (symmetric to the auto permission gate)
- [DOCS] Worktree docs do not clarify `worktree.baseRef: "head"` inside linked worktrees
- [BUG] Excessive RAM usage with multiple parallel chats (~10 sessions → 30 GB memory pressure, macOS OOM)
- [DOCS] Managed MCP policy docs omit invalid `allowedMcpServers`/`deniedMcpServers` entry behavior
- [DOCS] Effort docs omit `CLAUDE_CODE_ALWAYS_ENABLE_EFFORT` unsupported-model behavior
- Regression (2.1.147–2.1.150?): resuming an extended-thinking session after a CC update/model-switch → unrecoverable 400, session bricked
- [DOCS] Windows updater docs omit `claude.exe` in-use recovery guidance
- [DOCS] VS Code auto mode docs still tie mode-picker visibility to bypass-permissions setting
- [DOCS] MCP docs omit `/mcp` tool list and detail rendering behavior
- [DOCS] Fine-grained tool streaming docs still describe provider opt-in behavior
- bypassPermissions: session startup reads flat pref, GUI toggle writes per-account pref — they never sync
- [BUG] Claude Desktop Code tab causes disk write limit violation — 8.5GB in 11 min, macOS kills app (M5, v1.9659.1)
- Ultrareview v2.1.96: docs describe /tasks command + claude ultrareview --json subcommand that don't exist; findings hard to read after completion
- I'd be happy to help create a GitHub issue title, but I don't see the error message in your message. Could you please share the specific error you're encountering? That way I can generate an accurate and descriptive issue title for you.
- [BUG] Claude in Chrome `file_upload` rejects all scheduled-task sessions with misleading error (real cause: INVALID_SESSION)
- Extended thinking: signed thinking block 'cannot be modified' (400) permanently wedges session
- RTL text support for Hebrew (and Arabic) in Claude Code
- [Bug] Random errors occurring across multiple operations