mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[dynamo][dashboard] fix triton clone step in dashboard (#96623)
previously this would clone triton, and then try to checkout without being in the git repo directory. This wasn't usually a problem because the environment already had a triton repo downloaded; but I ran into this while trying to construct a new environment. Pull Request resolved: https://github.com/pytorch/pytorch/pull/96623 Approved by: https://github.com/anijain2305
This commit is contained in:
parent
4a90aca60d
commit
a4c706bcbc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user