Add a shortcut in Makefile for updating triton (#88318)

Summary: Local triton installation needs to be updated after we migrate
to a newer version of triton, e.g.
https://github.com/pytorch/pytorch/pull/88242. The Makefile shortcut
makes that easier.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/88318
Approved by: https://github.com/ezyang
This commit is contained in:
Bin Bao
2022-11-02 15:10:37 +00:00
committed by PyTorch MergeBot
parent f884e817d4
commit 63cd5d7e27

View File

@ -31,3 +31,7 @@ lint:
quicklint:
lintrunner
triton:
$(PIP) uninstall -y triton
$(PIP) install -U "git+https://github.com/openai/triton@$(shell cat .github/ci_commit_pins/triton.txt)#subdirectory=python"