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
6d917d0e
Unverified
Commit
6d917d0e
authored
Dec 14, 2024
by
Mark McLoughlin
Committed by
GitHub
Dec 14, 2024
Browse files
Enable mypy checking on V1 code (#11105)
Signed-off-by:
Mark McLoughlin
<
markmc@redhat.com
>
parent
93abf23a
Changes
21
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/v1/worker/gpu_worker.py
vllm/v1/worker/gpu_worker.py
+1
-1
No files found.
vllm/v1/worker/gpu_worker.py
View file @
6d917d0e
...
@@ -204,7 +204,7 @@ class Worker:
...
@@ -204,7 +204,7 @@ class Worker:
return
output
if
self
.
rank
==
0
else
None
return
output
if
self
.
rank
==
0
else
None
return
output
return
output
def
profile
(
self
,
is_start
=
True
):
def
profile
(
self
,
is_start
:
bool
=
True
):
if
self
.
profiler
is
None
:
if
self
.
profiler
is
None
:
raise
RuntimeError
(
"Profiler is not enabled."
)
raise
RuntimeError
(
"Profiler is not enabled."
)
if
is_start
:
if
is_start
:
...
...
Prev
1
2
Next
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