Repository navigation
server : add kill switch when server is stuck - #20277
Conversation
d1c1d32 to
8e840c0
Compare
|
I managed to reproduce this reliably with gpt-oss-20b and 120b. Windows & Nvidia RTX 3090. repro.py The reproducer runs an agentic scenario, and then runs it again. The second run is what triggers the loop. Let me know if there's anything else I can provide. |
| std::vector<server_slot> slots; | ||
|
|
||
| int slots_debug = 0; | ||
| int n_empty_consequtive = 0; |
…ound) - -c 32768 → 65536: openclaw compaction was failing at 41784 tokens - Remove --ctx-checkpoints 1: triggers empty-batch loop bug in b8255 which causes the kill-switch abort (server-context.cpp:2634) See: ggml-org/llama.cpp#20277
|
https://huggingface.co/unsloth/gemma-4-12B-it-qat-GGUF/discussions/5 [Bug] Fatal errors when loading unsloth/gemma-4-12B-it-qat-GGUF with MTP draft model on RTX 5070 Ti — LM Studio 0.4.16 Environment: Observed behaviour: Scenario 1 — Flash Attention enabled ( Scenario 2 — Flash Attention disabled (fallback after Scenario 1): On the first inference request, decoding fails due to KV-cache position mismatch: The server then terminates with: Request: |
ref #20087 (comment)
Sometimes the server enters an infinite loop of empty batches. This change makes it easier to debug such cases.