Installation¶
Virtual environment¶
Tip
You will need an environment manager, and I cannot recommend enough uv.
Create a virtual environment with your prefered Python version (3.11 or higher is required to use TorchCAM):
System installation¶
You'll need Python 3.11 or higher, and a package installer like uv or pip.
Info
TorchCAM is built on top of PyTorch which is a complex dependency. Proper installation depends on your system and available hardware. You can refer to installation guide of uv which is quite detailed.