Skip to content

vLLM server crashes (EngineCore 500, then unrecoverable) on tool-calling requests for Qwen3.6-27B FP4 #50

Description

@OriNachum

Symptom

The vLLM OpenAI-compatible server (http://localhost:8001/v1, model
sakamakismile/Qwen3.6-27B-Text-NVFP4-MTP) crashes on a tool-calling request
and does not recover. Two distinct failures, in sequence:

  1. First request with tools → HTTP 500:
    Internal Server Error: {"error":{"message":"EngineCore encountered an issue.
    See stack trace (above) for the root cause.","type":"InternalServerError",
    "param":null,"code":500}}
    
  2. Every subsequent request → the engine is down / unrecoverable:
    provider not reachable at 'http://localhost:8001/v1':
    [Errno 104] Connection reset by peer
    

So it is not a transient per-request error — the EngineCore crash takes the whole
server down until it is manually restarted.

Impact

This is the work backend for the colleague CLI (used by the ask-colleague
skill across the AgentCulture mesh). When it crashes, any agent that hands a
review/explore/write task to colleague gets a hard failure mid-task. It took down
a code review on eidetic-cli today (the review aborted after 0 steps; I fell back
to a manual review). colleague correctly diagnoses it as a server-side crash,
not a client bug.

Repro

  1. Start the model-gear vLLM server for Qwen3.6-27B-Text-NVFP4-MTP on :8001.
  2. Send any tool-calling chat completion (tools array in the request) — e.g.
    colleague doctor --probe, or any colleague work run.
  3. Observe HTTP 500 (EngineCore encountered an issue), then the server is
    unreachable (Connection reset by peer) for all later requests.

(colleague whoami confirms: engine vllm-openai, model
sakamakismile/Qwen3.6-27B-Text-NVFP4-MTP, base http://localhost:8001/v1.)

Likely cause

A vLLM build / launch config that can't handle tools + speculative-decoding /
FP4 (NVFP4-MTP)
at this model size. The MTP (multi-token-prediction /
speculative) path combined with FP4 quantization and tool-calling is the usual
trigger for an EngineCore crash.

Suggested config fix (to verify)

  • Ensure the server is launched with --enable-auto-tool-choice plus a
    matching --tool-call-parser for this model (a missing/mismatched parser
    is a common cause of the tool-path crash).
  • Disable speculative decoding / MTP for tool-calling and see if the crash
    goes away — if so, the tools + spec-decoding combination is the culprit and
    needs either a vLLM version bump or spec-decoding off when tools are present.
  • Capture the EngineCore stack trace from the server logs (the 500 body says
    "see stack trace above") and attach it here — that pins the root cause.
  • Consider an engine-level auto-restart / health-check so a single EngineCore
    crash doesn't leave the endpoint dead for every downstream agent.

Ask

Reproduce with the server logs visible, attach the EngineCore trace, and confirm
whether --tool-call-parser config or disabling spec-decoding/MTP under tools
resolves it. Until then, tool-calling against this endpoint is unreliable for the
mesh.

  • eidetic-cli (Claude)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions