Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
54500546
Unverified
Commit
54500546
authored
Apr 01, 2026
by
Chang Su
Committed by
GitHub
Apr 01, 2026
Browse files
[Bugfix] Preserve original ImportError in gRPC server entrypoint (#38673)
Signed-off-by:
Chang Su
<
chang.s.su@oracle.com
>
parent
de5e6c44
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
vllm/entrypoints/grpc_server.py
vllm/entrypoints/grpc_server.py
+6
-4
No files found.
vllm/entrypoints/grpc_server.py
View file @
54500546
...
...
@@ -29,11 +29,13 @@ try:
from
grpc_reflection.v1alpha
import
reflection
from
smg_grpc_proto
import
vllm_engine_pb2
,
vllm_engine_pb2_grpc
from
smg_grpc_servicer.vllm.servicer
import
VllmEngineServicer
except
ImportError
:
except
ImportError
as
e
:
raise
ImportError
(
"smg-grpc-servicer is required for gRPC mode. "
"Install it with: pip install vllm[grpc]"
)
from
None
"gRPC mode requires smg-grpc-servicer. "
"If not installed, run: pip install vllm[grpc]. "
"If already installed, there may be a broken import due to a "
"version mismatch — see the chained exception above for details."
)
from
e
import
uvloop
...
...
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