Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xdb4_94051
vllm
Commits
6120e5aa
Unverified
Commit
6120e5aa
authored
Dec 11, 2023
by
Woosuk Kwon
Committed by
GitHub
Dec 11, 2023
Browse files
Fix import error msg for megablocks (#2038)
parent
2eaa81b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vllm/model_executor/models/mixtral.py
vllm/model_executor/models/mixtral.py
+4
-4
No files found.
vllm/model_executor/models/mixtral.py
View file @
6120e5aa
...
@@ -34,10 +34,10 @@ from transformers import MistralConfig
...
@@ -34,10 +34,10 @@ from transformers import MistralConfig
try
:
try
:
import
megablocks.ops
as
ops
import
megablocks.ops
as
ops
except
ImportError
:
except
ImportError
:
print
(
"MegaBlocks not found, please see "
print
(
"https://github.com/stanford-futuredata/
megablocks
/
. "
"MegaBlocks not found. Please install it by `pip install
megablocks
`
. "
"Note that MegaBlocks depends on mosaicml-turbo, which only "
"Note that MegaBlocks depends on mosaicml-turbo, which only
supports
"
"supports p
ython 3.10."
)
"P
ython 3.10
for now
."
)
try
:
try
:
import
stk
import
stk
except
ImportError
:
except
ImportError
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment