Skip to content

Commit a63b6fa

Browse files
authored
Add installation instructions for conda (#18)
1 parent 74e9344 commit a63b6fa

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,18 @@ Some testcases in the PyTorch test suite are automatically generated when a modu
1212

1313
## How do I install it?
1414

15-
Installing `pytest-pytorch` is as easy as
15+
You can install `pytest-pytorch` with `pip`
1616

17-
```
17+
```shell
1818
$ pip install pytest-pytorch
1919
```
2020

21+
or with `conda`:
22+
23+
```shell
24+
$ conda install -c conda-forge pytest-pytorch
25+
```
26+
2127
## How do I use it?
2228

2329
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

Comments
 (0)