Skip to content

Commit

Permalink
Update README.md (#366)
Browse files Browse the repository at this point in the history
* Update README.md

* Update README.md
  • Loading branch information
arogozhnikov authored Feb 9, 2025
1 parent ad2c8d6 commit 2d12427
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,15 +327,14 @@ Devcontainer is provided, this environment can be used locally, or on your serve
or within github codespaces.
To start with devcontainers in vs code, clone repo, and click 'Reopen in Devcontainer'.

Starting from the next version, einops will distribute tests as a part of package.
To run tests:
Starting from einops 0.8.1, einops distributes tests as a part of package.

```bash
# pip install einops
# pip install einops pytest
python -m einops.tests.run_tests numpy pytorch jax --pip-install
```

`numpy pytorch jax` is an example, any subset of testable frameworks can be provided.
`numpy pytorch jax` is an _example_, any subset of testable frameworks can be provided.
Every framework is tested against numpy, so it is a requirement for tests.

Specifying `--pip-install` will install requirements in current virtualenv,
Expand Down

0 comments on commit 2d12427

Please sign in to comment.