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
3b752a65
Unverified
Commit
3b752a65
authored
Jun 28, 2024
by
Cyrus Leung
Committed by
GitHub
Jun 28, 2024
Browse files
[CI/Build] [2/3] Reorganize entrypoints tests (#5904)
parent
ec1ad004
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
653 additions
and
598 deletions
+653
-598
tests/entrypoints/test_llm_generate_multiple_loras.py
tests/entrypoints/test_llm_generate_multiple_loras.py
+1
-1
tests/entrypoints/test_openai_chat.py
tests/entrypoints/test_openai_chat.py
+1
-1
tests/entrypoints/test_openai_completion.py
tests/entrypoints/test_openai_completion.py
+650
-0
tests/entrypoints/test_openai_server.py
tests/entrypoints/test_openai_server.py
+1
-596
No files found.
tests/entrypoints/test_llm_generate_multiple_loras.py
View file @
3b752a65
...
@@ -44,7 +44,7 @@ def llm():
...
@@ -44,7 +44,7 @@ def llm():
cleanup
()
cleanup
()
@
pytest
.
fixture
(
scope
=
"
session
"
)
@
pytest
.
fixture
(
scope
=
"
module
"
)
def
zephyr_lora_files
():
def
zephyr_lora_files
():
return
snapshot_download
(
repo_id
=
LORA_NAME
)
return
snapshot_download
(
repo_id
=
LORA_NAME
)
...
...
tests/entrypoints/test_openai_chat.py
View file @
3b752a65
...
@@ -72,7 +72,7 @@ TEST_CHOICE = [
...
@@ -72,7 +72,7 @@ TEST_CHOICE = [
pytestmark
=
pytest
.
mark
.
openai
pytestmark
=
pytest
.
mark
.
openai
@
pytest
.
fixture
(
scope
=
"
session
"
)
@
pytest
.
fixture
(
scope
=
"
module
"
)
def
zephyr_lora_files
():
def
zephyr_lora_files
():
return
snapshot_download
(
repo_id
=
LORA_NAME
)
return
snapshot_download
(
repo_id
=
LORA_NAME
)
...
...
tests/entrypoints/test_openai_completion.py
0 → 100644
View file @
3b752a65
This diff is collapsed.
Click to expand it.
tests/entrypoints/test_openai_server.py
View file @
3b752a65
This diff is collapsed.
Click to expand it.
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