> For the complete documentation index, see [llms.txt](https://vigil.deadbits.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vigil.deadbits.ai/overview/install-vigil/install-pytorch-optional.md).

# Install PyTorch (optional)

I**nstall PyTorch (optional)**

PyTorch is required to run the `transformer` scanner.

If you do not install PyTorch, remove the `transformer` scanner from `input_scanners` field of the configuration file.

Use the [selector on Pytorch's website](https://pytorch.org/get-started/locally/) to enter your system details and get the proper download link or for a quick start using CPU only, you can run:

```
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
```
