Skip to content

engine is not responding #10

Description

@mqtt-fan

Hi all,

I always get this error after the call with opencode:

`startup [ 46.4 s] opening the socket
lash_serve: a prompt admitted beside active streams prefills in pieces of 32768 tokens with a decode tick between them (HALOGEN_ADMIT_CHUNK; 0 = the engine's own chunk, which keeps the admitted prompt bitwise its alone self; -1 = the whole prompt at once)
lash_serve: listening on 127.0.0.1:8730, 4 slots over ONE 262144-position KV pool, each request up to 262144 (it reserves prompt + max_tokens), max_tok 32768, BATCHED greedy or sampled; MTP depth-1 selectable (drafter 1, speculates while alone)
alogen: engine listening after 50s
alogen: engine watchdog on, 180s of silence takes the container down
halogen/tools/serve_api.py:2731: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.

   Read more about it in the                                                                                                                                                                                                                                       
   [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).                                                                                                                                                                              

@app.on_event("startup")
NFO: Started server process [73]
NFO: Waiting for application startup.
erve_api: engine at 127.0.0.1:8730, listening on 0.0.0.0:8731
NFO: Application startup complete.
NFO: Uvicorn running on http://0.0.0.0:8731 (Press CTRL+C to quit)
NFO: 192.168.2.45:38726 - "POST /v1/chat/completions HTTP/1.1" 200 OK
alogen: the engine has not answered PING for 45s
alogen: the engine has not answered PING for 90s
alogen: the engine has not answered PING for 135s
alogen: the engine has not answered PING for 180s
alogen: the engine process is alive and has answered nothing for 180s.
PING is answered between decode rounds and between prefill chunks, so this is
a wedged engine rather than a slow one. Shutting the container down so a
restart policy can recover it; raise or disable HALOGEN_ENGINE_WATCHDOG_S
(0 = off) if you would rather it stayed up for diagnosis.
`

I am just using the default command:

podman run --rm -p 8731:8731
--device /dev/kfd --device /dev/dri --group-add keep-groups
--security-opt seccomp=unconfined --ipc=host --ulimit memlock=-1:-1
-e HALOGEN_DOWNLOAD=peonist-ai/halogen-qwen3.8-flash-next
-v ~/halogen-models:/models
ghcr.io/peonist-ai/halogen-flash-server:0.5.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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