why use --load-8bit is more slow than not add
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39.5k
- Forks
- 4.8k
- PR merge metrics
- No merged PRs in 30d
Description
when run
python -m fastchat.serve.model_worker --model-path chatglm2-6b --num-gpus 2 --load-8bit
generation tokens is more slow than
python -m fastchat.serve.model_worker --model-path chatglm2-6b --num-gpus 2
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 two python -m fastchat.serve.model_worker commands with chatglm2-6b, --num-gpus 2, and the differing --load-8bit option. Inspect the model_worker entry point and compare generation speed and the 8-bit loading path; done means identifying why the option is slower and recording a verified fix or explanation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100