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
82079729
"...git@developer.sourcefind.cn:2222/OpenDAS/vllm_cscc.git" did not exist on "661a34fd4fdd700a29b2db758e23e4e243e7ff18"
Unverified
Commit
82079729
authored
Jun 25, 2024
by
aws-patlange
Committed by
GitHub
Jun 25, 2024
Browse files
[Bugfix] Fix assertion in NeuronExecutor (#5841)
parent
c2a8ac75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vllm/executor/neuron_executor.py
vllm/executor/neuron_executor.py
+3
-3
No files found.
vllm/executor/neuron_executor.py
View file @
82079729
...
...
@@ -48,9 +48,9 @@ class NeuronExecutor(ExecutorBase):
def
execute_model
(
self
,
execute_model_req
:
ExecuteModelRequest
)
->
List
[
SamplerOutput
]:
assert
(
execute_model_req
.
blocks_to_swap_in
==
{}
and
execute_model_req
.
blocks_to_swap_out
==
{}
and
execute_model_req
.
blocks_to_copy
==
{}
),
(
assert
(
not
execute_model_req
.
blocks_to_swap_in
and
not
execute_model_req
.
blocks_to_swap_out
and
not
execute_model_req
.
blocks_to_copy
),
(
"Cache operations are not supported for Neuron backend."
)
assert
execute_model_req
.
num_lookahead_slots
==
0
,
(
"lookahead not supported for Neuron backend."
)
...
...
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