Open vricosti opened 1 year ago
Same on win11. Any solutions here?
Same on win11. Any solutions here?
Solution for me was to clone the repo and enter pip install .
Currently in we only support Linux. Any MacOS or Windows support that people stumble upon is accidental
From another issue, may be of interest here:
I was able to do the build from source and make it work on Mac. The library loads up. So it's not wrong. It appears to work if we just follow the build instructions.
I appreciate the time you put into this. Thank you!
Originally posted by @RichardKatz in https://github.com/openai/triton/issues/1057#issuecomment-1500681027
Note that we have long-term plan to have Triton also work on Mac with Apple GPUs, but this will take time to materialize. But when the time comes, MacOS will be added as a supported platform.
Originally posted by @ptillet in https://github.com/openai/triton/issues/1057#issuecomment-1500691831
On my MacBook Pro 2019 (intel), I followed the install instructions from here (along with a little extra to setup a conda environment to do it in):
As follows:
⇒ conda create -n textgen_py3_9_16 python=3.9.16
# ..snip..
⇒ conda activate textgen_py3_9_16
# ..snip..
⇒ git clone git@github.com:openai/triton.git
# ..snip..
⇒ cd triton/python
# ..snip..
⇒ pip install cmake
# ..snip..
⇒ pip install -e .
Obtaining file:///Users/devalias/dev/AI/text-generation-webui/repositories/triton/python
Preparing metadata (setup.py) ... done
Requirement already satisfied: filelock in /Users/devalias/.pyenv/versions/miniconda3-latest/envs/textgen_py3_9_16/lib/python3.9/site-packages (from triton==2.1.0) (3.11.0)
Installing collected packages: triton
Running setup.py develop for triton
Successfully installed triton-2.1.0
Anyone tried install for M2 Max (apple silicon)? I got to know this project through flash attention paper and pytorch 2.0. I will try it on mine and maybe post something if i run into issues.
Any update on Triton for macOS?
Any update on Triton for macOS?
Check here https://github.com/triton-lang/triton/issues/3443
Hi,
python --version Python 3.10.10 (brew install python@3.10) pip --version pip 23.0.1 from /usr/local/lib/python3.10/site-packages/pip (python 3.10)
pip install triton ERROR: Could not find a version that satisfies the requirement triton (from versions: none) ERROR: No matching distribution found for triton