Michael Suo
6bce0f4ace
[ci] remove PR_LABELS env var
...
This is unused, delete it
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79507
Approved by: https://github.com/janeyx99
2022-06-14 16:16:37 +00:00
Michael Suo
c978b609f7
[ci] remove IN_CI env var
...
The conventional env var to set is CI. Both circle and GHA set it, so
IN_CI is unnecessary
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79229
Approved by: https://github.com/janeyx99
2022-06-11 17:16:30 +00:00
Michael Suo
0117fb7600
[ci] remove IS_GHA env var
...
This is unnecessary, GitHub automatically populates a `GITHUB_ACTION`
env var:
https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
For docker, this env var is automatically propagated through our use of `--env-file`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79219
Approved by: https://github.com/seemethere
2022-06-10 15:29:20 +00:00
PyTorch MergeBot
338bfe6315
Revert "[ci] remove IS_GHA env var"
...
This reverts commit 1a2d95c68a .
Reverted https://github.com/pytorch/pytorch/pull/79219 on behalf of https://github.com/malfet due to Broke binary jobs see 1a2d95c68a
2022-06-10 00:05:40 +00:00
Michael Suo
1a2d95c68a
[ci] remove IS_GHA env var
...
This is unnecessary, GitHub automatically populates a `GITHUB_ACTION`
env var:
https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
For docker, this env var is automatically propagated through our use of `--env-file`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79219
Approved by: https://github.com/kit1980 , https://github.com/malfet , https://github.com/seemethere
2022-06-09 23:32:25 +00:00
Jane Xu
1bc8c87322
[CI] Turn flaky test signal to green ( #79220 )
...
This implements the RFC #73573
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79220
Approved by: https://github.com/suo
2022-06-09 22:27:15 +00:00
Eli Uriegas
13dcba8c07
ci: Remove runAttempt from s3 artifact upload
...
Reverts functionality to include the runAttempt in the artifact upload
prefix. This has proven to make it impossible to actually re-run tests
as test re-runs will try to pull from a prefix which doesn't actually
include artifacts
Signed-off-by: Eli Uriegas <eliuriegasfb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/78184
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
Approved by: https://github.com/malfet
2022-05-24 19:12:04 +00:00
atalman
31a6e6cabc
Remove cuda 11.5 builds since we have 11.6
...
CUDA 11.5 was experimental, but now that we are moving to 11.6, we don't need to keep 11.5 around.
Please note following PR's where merged for domain libraries
[vision](https://github.com/pytorch/vision/pull/5862 )
[audio](https://github.com/pytorch/audio/pull/2346 )
Pull Request resolved: https://github.com/pytorch/pytorch/pull/76257
Approved by: https://github.com/seemethere , https://github.com/malfet
2022-04-23 00:24:58 +00:00
PyTorch MergeBot
1118b157bc
Revert "Remove 11.5 experimental builds now that we have 11.6"
...
This reverts commit 5d059d20ad .
Reverted https://github.com/pytorch/pytorch/pull/75749 on behalf of https://github.com/janeyx99
2022-04-14 00:54:22 +00:00
Jane Xu
5d059d20ad
Remove 11.5 experimental builds now that we have 11.6
...
CUDA 11.5 was experimental, but now that we are hoping to jump to 11.6, we don't need to keep 11.5 around.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/75749
Approved by: https://github.com/seemethere
2022-04-13 20:28:52 +00:00
Michael Suo
e580db0588
[ci] fix codegen lint
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/75600
Approved by: https://github.com/janeyx99 , https://github.com/seemethere , https://github.com/malfet
2022-04-11 17:15:47 +00:00
Yi Zhang
a68b1f388f
ignore exception in Add-MpPreference
...
Fix #75482
There are several random exceptions of adding exclusions in Windows Defender https://github.com/pytorch/pytorch/runs/5953410781?check_suite_focus=true
It looks that the Add/Set-MpPreference(added in #75313 ) might be unstable.
Since it is a defensive step, the exception could be ignored so that the workflow should continue even the command fails.
reference:
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7.2
verification:
In the test PR https://github.com/pytorch/pytorch/runs/5966277521?check_suite_focus=true#step:3:54
it tries to delete 2 non-existing processes, but the workflow can continue run.
`-ErrorAction Ignore` works in the runner.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/75588
Approved by: https://github.com/suo
2022-04-11 16:28:17 +00:00
Andrey Talman
e7f4f5dd9b
CUDA 11.6 workflows ( #75518 )
...
Summary:
Adding CUDA 11.6 workflows .
Please note we still depend on conda-forge for cuda 11.6.
Issue created to remove conda-forge dependency: [75532](https://github.com/pytorch/pytorch/issues/75532 )
Pull Request resolved: https://github.com/pytorch/pytorch/pull/75518
Reviewed By: janeyx99
Differential Revision: D35516057
Pulled By: atalman
fbshipit-source-id: 44a3a0f8954d98adca2280b2e9f203267ebe98cd
(cherry picked from commit 97a4e52ecee8540453e2871714275796dc1c4abb)
2022-04-11 14:05:41 +00:00
Yi Zhang
936e7eabca
add pytorch directory into Exclusions of Windows Defender
...
There's still [mt.exe exception in nightly CI](https://github.com/pytorch/pytorch/runs/5783636743?check_suite_focus=true#step:11:7204 )
It looks that issue #66278 hasn't been resolved.
It might have something with windows defender.
So, we could try adding the pytorch directory into Windows defender exclusions and see the data in the next weeks.
verification link:
https://github.com/pytorch/pytorch/runs/5854202308?check_suite_focus=true#step:3:55
Pull Request resolved: https://github.com/pytorch/pytorch/pull/75313
Approved by: https://github.com/malfet
2022-04-06 17:32:51 +00:00
Eli Uriegas
2ecc59086a
.github: Update s3 actions to include runAttempt
...
Updates our s3 actions to upload and download artifacts to versions that
include runAttempt in the prefix for the artifact. This change is mostly
to make it so that subsequent re-runs of a workflow do not attempt to
grab artifacts from previous runs
Coincides with:
* https://github.com/seemethere/upload-artifact-s3/pull/4
* https://github.com/seemethere/download-artifact-s3/pull/1
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74576
Approved by: https://github.com/malfet , https://github.com/janeyx99
2022-04-05 18:15:47 +00:00
Catherine Lee
7ab482f2df
check if owner is pytorch in jobs
...
Fixes #72661
Adds check that pytorch is repo owner to jobs. Ran `.github/regenerate.sh` to regenerate workflows.
Also removed `+` from various places to make jinja2 happy (doesn't seem to change anything about the generated workflows). Added them back in b/c I was using the wrong version of jinja2
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74191
Approved by: https://github.com/seemethere , https://github.com/janeyx99
2022-03-15 15:55:55 +00:00
Nirav Mehta
420385eb60
Adding a step to start docker if it is not running.
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73987
Approved by: https://github.com/janeyx99
2022-03-10 18:15:49 +00:00
Nikita Shulga
3c82e422d9
Print system info as part of EC2 info step
...
Makes it easier to debug regressions reported in https://github.com/pytorch/pytorch/issues/71878
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71891
Approved by: https://github.com/seemethere , https://github.com/janeyx99
2022-03-09 14:31:54 +00:00
Eli Uriegas
07410207c4
ci: Enable long paths for windows
...
Should resolve issues we were seeing with binary builds
Signed-off-by: Eli Uriegas <eliuriegasfb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73856
Approved by: https://github.com/malfet , https://github.com/atalman
2022-03-07 19:37:46 +00:00
Nikita Shulga
9929a9fc8f
[GHA] Migrate win/linux binary-smoke workflows from CircleCI
...
Partially fixes https://github.com/pytorch/pytorch/issues/72956
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73788
Approved by: https://github.com/seemethere
2022-03-07 15:22:23 +00:00
PyTorch MergeBot
ea698c148a
Revert "[GHA] Migrate win/linux binary-smoke workflows from CircleCI"
...
This reverts commit 486bd9f306 .
Reverted https://github.com/pytorch/pytorch/pull/73788 on behalf of https://github.com/malfet
2022-03-06 19:07:04 +00:00
Nikita Shulga
486bd9f306
[GHA] Migrate win/linux binary-smoke workflows from CircleCI
...
Partially fixes https://github.com/pytorch/pytorch/issues/72956
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73788
Approved by: https://github.com/seemethere
2022-03-06 17:08:08 +00:00