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
fa246d52
Unverified
Commit
fa246d52
authored
Apr 01, 2026
by
Fynn Schmitt-Ulms
Committed by
GitHub
Apr 01, 2026
Browse files
Fix shape comment in extract_hidden_states example (#38723)
Signed-off-by:
Fynn Schmitt-Ulms
<
fschmitt@redhat.com
>
parent
7cf56a59
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/offline_inference/extract_hidden_states.py
examples/offline_inference/extract_hidden_states.py
+1
-1
No files found.
examples/offline_inference/extract_hidden_states.py
View file @
fa246d52
...
...
@@ -54,5 +54,5 @@ with tempfile.TemporaryDirectory() as tmpdirname:
print
(
"Extracted token ids:"
,
token_ids
)
# Matches prompt token ids
print
(
"Extracted hidden states shape:"
,
hidden_states
.
shape
)
# [num_hidden_layers,
prompt len,
hidden size]
)
# [
prompt len,
num_hidden_layers, hidden size]
print
(
"Extracted hidden states:"
,
hidden_states
)
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