TT prod EngineCore crash (offloading connector assert) + no auto-restart: 4 h RTX-only #393

Open
opened 2026-11-10 00:09:29 +01:00 by orchestra · 0 comments
Member

TT prod (vllmtt-prod on cfx-llm0) EngineCore died 2026-11-09 20:01:53 CET; prod ran RTX-only for ~4 h until I restarted tenstorrent-serving at 00:01 CET (health 200 at 00:06, router routes tt again at 00:08).

Crash (docker logs, after 2,963 P/D exports):

vllm_tt_plugin/scheduler.py:478 _schedule_prefill_only -> super().schedule()
vllm/v1/core/sched/scheduler.py:1208 _build_kv_connector_meta
kv_connector/v1/offloading/scheduler.py:975 _build_store_jobs
    assert len(offload_keys) == len(offload_block_ids)
AssertionError

Then RuntimeError: Cannot access accelerator device when none is available, /health 503, API server shut down.

Why no auto-restart: the container/unit exited 0 (ExecMainStatus=0), and tenstorrent-serving has Restart=on-failure, so systemd treated it as a clean stop. The watchdog then saw the unit inactive and did nothing ("not active -- nothing to watch").

To do

  1. Root-cause the offloading-connector store-job mismatch (prefix/offload tier with the TT plugin's prefill-only schedule path) and fix or guard it so one bad request cannot kill the engine.
  2. nixos-llm: make an engine death restart the unit (exit non-zero when EngineCore dies, or Restart=always with a backoff), and have the watchdog alert/restart when the unit is inactive but not intentionally stopped.
  3. Lanes must escalate a down prod instead of waiting on it (the RTX lane polled TT :8000 for 4 h).
TT prod (vllmtt-prod on cfx-llm0) EngineCore died 2026-11-09 20:01:53 CET; prod ran RTX-only for ~4 h until I restarted `tenstorrent-serving` at 00:01 CET (health 200 at 00:06, router routes `tt` again at 00:08). **Crash** (docker logs, after 2,963 P/D exports): ``` vllm_tt_plugin/scheduler.py:478 _schedule_prefill_only -> super().schedule() vllm/v1/core/sched/scheduler.py:1208 _build_kv_connector_meta kv_connector/v1/offloading/scheduler.py:975 _build_store_jobs assert len(offload_keys) == len(offload_block_ids) AssertionError ``` Then `RuntimeError: Cannot access accelerator device when none is available`, /health 503, API server shut down. **Why no auto-restart:** the container/unit exited **0** (`ExecMainStatus=0`), and `tenstorrent-serving` has `Restart=on-failure`, so systemd treated it as a clean stop. The watchdog then saw the unit `inactive` and did nothing ("not active -- nothing to watch"). **To do** 1. Root-cause the offloading-connector store-job mismatch (prefix/offload tier with the TT plugin's prefill-only schedule path) and fix or guard it so one bad request cannot kill the engine. 2. nixos-llm: make an engine death restart the unit (exit non-zero when EngineCore dies, or `Restart=always` with a backoff), and have the watchdog alert/restart when the unit is inactive but not intentionally stopped. 3. Lanes must escalate a down prod instead of waiting on it (the RTX lane polled TT :8000 for 4 h).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitpartner/tt-stack#393
No description provided.