File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,9 @@ jobs:
127
127
pytest -sv tests/singlecard/test_scheduler.py
128
128
# guided decoding doesn't work, fix it later
129
129
# pytest -sv tests/singlecard/test_guided_decoding.py.py
130
- pytest -sv tests/singlecard/ --ignore=tests/singlecard/test_offline_inference.py --ignore=tests/singlecard/test_scheduler.py --ignore=tests/singlecard/test_guided_decoding.py
130
+ pytest -sv tests/singlecard/test_camem.py
131
+ pytest -sv tests/singlecard/test_ilama_lora.py
132
+ pytest -sv tests/singlecard/test_pyhccl.py
131
133
else
132
134
pytest -sv tests/multicard/test_ilama_lora_tp2.py
133
135
# Fixme: run VLLM_USE_MODELSCOPE=True pytest -sv tests/multicard/test_offline_inference_distributed.py will raise error.
Original file line number Diff line number Diff line change 16
16
# See the License for the specific language governing permissions and
17
17
# limitations under the License.
18
18
#
19
+ import os
20
+
19
21
import pytest
20
22
import torch
21
23
from vllm import LLM , SamplingParams
24
26
from tests .utils import fork_new_process_for_each_test
25
27
from vllm_ascend .device_allocator .camem import CaMemAllocator
26
28
29
+ if os .getenv ("VLLM_USE_V1" ) == "1" :
30
+ pytest .skip ("Skip in vllm v1" , allow_module_level = True )
31
+
27
32
33
+ @fork_new_process_for_each_test
28
34
def test_basic_camem ():
29
35
# some tensors from default memory pool
30
36
shape = (1024 , 1024 )
@@ -57,7 +63,6 @@ def test_basic_camem():
57
63
assert torch .allclose (output , torch .ones_like (output ) * 3 )
58
64
59
65
60
- @pytest .mark .skipif (True , reason = "test failed, should be fixed later" )
61
66
@fork_new_process_for_each_test
62
67
def test_end_to_end ():
63
68
free , total = torch .npu .mem_get_info ()
You can’t perform that action at this time.
0 commit comments