running in server mode not returning any response
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 40.3k
- Forks
- 3.7k
- PR merge metrics
- No merged PRs in 30d
Description
Bring up the llm in server mode with command
python run_inference_server.py -m <model> --host 0.0.0.0 --port 5000
When connect to the server using API endpoint
http://localhost:5000/completion
with payload
{"prompt": "<prompt>}
The server receive the request and start generating tokens but keep on generating, going in infinite loop, never return
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with run_inference_server.py in server mode, using the /completion endpoint at http://localhost:5000/completion and the shown prompt payload. Trace why token generation does not finish; done means the endpoint returns a response instead of continuing indefinitely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100