microsoft / microsoft/MInference

[Question]: e/MInference/scbench/run_scbench.py", line 200, in load_model llm = LLM( NameError: name 'LLM' is not defined. Did you mean: 'llm'?

Open
#123 1 comment 0 reactions 1 assignee View on GitHub

@iofu728 is already working on this.

Since Feb 25, 2025.

question
Dominant language
Python
Stars
1.2k
Forks
82
Avg merge
1d 18h
Merged PRs (30d)
1

Description

Describe the bug

I followed the install instructions as https://github.com/microsoft/MInference/tree/main/scbench#environment-for-efficient-long-context-methods but came across this issue. Is there any way that I can use this benchmark without installing MInference? I think this is more benift for extending this benchmark to other models.

Steps to reproduce
conda create -n scbench python=3.10 -y && conda activate scbench
pip install torch
pip install minference
pip install flash-attn --no-build-isolation
git clone https://github.com/microsoft/MInference.git && cd MInference/scbench
pip install -r requirements.txt
VLLM_ALLOW_LONG_MAX_MODEL_LEN=1 CUDA_VISIBLE_DEVICES=0 VLLM_WORKER_MULTIPROC_METHOD=spawn bash scripts/run_single_method.sh path/to/model 1 multi-turn vllm dense


Expected Behavior

No response

Logs

No response

Additional Information

No response

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.