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
91c9ebbb
Unverified
Commit
91c9ebbb
authored
Nov 03, 2024
by
Robert Shaw
Committed by
GitHub
Nov 04, 2024
Browse files
[V1] Fix Configs (#9971)
parent
54597724
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
vllm/v1/executor/gpu_executor.py
vllm/v1/executor/gpu_executor.py
+3
-2
No files found.
vllm/v1/executor/gpu_executor.py
View file @
91c9ebbb
import
os
from
typing
import
Optional
,
Tuple
from
vllm.config
import
Engine
Config
from
vllm.config
import
Vllm
Config
from
vllm.logger
import
init_logger
from
vllm.utils
import
get_distributed_init_method
,
get_ip
,
get_open_port
from
vllm.v1.outputs
import
ModelRunnerOutput
...
...
@@ -12,7 +12,8 @@ logger = init_logger(__name__)
class
GPUExecutor
:
def
__init__
(
self
,
vllm_config
:
EngineConfig
)
->
None
:
def
__init__
(
self
,
vllm_config
:
VllmConfig
)
->
None
:
self
.
vllm_config
=
vllm_config
self
.
model_config
=
vllm_config
.
model_config
self
.
cache_config
=
vllm_config
.
cache_config
self
.
lora_config
=
vllm_config
.
lora_config
...
...
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