lm-sys / lm-sys/FastChat

mistral-8x-7b stops generating in mid

Open
#2,834 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

I have noted that when using vllm worker sometimes mistral MOE model stops generating in middle. Is it happening for just me or anyone else. I am using the instruct version of mistral-8x-7b ie mistralai/Mixtral-8x7B-Instruct-v0.1.

I using below code to run the worker.

python3 -m fastchat.serve.vllm_worker --model-path mistralai/Mixtral-8x7B-Instruct-v0.1

prompt:

Give a code to show async await in python

The response:

![image](https://github.com/lm-sys/FastChat/assets/67498117/2ce2c546-e35c-4738-a600-2cc16deb0c60)

Following parameters used for generation:
temperature = 0
max_tokens = 512

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 fastchat.serve.vllm_worker, the mistralai/Mixtral-8x7B-Instruct-v0.1 model, the supplied prompt, temperature 0, and max_tokens 512. Compare runs that stop mid-response and capture the worker output; done means identifying a reproducible cause and confirming that generation completes reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.