Skip to content

Commit

Permalink
Skip exllamav2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
isamu-isozaki committed Aug 20, 2024
1 parent 8d1fca6 commit 09e4843
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ test = [
"torch",
"transformers",
"pillow",
"exllamav2@git+https://github.com/lapp0/exllamav2.git#egg=sampler-logits-processor",
"exllamav2",
]
serve = [
"vllm>=0.3.0",
Expand Down
8 changes: 5 additions & 3 deletions tests/generate/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ def pytest_collection_modifyitems(config, items):
for item in items:
if "model_fixture" in item.fixturenames:
model_param = item.callspec.params.get("model_fixture", None)
if model_param.startswith(
"model_transformers_vision"
) or model_param.startswith("model_vllm"):
if (
model_param.startswith("model_transformers_vision")
or model_param.startswith("model_vllm")
or model_param.startswith("model_exllamav2")
):
item.add_marker(skip_marker)

if not is_metal_available():
Expand Down

0 comments on commit 09e4843

Please sign in to comment.