You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`core_model`| Core model tests (run in each PR) |
11
+
|`diffusion`| Diffusion model tests |
12
+
|`omni`| Omni model tests |
13
+
|`cache`| Cache backend tests |
14
+
|`parallel`| Parallelism/distributed tests |
15
+
|`cpu`| Tests that run on CPU |
16
+
|`gpu`| Tests that run on GPU * |
17
+
|`cuda`| Tests that run on CUDA * |
18
+
|`rocm`| Tests that run on AMD/ROCm * |
19
+
|`npu`| Tests that run on NPU/Ascend * |
20
+
|`H100`| Tests that require H100 GPU * |
21
+
|`L4`| Tests that require L4 GPU * |
22
+
|`MI325`| Tests that require MI325 GPU (AMD/ROCm) * |
23
+
|`A2`| Tests that require A2 NPU * |
24
+
|`A3`| Tests that require A3 NPU * |
25
+
|`distributed_cuda`| Tests that require multi cards on CUDA platform * |
26
+
|`distributed_rocm`| Tests that require multi cards on ROCm platform * |
27
+
|`distributed_npu`| Tests that require multi cards on NPU platform * |
28
+
|`skipif_cuda`| Skip if the num of CUDA cards is less than the required * |
29
+
|`skipif_rocm`| Skip if the num of ROCm cards is less than the required * |
30
+
|`skipif_npu`| Skip if the num of NPU cards is less than the required * |
31
+
|`slow`| Slow tests (may skip in quick CI) |
32
+
|`benchmark`| Benchmark tests |
33
+
34
+
\* Means those markers are auto-added, and they will be added by the `@hardware_test` decorator.
35
35
36
36
### Example usage for markers
37
37
@@ -71,10 +71,7 @@ This decorator is intended to make hardware-aware, cross-platform test authoring
71
71
Support for `skipif_rocm` and `skipif_npu` will be implemented later.
72
72
73
73
74
-
5.**Runs each test in a new process**
75
-
Automatically wraps the distributed test with a decorator (`@create_new_process_for_each_test`) to ensure isolation and compatibility with multi-process hardware backends.
76
-
77
-
6.**Works with pytest filtering**
74
+
5.**Works with pytest filtering**
78
75
Allows tests to be filtered and selected at runtime using standard pytest marker expressions (e.g., `-m "distributed_cuda and L4"`).
79
76
80
77
#### Example usage for decorator
@@ -94,7 +91,6 @@ This decorator is intended to make hardware-aware, cross-platform test authoring
94
91
```
95
92
-`res` must be a dict; supported resources: CUDA (L4/H100), ROCm (MI325), NPU (A2/A3)
96
93
-`num_cards` can be int (all platforms) ordict (per platform); defaults to 1 when missing
0 commit comments