Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record config file name as test suite property #947

Merged
merged 7 commits into from
Dec 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Use test data file name as parameter ID
Signed-off-by: Domenic Barbuzzi <[email protected]>
dbarbuzzi committed Dec 2, 2024
commit 736889e73a5ccb9a1bd2903c55fe59ab30127e55
2 changes: 2 additions & 0 deletions tests/e2e/vLLM/test_vllm.py
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@

HF_MODEL_HUB_NAME = "nm-testing"
TEST_DATA_FILE = os.environ.get("TEST_DATA_FILE", None)
TEST_DATA_FILE_NAME = TEST_DATA_FILE.split("configs/")[-1]


# Will run each test case in its own process through run_tests.sh
@@ -73,6 +74,7 @@ def set_up(self):
]
self.api = HfApi()

@pytest.mark.parametrize("", "", ids=[TEST_DATA_FILE_NAME])
def test_vllm(self):
# Run vLLM with saved model
import torch