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
32257297
Unverified
Commit
32257297
authored
Nov 03, 2025
by
Jee Jee Li
Committed by
GitHub
Nov 03, 2025
Browse files
[CI/Build] Remove the flaky gpt-oss lora test (#27966)
Signed-off-by:
Jee Jee Li
<
pandaleefree@gmail.com
>
parent
ba464e6a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
tests/lora/test_gptoss_tp.py
tests/lora/test_gptoss_tp.py
+0
-5
No files found.
tests/lora/test_gptoss_tp.py
View file @
32257297
...
...
@@ -32,7 +32,6 @@ The Competition_ID of competition_record is the foreign key of Competition_ID of
###Response:<|end|><|start|>assistant<|channel|>final<|message|>"""
# noqa: E501
EXPECTED_LORA_OUTPUT
=
[
"SELECT AVG(Working_Horses) FROM farm WHERE Total_Horses > 5000;"
,
"SELECT AVG(Working_Horses) FROM farm WHERE Total_Horses > 5000;"
,
"SELECT MAX(Cows) AS Max_Cows, MIN(Cows) AS Min_Cows FROM farm;"
,
"SELECT MAX(Cows) AS Max_Cows, MIN(Cows) AS Min_Cows FROM farm;"
,
...
...
@@ -41,9 +40,6 @@ EXPECTED_LORA_OUTPUT = [
def
generate_and_test
(
llm
:
vllm
.
LLM
,
lora_path
:
str
,
lora_id
:
int
)
->
None
:
prompts
=
[
PROMPT_TEMPLATE
.
format
(
context
=
"What is the average number of working horses of farms with more than 5000 total number of horses?"
# noqa: E501
),
# noqa: E501
PROMPT_TEMPLATE
.
format
(
context
=
"Give the average number of working horses on farms with more than 5000 total horses."
# noqa: E501
),
# noqa: E501
...
...
@@ -67,7 +63,6 @@ def generate_and_test(llm: vllm.LLM, lora_path: str, lora_id: int) -> None:
generated_text
=
output
.
outputs
[
0
].
text
.
strip
()
generated_texts
.
append
(
generated_text
)
print
(
f
"Prompt:
{
prompt
!
r
}
, Generated text:
{
generated_text
!
r
}
"
)
for
i
in
range
(
len
(
EXPECTED_LORA_OUTPUT
)):
assert
generated_texts
[
i
].
startswith
(
EXPECTED_LORA_OUTPUT
[
i
])
...
...
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