Skip to content
/ tox-ltt Public

Install PyTorch distributions with light-the-torch

License

Notifications You must be signed in to change notification settings

pmeier/tox-ltt

Repository files navigation

tox-ltt

package License Project Status: WIP
code black mypy Lint status via GitHub Actions
tests Test status via GitHub Actions Test coverage via codecov.io

tox plugin for light-the-torch .

$ pip install tox tox-ltt
$ tox --help-ini
disable_light_the_torch <bool>   default: False
disable installing PyTorch distributions with light-the-torch

force_cpu       <bool>   default: False
force CPU as computation backend
[...]

Note

If you have access to tox>=3.2 you can use tox-ltt with the requires keyword:

[tox]
requires =
  tox-ltt

[textenv]
disable_light_the_torch = False
force_cpu = False