tox-ltt

Install PyTorch distributions with light-the-torch


Keywords
light-the-torch, pytorch, cuda, pip, install, tox, plugin
License
BSD-3-Clause
Install
pip install tox-ltt==0.4.2

Documentation

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