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
Copy file name to clipboardexpand all lines: README.md
+8-2
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,18 @@ Some testcases in the PyTorch test suite are automatically generated when a modu
12
12
13
13
## How do I install it?
14
14
15
-
Installing `pytest-pytorch`is as easy as
15
+
You can install `pytest-pytorch`with `pip`
16
16
17
-
```
17
+
```shell
18
18
$ pip install pytest-pytorch
19
19
```
20
20
21
+
or with `conda`:
22
+
23
+
```shell
24
+
$ conda install -c conda-forge pytest-pytorch
25
+
```
26
+
21
27
## How do I use it?
22
28
23
29
With `pytest-pytorch` installed you can select test cases and tests as if the instantiation for different devices was performed by [`@pytest.mark.parametrize`](https://docs.pytest.org/en/stable/example/parametrize.html#different-options-for-test-ids):
0 commit comments