Skip to content

Commit

Permalink
test template
Browse files Browse the repository at this point in the history
  • Loading branch information
adobrzyniewicz-habana committed Aug 14, 2024
1 parent 506e026 commit a9e3dfa
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cpu-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ jobs:
- name: cpu-test
run: |
VLLM_SKIP_WARMUP=true VLLM_PROMPT_SEQ_BUCKET_MAX=128 python examples/offline_inference_fakehpu.py
- name: pytest-test
run: |
pytest tests/hpu/
8 changes: 8 additions & 0 deletions tests/hpu/test_habana_attention.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import vllm.attention.backends.habana_attn
import vllm.attention.ops.habana_paged_attn

def test_habana_attn():
assert True == True

def test_habana_paged_attn():
assert True == True
8 changes: 8 additions & 0 deletions tests/hpu/test_habana_executor.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from vllm.executor.habana_executor import HabanaExecutor
from vllm.executor.ray_habana_executor import RayHabanaExecutor

def test_habana_executor():
assert True == True

def test_ray_habana_executor():
assert True == True
8 changes: 8 additions & 0 deletions tests/hpu/test_habana_worker.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from vllm.worker.habana_model_runner import HabanaModelRunner
from vllm.worker.habana_worker import HabanaWorker

def test_habana_worker():
assert True == True

def test_habana_model_runner():
assert True == True

0 comments on commit a9e3dfa

Please sign in to comment.