Skip to content

Commit

Permalink
dino model change to support pytorch 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tulsishah committed Nov 22, 2023
1 parent 3a90f3b commit 770007f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions perfmetrics/scripts/ml_tests/pytorch/pytorch2/dino/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ WORKDIR "/pytorch_dino/"
RUN git clone "https://github.com/facebookresearch/dino"
WORKDIR "/pytorch_dino/dino"
# Apply changes to support pytorch 2.0 to model.
RUN echo '[remote "origin"]
> fetch = +refs/pull/262/head:refs/remotes/origin/pr/262' >> .git/config
RUN echo '[remote "origin"]' >> .git/config
RUN echo ' > fetch = +refs/pull/262/head:refs/remotes/origin/pr/262' >> .git/config

RUN git fetch origin
RUN git diff origin/main origin/pr/262 > diff.patch
RUN git apply diff.patch
Expand Down

0 comments on commit 770007f

Please sign in to comment.