Skip to content

pmeier/tox-ltt

Repository files navigation

tox-ltt

package
code
tests

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