[Bugfix] Fix XPU/ROCm compatibility in spawn_new_process_for_each_test (#41895)
Signed-off-by: dqzhengAP <dqzheng1996@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@ import openai
|
|||||||
import pytest
|
import pytest
|
||||||
import pytest_asyncio
|
import pytest_asyncio
|
||||||
|
|
||||||
from tests.utils import RemoteOpenAIServerCustom, create_new_process_for_each_test
|
from tests.utils import RemoteOpenAIServerCustom
|
||||||
from tests.v1.logits_processors.utils import (
|
from tests.v1.logits_processors.utils import (
|
||||||
DUMMY_LOGITPROC_ARG,
|
DUMMY_LOGITPROC_ARG,
|
||||||
DUMMY_LOGITPROC_FQCN,
|
DUMMY_LOGITPROC_FQCN,
|
||||||
@@ -119,7 +119,7 @@ api_keyword_args = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@create_new_process_for_each_test()
|
@pytest.mark.asyncio
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"model_name",
|
"model_name",
|
||||||
[MODEL_NAME],
|
[MODEL_NAME],
|
||||||
|
|||||||
Reference in New Issue
Block a user