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
ea7bd68d
Unverified
Commit
ea7bd68d
authored
Dec 14, 2024
by
Tyler Michael Smith
Committed by
GitHub
Dec 14, 2024
Browse files
[V1][Bugfix] Fix V1 TP trust-remote-code (#11182)
Signed-off-by:
Tyler Michael Smith
<
tyler@neuralmagic.com
>
parent
48259264
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
vllm/v1/engine/core.py
vllm/v1/engine/core.py
+5
-0
No files found.
vllm/v1/engine/core.py
View file @
ea7bd68d
...
...
@@ -14,6 +14,8 @@ from msgspec import msgpack
from
vllm.config
import
CacheConfig
,
VllmConfig
from
vllm.executor.multiproc_worker_utils
import
get_mp_context
from
vllm.logger
import
init_logger
from
vllm.transformers_utils.config
import
(
maybe_register_config_serialize_by_value
)
from
vllm.usage.usage_lib
import
UsageContext
from
vllm.v1.core.scheduler
import
Scheduler
from
vllm.v1.engine
import
(
EngineCoreOutput
,
EngineCoreOutputs
,
...
...
@@ -241,6 +243,9 @@ class EngineCoreProc(EngineCore):
# processes to terminate without error
shutdown_requested
=
False
# Ensure we can serialize transformer config after spawning
maybe_register_config_serialize_by_value
()
def
signal_handler
(
signum
,
frame
):
nonlocal
shutdown_requested
if
not
shutdown_requested
:
...
...
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