diff --git a/benchmarks/dynamo/Makefile b/benchmarks/dynamo/Makefile index f0c57451407..14799477d07 100644 --- a/benchmarks/dynamo/Makefile +++ b/benchmarks/dynamo/Makefile @@ -10,7 +10,7 @@ clone-deps: && (test -e torchaudio || git clone --recursive https://github.com/pytorch/audio torchaudio) \ && (test -e detectron2 || git clone --recursive https://github.com/facebookresearch/detectron2) \ && (test -e torchbenchmark || git clone --recursive https://github.com/pytorch/benchmark torchbenchmark) \ - && (test -e triton || (git clone --recursive https://github.com/openai/triton.git && git checkout $(TRITON_VERSION) && git submodule update --init --recursive)) \ + && (test -e triton || (git clone --recursive https://github.com/openai/triton.git && git -C triton checkout $(TRITON_VERSION) && git -C triton submodule update --init --recursive)) \ ) pull-deps: clone-deps