Light-the-torch

Latest version: v0.8.0

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

0.4.0

Not secure
As noted in 40, the supported `pip` versions before this release were quite outdated. A major blocker was the dependency resolver that `pip==21` introduced. It changed a lot of the internals that we relied on. Thus, we needed to completely overhaul the project.

And we did in 60 :tada: As a result, we now support every `pip` version starting from `22` with a few exceptions. Of course, given that we need to rely on `pip` internals without any BC guarantees, there will be some breakages in future version. But we are confident, that the changes that needed to happen in `light-the-torch` should be small.

In the process of rewriting, we also added support for other PyTorch distributions to be installed through `light-the-torch`. Before it could only handle

- `torch`
- `torchvision`
- `torchtext`
- `torchaudio`

but now in addition we support:

- `torch`
- `torch_model_archiver`
- `torch_tb_profiler`
- `torcharrow`
- `torchcsprng`
- `torchdata`
- `torchdistx`
- `torchserve`

Unfortunately, overhauling the project also brings some BC breaking changes. Namely, `ltt extract` and `ltt find` and their API counterparts `light_the_torch.extract_dists` and `light_the_torch.find_links` were removed. This processing in stages, i.e. extracting the PyTorch distributions from the installation command, finding the correct link for them and only then installing them in a subsequent command is no longer possible with the new `pip` dependency resolver.

Shout out to our contributors: pmeier tonyfast jamesobutler

0.4.0rc7

Not secure
Adds the following PyTorch distributions to be patched by `light-the-torch`:

- `torch_model_archiver`
- `torch_tb_profiler`
- `torcharrow`
- `torchcsprng`
- `torchdata`
- `torchdistx`
- `torchserve`

0.4.0rc6

Not secure
- add naive torch install test (58)
- use extra index rathe than find links for link patching (59)

If you want to install this version of `light-the-torch`, use `pip install --pre light-the-torch`.

0.4.0rc5

Not secure
- relax ROCm deselection even further (57)

If you want to install this version of `light-the-torch`, use `pip install --pre light-the-torch`.

0.4.0rc4

Not secure
- fix ROCm deselection (56)

If you want to install this version of `light-the-torch`, use `pip install --pre light-the-torch`.

0.4.0rc3

Not secure
- disable ROCm wheels (54)

If you want to install this version of `light-the-torch`, use `pip install --pre light-the-torch`.

Page 3 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.