> For the complete documentation index, see [llms.txt](https://www.pytorchfi.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.pytorchfi.dev/setup.md).

# Setup

## Setting Up PyTorchFI

### Requirements for PyTorchFI

* Python >=3
* PyTorch >=1.0

### Installing PyTorchFI

#### Via Pip

Install using `pip install pytorchfi` . Then in your project source files:

```
import pytorchfi
```

#### From Source

Download the source code [here](https://github.com/pytorchfi/pytorchfi), and add the directory into the root of your project.

At the top of any file you wish to use PyTorchFI in, add

```
import pytorchfi
```

You will then be able to call the available functions from `pytorchfi`.
