arogozhnikov / einops

Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)
https://einops.rocks
MIT License
8.41k stars 350 forks source link

[BUG] Please explain in the README how to run tests #267

Closed yurivict closed 1 year ago

yurivict commented 1 year ago

Describe the bug Tests fail with:

E RuntimeError: Testing frameworks were not specified, flag EINOPS_TEST_BACKENDS not set

However, it isn't obvious what value is expected for EINOPS_TEST_BACKENDS.

Reproduction steps Regular tests.

Your platform Version of einops, python and DL package that you used einops-0.6.1 Pythjon-3.9 FreeBSD 13.2

arogozhnikov commented 1 year ago

Hi @yurivict, test.py is self-describing:

https://github.com/arogozhnikov/einops/blob/master/test.py#L47-L51

No need to place this in the readme.