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
7cd2ebb0
Unverified
Commit
7cd2ebb0
authored
Jul 03, 2024
by
Roger Wang
Committed by
GitHub
Jul 03, 2024
Browse files
[Bugfix] Fix `compute_logits` in Jamba (#6093)
parent
f1c78138
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/models/jamba.py
vllm/model_executor/models/jamba.py
+1
-1
No files found.
vllm/model_executor/models/jamba.py
View file @
7cd2ebb0
...
...
@@ -876,7 +876,7 @@ class JambaForCausalLM(nn.Module):
def
compute_logits
(
self
,
hidden_states
:
torch
.
Tensor
,
sampling_metadata
:
SamplingMetadata
)
->
torch
.
Tensor
:
logits
=
self
.
logits_processor
(
self
.
lm_head
.
weight
,
hidden_states
,
logits
=
self
.
logits_processor
(
self
.
lm_head
,
hidden_states
,
sampling_metadata
)
return
logits
...
...
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