Skip to content

Installation

Requirements

OptiPFair requires:

  • Python 3.8 or higher
  • PyTorch 1.10.0 or higher
  • Transformers 4.25.0 or higher

Installing from PyPI

pip install optipfair

Installing from Source

You can install the latest development version from GitHub:

git clone https://github.com/yourusername/optipfair.git
cd optipfair
pip install -e .

OptiPFair will automatically use available GPUs when loading and processing models.