From 63cd5d7e2743bbbe86cc333adc6bc834228daef3 Mon Sep 17 00:00:00 2001 From: Bin Bao Date: Wed, 2 Nov 2022 15:10:37 +0000 Subject: [PATCH] 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 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 21745f42a88..45dfeb8cda2 100644 --- a/Makefile +++ b/Makefile @@ -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"