We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46bbe9f commit 2ff79e4Copy full SHA for 2ff79e4
tests/e2e/multicard/test_data_parallel.py
@@ -33,10 +33,10 @@
33
reason="Data parallel only support on v1")
34
@pytest.mark.parametrize("model", MODELS)
35
@pytest.mark.parametrize("max_tokens", [32])
36
+@patch.dict(os.environ, {"ASCEND_RT_VISIBLE_DEVICES": "0,1"})
37
def test_data_parallel_inference(model, max_tokens):
38
script = "examples/offline_data_parallel.py"
39
- os.environ["ASCEND_RT_VISIBLE_DEVICES"] = "0,1"
40
env = os.environ.copy()
41
42
cmd = [
0 commit comments