Installing Triton 3.0.0
Published:
As of June 13 2024, to get Triton 3.0 you have to install it from source, like so:
- Uninstall your current Triton version
pip uninstall triton
- Clone the Triton repo
git clone https://github.com/triton-lang/triton.git
- Install dependencies
cd triton pip install ninja cmake wheel # build-time dependencies pip install -e python # takes a couple of minutes
- Run setup
If you don’t plan to change the Triton source code:
cd python
python setup.py install
If you plan to change the Triton source code:
cd python
python setup.py develop
Hope I saved you some hassle & time.
- Umer