Skip to content

Commit

Permalink
Remove python 3.10 requirement (vllm-project#2040)
Browse files Browse the repository at this point in the history
  • Loading branch information
WoosukKwon authored Dec 11, 2023
1 parent eb17212 commit 31d2ab4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Install vLLM with pip or [from source](https://vllm.readthedocs.io/en/latest/get
```bash
pip install vllm
```
**NOTE:** The Mixtral model additionally requires `megablocks` which can be installed with pip or [from source](https://github.com/stanford-futuredata/megablocks) on **Python 3.10**:
**NOTE:** The Mixtral model additionally requires `megablocks` which can be installed with pip or [from source](https://github.com/stanford-futuredata/megablocks):
```bash
pip install megablocks
```
Expand Down
4 changes: 1 addition & 3 deletions vllm/model_executor/models/mixtral.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@
import megablocks.ops as ops
except ImportError:
print(
"MegaBlocks not found. Please install it by `pip install megablocks`. "
"Note that MegaBlocks depends on mosaicml-turbo, which only supports "
"Python 3.10 for now.")
"MegaBlocks not found. Please install it by `pip install megablocks`.")
try:
import stk
except ImportError:
Expand Down

0 comments on commit 31d2ab4

Please sign in to comment.