Skip to content

Commit 81642d5

Browse files
committed
Skip preemtion tests for win mac
1 parent 452acbd commit 81642d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/python_tests/continuous_batching/test_preemption.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# Copyright (C) 2018-2024 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4+
import sys
45
import pytest
5-
from dataclasses import dataclass
6-
from typing import List
76

87
from common import get_model_and_tokenizer, save_ov_model_from_optimum, generate_and_compare_with_reference_text, \
98
DEFAULT_SCHEDULER_CONFIG, get_scheduler_config, run_test_pipeline, get_models_list, get_beam_search, get_greedy, \
@@ -36,6 +35,7 @@ def test_preemption(tmp_path, params):
3635
# todo: Anastasiia Pnevskaya: fix the test because it is hanging according max_new_tokens = std::numeric_limits<std::size_t>::max()
3736
@pytest.mark.parametrize("dynamic_split_fuse", [True, False])
3837
@pytest.mark.precommit
38+
@pytest.mark.xfail(raises=AssertionError, condition=sys.platform in ["win32", "darwin"])
3939
def test_preemption_with_multinomial(tmp_path, dynamic_split_fuse):
4040
generation_configs = multinomial_params.generation_config
4141
for config in generation_configs:

0 commit comments

Comments
 (0)