Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: delay RollPyTorch action by 1 hour to use latest torchvision package #1603

Merged
merged 1 commit into from
Nov 23, 2022
Merged

ci: delay RollPyTorch action by 1 hour to use latest torchvision package #1603

merged 1 commit into from
Nov 23, 2022

Conversation

ashay
Copy link
Collaborator

@ashay ashay commented Nov 16, 2022

The upload timestamp of the nightly torchvision package has drifted
beyond the scheduled time of the RollPyTorch action because of the time
change due to daylight saving. As a result, the RollPyTorch action now
picks the torchvision package from a day earlier instead of the most
recent package.

This patch schedules the RollPyTorch action to start one hour later than
before so that it continues to pick the most recent nightly package.


For instance, here is the list of upload timestamps over the last
fifteen days:

$ for i in {1..16}; do fi=$(printf "%02d" "${i}"); curl -sI https://download.pytorch.org/whl/nightly/torchvision-0.15.0.dev202211${fi}-cp310-cp310-macosx_10_9_x86_64.whl | grep last-modified; done
last-modified: Tue, 01 Nov 2022 11:44:46 GMT
last-modified: Wed, 02 Nov 2022 11:41:30 GMT
last-modified: Thu, 03 Nov 2022 11:37:24 GMT
last-modified: Fri, 04 Nov 2022 11:38:58 GMT
last-modified: Sat, 05 Nov 2022 11:46:48 GMT
last-modified: Sun, 06 Nov 2022 12:38:20 GMT   <-- Time change happened here
last-modified: Mon, 07 Nov 2022 12:38:48 GMT
last-modified: Tue, 08 Nov 2022 12:38:10 GMT
last-modified: Wed, 09 Nov 2022 12:38:55 GMT
last-modified: Thu, 10 Nov 2022 12:38:47 GMT
last-modified: Fri, 11 Nov 2022 12:38:56 GMT
last-modified: Sat, 12 Nov 2022 12:39:22 GMT
last-modified: Sun, 13 Nov 2022 12:38:35 GMT
last-modified: Mon, 14 Nov 2022 12:36:41 GMT
last-modified: Tue, 15 Nov 2022 12:39:28 GMT
last-modified: Wed, 16 Nov 2022 12:39:14 GMT

The upload timestamp of the nightly torchvision package has drifted
beyond the scheduled time of the RollPyTorch action because of the time
change due to daylight saving.  As a result, the RollPyTorch action now
picks the torchvision package from a day earlier instead of the most
recent package.

This patch schedules the RollPyTorch action to start one hour later than
before so that it continues to pick the most recent nightly package.
@ashay ashay requested a review from powderluv November 16, 2022 23:37
@ashay ashay merged commit 4eead74 into llvm:main Nov 23, 2022
@ashay ashay deleted the ashay/update-rollpytorch-schedule branch November 23, 2022 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant