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
19d91ece
Unverified
Commit
19d91ece
authored
Nov 09, 2025
by
Nicolò Lucchesi
Committed by
GitHub
Nov 09, 2025
Browse files
[CI] Fix flaky `test_eagle_correctness` test (#28364)
Signed-off-by:
NickLucche
<
nlucches@redhat.com
>
parent
7ae5a5fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/v1/e2e/test_spec_decode.py
tests/v1/e2e/test_spec_decode.py
+2
-2
No files found.
tests/v1/e2e/test_spec_decode.py
View file @
19d91ece
...
...
@@ -433,9 +433,9 @@ def test_eagle_correctness(
print
(
f
"ref_output:
{
ref_output
.
outputs
[
0
].
text
}
"
)
print
(
f
"spec_output:
{
spec_output
.
outputs
[
0
].
text
}
"
)
# Heuristic: expect at least 6
6
% of the prompts to match exactly
# Heuristic: expect at least 6
0
% of the prompts to match exactly
# Upon failure, inspect the outputs to check for inaccuracy.
assert
matches
>
int
(
0.6
6
*
len
(
ref_outputs
))
assert
matches
>
int
(
0.6
*
len
(
ref_outputs
))
del
spec_llm
torch
.
cuda
.
empty_cache
()
cleanup_dist_env_and_memory
()
...
...
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