microsoft / microsoft/BitNet

running in server mode not returning any response

Open
#278 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.