Skip to content
Merged
Changes from all commits
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
17 changes: 0 additions & 17 deletions tests/examples/llm_eval/test_llm_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,3 @@ def test_llama_eval_fp8():
finally:
# Force kill llm-serve if it's still running
subprocess.run(["pkill", "-f", "llm-serve"], check=False)


def test_llama_eval_sparse_attention(tiny_llama_path):
"""Test sparse attention with llm_eval integration."""
try:
# Test with default sparse attention config (no quantization)
run_llm_ptq_command(
model=tiny_llama_path,
quant="none", # No quantization, only sparse attention
tasks="lm_eval",
lm_eval_tasks="hellaswag",
lm_eval_limit=0.05, # Small limit for fast test
sparse_cfg="SKIP_SOFTMAX_DEFAULT",
batch=4,
)
finally:
subprocess.run(["pkill", "-f", "llm-serve"], check=False)