Commit Graph

122 Commits

Author SHA1 Message Date
Jeff Daily
2bb701eb9d add rocm GHA workflow (#68552)
Summary:
cc jeffdaily sunway513 jithunnair-amd ROCmSupport KyleCZH

Pull Request resolved: https://github.com/pytorch/pytorch/pull/68552

Reviewed By: bdhirsh

Differential Revision: D33569551

Pulled By: seemethere

fbshipit-source-id: cc7d68a22ad0eedd4d11eea3cf43a909e5b8616b
2022-01-19 12:14:57 -08:00
Eli Uriegas
598b55fd18 ci: Add PR trigger for binary builds workflows (#71431)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71431

Adds a PR trigger based on paths to the binary build workflows to make
it easier to test / verify changes to the binary build workflows without
adding a bunch of skipped checks to the majority of our workflows

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: atalman

Differential Revision: D33641276

Pulled By: seemethere

fbshipit-source-id: 0ed65cbcebf06dfe998f81d67df817250dd1a716
2022-01-18 13:18:13 -08:00
Wonjoo Lee
37eaf7640f Revert "Revert D33480077: .github: Re-enable xla test config" (#71202)
Summary:
This reverts commit 14922a136f.

Re-enable xla test config since PTXLA head is back to green -- https://app.circleci.com/pipelines/github/pytorch/xla.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/71202

Reviewed By: wenleix

Differential Revision: D33569109

Pulled By: seemethere

fbshipit-source-id: ee0985768d1dfaa6c28865ae5b3dbce2a4a340f7
2022-01-13 11:19:18 -08:00
Jane Xu
188b744390 Make docker build cron once a week and not every hour on Wed (#71255)
Summary:
The many times a day was probably not intentional

Pull Request resolved: https://github.com/pytorch/pytorch/pull/71255

Reviewed By: suo, atalman

Differential Revision: D33559155

Pulled By: janeyx99

fbshipit-source-id: c8703cea6f3188c9bcb0867b895261808d3164ee
2022-01-13 08:26:57 -08:00
Jane Xu
fd0d4bef03 Edit cron to make the docker jobs run hopefully (#71232)
Summary:
Our docker builds have not been running with our previous cron, changes this so it should work hopefully.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/71232

Reviewed By: ejguan

Differential Revision: D33552231

Pulled By: janeyx99

fbshipit-source-id: 1a3e1607b03d37614eedf04093d73f1b96698840
2022-01-12 11:37:03 -08:00
Michael Suo
14922a136f Revert D33480077: .github: Re-enable xla test config
Test Plan: revert-hammer

Differential Revision:
D33480077 (18e1e1d4d3)

Original commit changeset: a2e720c55d0e

Original Phabricator Diff: D33480077 (18e1e1d4d3)

fbshipit-source-id: e4e114a9a6d7940491ac0741e94f455a490f077a
2022-01-11 12:12:15 -08:00
Eli Uriegas
18e1e1d4d3 .github: Re-enable xla test config (#71008)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71008

This reverts commit 6f83841582.

Test Plan: Imported from OSS

Reviewed By: janeyx99

Differential Revision: D33480077

Pulled By: seemethere

fbshipit-source-id: a2e720c55d0e1995e2b6cf2da7c801f377d52b3f
2022-01-11 10:49:20 -08:00
Eli Uriegas
87484d67e3 .github: Enable linux binary builds (#68388)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/68388

Updates the gpu architectures as well as adding a trigger for
on_pull_request for the binary build workflows so that we can iterate on
this later

TODO:
* Create follow up PR to enable nightly linux GHA builds / disable CircleCI nighlty linux builds

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: janeyx99

Differential Revision: D33462294

Pulled By: seemethere

fbshipit-source-id: 5fa30517550d36f504b491cf6c1e5c9da56d8191
2022-01-10 11:30:45 -08:00
Peter Bell
4cbe140ec5 Add CI config to test USE_PER_OPERATOR_HEADERS=0 (#69907)
Summary:
The CMake build defaults to `USE_PER_OPERATOR_HEADERS = 1` which
generates extra headers in the `ATen/ops` folder that don't exist
otherwise. In particular, fb-internal builds using buck don't support
these headers and so all includes must be guarded with
`#ifdef AT_PER_OPERATOR_HEADERS`.

This adds a CI run which builds with `USE_PER_OPERATOR_HEADERS = 0` so
open source contributions don't have to wait for their PR to be
imported to find out it doesn't work in fb-internal. This flag
shouldn't effect runtime behavior though, so I don't run any tests.

cc seemethere malfet pytorch/pytorch-dev-infra

Pull Request resolved: https://github.com/pytorch/pytorch/pull/69907

Reviewed By: malfet, atalman

Differential Revision: D33411864

Pulled By: seemethere

fbshipit-source-id: 18b34d7a83dc81cf8a6c396ba8369e1789f936e9
2022-01-05 09:18:06 -08:00
Jithun Nair
8ba27c576c Upgrade CI to ROCm4.5.2 (#69886)
Summary:
cc jeffdaily sunway513 jithunnair-amd ROCmSupport KyleCZH

Pull Request resolved: https://github.com/pytorch/pytorch/pull/69886

Reviewed By: albanD, seemethere

Differential Revision: D33429299

Pulled By: malfet

fbshipit-source-id: c3d6d9e45e30d0149b04e59ea255d88bc0e933f2
2022-01-05 08:48:46 -08:00
Andrey Talman
066c9ff08f Deprecating python 3.6 (#70325)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/70457

Pull Request resolved: https://github.com/pytorch/pytorch/pull/70325

Reviewed By: seemethere

Differential Revision: D33339496

Pulled By: atalman

fbshipit-source-id: 7509cab4f7469dae234bcf3f79e0aabb54577b8a
2021-12-28 18:44:59 -08:00
Eli Uriegas
6f83841582 .github: Temporarily disable xla test config (#70453)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70453

Removes the current xla config, downstream `pytorch/xla` is broken for
clang compilation so temporarily removing this config until the xla team
can fix this upstream CI.

Context: https://github.com/pytorch/xla/pull/3255/files#r775980035

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: zengk95

Differential Revision: D33338463

Pulled By: seemethere

fbshipit-source-id: 1ef332c685d5e2cc7e2eb038e93bd656847fd099
2021-12-28 08:49:01 -08:00
zengk95
f36b44bb9e Remove ciflow_should_run job (#70204)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/66725

This removes the ci_flow_should_run job and puts it in the build stage for the different job templates.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/70204

Reviewed By: malfet

Differential Revision: D33282338

Pulled By: zengk95

fbshipit-source-id: 327ff2bca9720d2a69083594ada5c7788b65adbd
2021-12-22 11:52:42 -08:00
wushirong
31c7e5d629 Install TensorRT lib on oss docker and enable fx2trt unit test (#70203)
Summary:
CI

Lib installed and unit test run on https://github.com/pytorch/pytorch/actions/runs/1604076060

Pull Request resolved: https://github.com/pytorch/pytorch/pull/70203

Reviewed By: malfet

Differential Revision: D33264641

Pulled By: wushirong

fbshipit-source-id: ba30010bbd06e70d31415d8c52086d1779371bcf
2021-12-22 08:50:48 -08:00
Slava Kovalevskyi
e428a90553 Android build migrated to GHA. (#68843)
Summary:
All for builds of the Android (arm32/64 and x86_32/64) are not migrated to the GHA, away from circleCI. Since this part of the workflow creates final binary with all architectures in it, it was not possible to do migration step by step.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/68843

Reviewed By: malfet

Differential Revision: D33257480

Pulled By: b0noI

fbshipit-source-id: dd280c8268bdd31763754c36f38e4ea12b23cd2e
2021-12-21 10:02:51 -08:00
Michael Suo
19f898402d Revert D33241684: [pytorch][PR] Install TensorRT lib on oss docker and enable fx2trt unit test
Test Plan: revert-hammer

Differential Revision:
D33241684 (dab3d3132b)

Original commit changeset: cd498908b00f

Original Phabricator Diff: D33241684 (dab3d3132b)

fbshipit-source-id: d5b2e663b5b0c9e570bd799b9f6111cd2a0de4f7
2021-12-20 23:14:35 -08:00
wushirong
dab3d3132b Install TensorRT lib on oss docker and enable fx2trt unit test (#70203)
Summary:
CI

Lib installed and unit test run on https://github.com/pytorch/pytorch/actions/runs/1604076060

Pull Request resolved: https://github.com/pytorch/pytorch/pull/70203

Reviewed By: janeyx99

Differential Revision: D33241684

Pulled By: wushirong

fbshipit-source-id: cd498908b00f3417bdeb5ede78f5576b3b71087c
2021-12-20 18:51:48 -08:00
Thuyen Ngo
e35bf56461 [Bazel] Add CUDA build to CI (#66241)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/35316
On master, bazel cuda build is disabled due to lack of a proper `cu_library` rule. This PR:
- Add `rules_cuda` to the WORKSPACE and forward `cu_library` to `rules_cuda`.
- Use a simple local cuda and cudnn repositories (adopted from TRTorch) for cuda 11.3.
- Fix current broken cuda build.
- Enable cuda build in CI, not just for `:torch` target but all the test binaries to catch undefined symbols.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/66241

Reviewed By: ejguan

Differential Revision: D31544091

Pulled By: malfet

fbshipit-source-id: fd3c34d0e8f80fee06f015694a4c13a8e9e12206
2021-12-17 13:44:29 -08:00
Nikita Shulga
ad79d0dd4b Add ciflow/trunk label (#69575)
Summary:
Which includes all workflows but periodic ones

Pull Request resolved: https://github.com/pytorch/pytorch/pull/69575

Reviewed By: seemethere

Differential Revision: D32932850

Pulled By: malfet

fbshipit-source-id: 80b58fb3a0d5f8dbc527124be5bf25bd716448b8
2021-12-17 09:57:46 -08:00
Xida Chen
531da0c43b change asan test shard to 3 (#69843)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/68261

This PR changes the number of test shard from 2-->3 for all Asan test, aiming to improve the run time for Asan tests.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/69843

Reviewed By: janeyx99

Differential Revision: D33160771

Pulled By: xidachen

fbshipit-source-id: dba1d318cc49b923e18704839471d8753cc00eca
2021-12-16 07:22:03 -08:00
Andrey Talman
77a4b89411 Adding windows cuda 11.5 workflows (#69377)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/69081

Pull Request resolved: https://github.com/pytorch/pytorch/pull/69377

Reviewed By: ngimel

Differential Revision: D33076022

Pulled By: atalman

fbshipit-source-id: aeb2791fc15d7b491976f57a74c1989c6ca61b81
2021-12-13 20:49:02 -08:00
Andrey Talman
c309637923 Making cuda 11.5 workflows periodic (#69323)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/68259

Pull Request resolved: https://github.com/pytorch/pytorch/pull/69323

Reviewed By: gchanan, malfet

Differential Revision: D32812346

Pulled By: atalman

fbshipit-source-id: 081f40802997cfb986742f1621eee4b4565660f0
2021-12-07 13:14:07 -08:00
Andrey Talman
e0fb228e03 Revert of adding windows CUDA 11.5 workflow (#69365)
Summary:
This is partial revert of bb522c9d7a to revert addition of workflows for CUDA 11.5 windows that fails

Pull Request resolved: https://github.com/pytorch/pytorch/pull/69365

Reviewed By: suo

Differential Revision: D32831418

Pulled By: atalman

fbshipit-source-id: 184346d22623f88594312a4ce2e4d29cc67e8338
2021-12-03 08:00:16 -08:00
Eli Uriegas
f786b03f98 ci: Migrate docs push to GHA (#69172)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/69172

Migrates the docs push jobs to Github Actions by implementing a simple
WITH_PUSH switch to do the actual push.

Adds 2 new workflows for GHA:
* linux-docs (on trunk)
* linux-docs-push (on schedule)

linux-docs-push is the only workflow that actually gets access to
credentials so it should be relatively safe.

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: malfet

Differential Revision: D32767239

Pulled By: seemethere

fbshipit-source-id: 5b100f986cf4023c323f4f96f0fe7942fec49ad2
2021-12-02 15:06:57 -08:00
Andrey Talman
bb522c9d7a Enabling CUDA 11.5 for binary builds, Adding windows workflows for CUDA 11.5 (#69262)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/68259

Pull Request resolved: https://github.com/pytorch/pytorch/pull/69262

Reviewed By: malfet

Differential Revision: D32804850

Pulled By: atalman

fbshipit-source-id: abac45ad1d49ec7e0e7df6cb9a22a46fbcd905a2
2021-12-02 13:04:43 -08:00
Andrey Talman
f1a3512b78 Adding Linux cuda 11.5 workflows (#68745)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/68960

Pull Request resolved: https://github.com/pytorch/pytorch/pull/68745

Reviewed By: janeyx99

Differential Revision: D32707491

Pulled By: atalman

fbshipit-source-id: 100facfdcc0fc2f68e203a696856852faa25ee08
2021-11-29 16:21:00 -08:00
Nikita Shulga
ee59a09772 Implement sharding for MacOS jobs (#68784)
Summary:
Do not run distributed tests as part of separate shard, but keep it inside one of the two shards (to limit concurrency problems)
Fixes https://github.com/pytorch/pytorch/issues/68260

Pull Request resolved: https://github.com/pytorch/pytorch/pull/68784

Reviewed By: seemethere, janeyx99

Differential Revision: D32653440

Pulled By: malfet

fbshipit-source-id: ebe5bbc30bdf67e930f2c766c920932700f3a4e4
2021-11-29 09:31:42 -08:00
Eli Uriegas
17ba936da0 .github: Migrate XLA tests to GHA (#64320)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64320

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: malfet

Differential Revision: D30684490

Pulled By: seemethere

fbshipit-source-id: 5d2657f9aa4c7082591239a5bb095cc85d2cde66
2021-11-29 08:30:57 -08:00
Nikita Shulga
c5f63f859e Add slow path to getCustomClassTypeImpl (#68717)
Summary:
This fixes custom class registration issue when `typeid` is not guaranteed to be unique across multiple libraries, which is the case for libc++ runtime on MacOS 11 in particular for M1
From [libcxx/include/typeinfo](78d6a7767e/include/typeinfo (L139)):
```
// -------------------------------------------------------------------------- //
//                          NonUniqueARMRTTIBit
// -------------------------------------------------------------------------- //
// This implementation of type_info does not assume always a unique copy of
// the RTTI for a given type inside a program. It packs the pointer to the
// type name into a uintptr_t and reserves the high bit of that pointer (which
// is assumed to be free for use under the ABI in use) to represent whether
// that specific copy of the RTTI can be assumed unique inside the program.
// To implement equality-comparison of type_infos, we check whether BOTH
// type_infos are guaranteed unique, and if so, we simply compare the addresses
// of their type names instead of doing a deep string comparison, which is
// faster. If at least one of the type_infos can't guarantee uniqueness, we
// have no choice but to fall back to a deep string comparison.
```

But `std::type_index` hash is computed always assuming that implementation is unique
By adding a slow path this problem can be fixed in those scenarios.

Fixes https://github.com/pytorch/pytorch/issues/68039

Pull Request resolved: https://github.com/pytorch/pytorch/pull/68717

Reviewed By: seemethere

Differential Revision: D32605187

Pulled By: malfet

fbshipit-source-id: 8d50e56885b8c97dad3bc34a69c47ef879456dd1
2021-11-24 15:00:47 -08:00
Eli Uriegas
7b958fbec4 ci: Build periodic jobs with DEBUG=1 (#67192)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67192

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: albanD, janeyx99

Differential Revision: D31902447

Pulled By: seemethere

fbshipit-source-id: 1d1cca8b5ac84b1c23ab73e2d973bfb7bffa8982
2021-11-15 14:51:06 -08:00
Jiakai Liu
3dc0754c53 [pytorch][mobile] deprecate the LLVM-based static analyzer (#68180)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/68180

Since we've open sourced the tracing-based selective build, we can deprecate the
op-dependency-graph-based selective build and the static analyzer tool that
produces the dependency graph.
ghstack-source-id: 143108377

Test Plan: CIs

Reviewed By: seemethere

Differential Revision: D32358467

fbshipit-source-id: c61523706b85a49361416da2230ec1b035b8b99c
2021-11-11 16:37:08 -08:00
Eli Uriegas
8d025bbc2d .github: Migrate macOS workflows to GHA (#67717)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67717

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: malfet

Differential Revision: D32287733

Pulled By: seemethere

fbshipit-source-id: 8df6b20aada818ad39895ef87dc280098e09707b
2021-11-09 15:46:05 -08:00
Slava Kovalevskyi
1ffd43cf0c generated-pytorch-linux-xenial-py3-clang5-android-ndk-r19c-gradle-custom-build-single-full-jit migrated to GHA (#67695)
Summary:
in scope of: https://github.com/pytorch/pytorch/issues/67301. Main changes:
* generated-pytorch-linux-xenial-py3-clang5-android-ndk-r19c-gradle-custom-build-single-full-jit deleted from circle
* pytorch_android_gradle_custom_build_single removed since it is no longer used
* generated-pytorch-linux-xenial-py3-clang5-android-ndk-r19c-gradle-custom-build-single-full-jit added to GHA

Pull Request resolved: https://github.com/pytorch/pytorch/pull/67695

Reviewed By: malfet, seemethere, ejguan

Differential Revision: D32115620

Pulled By: b0noI

fbshipit-source-id: 113d48303c090303ae13512819bac2f069a2913f
2021-11-03 10:29:37 -07:00
Eli Uriegas
9e97ccbd7a .github: Migrate iOS workflows to GHA (#67645)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67645

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: malfet

Differential Revision: D32104367

Pulled By: seemethere

fbshipit-source-id: 08ff043ed5d0b434322f1f3f20dce2a4f5fa88c1
2021-11-02 14:38:43 -07:00
Slava Kovalevskyi
eb1b8a2160 pytorch_android_gradle_custom_build_single migrated from Circle to GHA. (#67577)
Summary:
in scope of: https://github.com/pytorch/pytorch/issues/67301. Main changes:
* pytorch_android_gradle_custom_build_single removed from the circle (however template is still there since it is used by another similar workflow: pytorch-linux-xenial-py3-clang5-android-ndk-r19c-gradle-custom-build-single-full-jit, which will be migrated next)
* new GHA workflow added: pytorch_android_gradle_custom_build_single

Pull Request resolved: https://github.com/pytorch/pytorch/pull/67577

Reviewed By: malfet, mruberry

Differential Revision: D32087709

Pulled By: b0noI

fbshipit-source-id: f9581558ddc1453b63264bf19fe5a4c245b7c007
2021-11-02 10:21:03 -07:00
Eli Uriegas
d0bc01fac2 ci: Migrate hardcoded docker builds to GHA (#67455)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67455

Migrates docker builds that don't have dependent jobs within the pytorch
repository to our new GHA docker build job

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: malfet, janeyx99

Differential Revision: D31997671

Pulled By: seemethere

fbshipit-source-id: 9d6f58fa8ea8731cf12457fe64dc65e70f3d9f25
2021-10-28 14:50:05 -07:00
Nikita Shulga
0c93c8e39a Disable linux-xenial-cuda10.2 config (#67344)
Summary:
linux-xenial-cuda10.2 and linux-bionic-cuda10.2 are very similar, no
need to run both configs

Moved all auxiliary builds from xenial to bionic

Pull Request resolved: https://github.com/pytorch/pytorch/pull/67344

Reviewed By: seemethere, janeyx99

Differential Revision: D31964850

Pulled By: malfet

fbshipit-source-id: d07ce266c843c7fd69b281e678c4247b0bf6da20
2021-10-28 10:10:13 -07:00
Eli Uriegas
81d188101f .github: Use 4xlarge instances for linux gpu (#67264)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67264

Downgrades linux gpu instances from 4xlarge -> 8xlarge

We were seeing capacity issues in terms of scaling 8xlarge instances,
downgrading this to 4xlarge (which only have a single gpu) to see if
that helps resolve some of the capacity issues we were seeing

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: janeyx99

Differential Revision: D31933488

Pulled By: seemethere

fbshipit-source-id: b41922ebb675e663cb035cd3795bc9bae94dcac7
2021-10-26 16:17:33 -07:00
Eli Uriegas
7052c41899 .github: Add workflow to build all docker images (#67215)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67215

We were regularly seeing gaps in our docker image builds due to specific
workflows not being run when docker builds occurred on PRs, this should
remove that ambiguity and ensure that all docker builds be re-built if a
rebuild is deemed necessary

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: albanD

Differential Revision: D31910422

Pulled By: seemethere

fbshipit-source-id: f346e64f1857e35a995c49bf30521a3acd8af0b1
2021-10-26 11:14:04 -07:00
Alex Zhao
ac948f4f35 .github: Migrate linux-xenial-py3.6-gcc7 to GHA (#67072)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/66888

cc seemethere

Pull Request resolved: https://github.com/pytorch/pytorch/pull/67072

Reviewed By: seemethere

Differential Revision: D31900833

Pulled By: zhaoalex

fbshipit-source-id: 93f8995611169d991f90e07e8c13e08182969577
2021-10-25 11:40:12 -07:00
Nikita Shulga
77beccaedb Do not build PyTorch with caffe2 by default (#66658)
Summary:
CAFFE2 has been deprecated for a while, but still included in every PyTorch build.
We should stop building it by default, although CI should still validate that caffe2 code is buildable.

Build even fewer dependencies when compiling mobile builds without Caffe2
Introduce `TEST_CAFFE2` in torch.common.utils
Skip `TestQuantizedEmbeddingOps` and `TestJit.test_old_models_bc`  is code is compiled without Caffe2
Should be landed after https://github.com/pytorch/builder/pull/864

Pull Request resolved: https://github.com/pytorch/pytorch/pull/66658

Reviewed By: driazati, seemethere, janeyx99

Differential Revision: D31669156

Pulled By: malfet

fbshipit-source-id: 1cc45e2d402daf913a4685eb9f841cc3863e458d
2021-10-21 20:32:47 -07:00
Nikita Shulga
9c4d7d96db Address feedback from #66673 (#66905)
Summary:
Specify both `build_generates_artifacts` and `exclude_tests` properties as suggested in https://github.com/pytorch/pytorch/pull/66673#pullrequestreview-783667960

Pull Request resolved: https://github.com/pytorch/pytorch/pull/66905

Reviewed By: seemethere

Differential Revision: D31779742

Pulled By: malfet

fbshipit-source-id: 21f5543f3b767f38132be8c7e163455f39ff893f
2021-10-19 18:27:45 -07:00
Nikita Shulga
cbd7bac914 Migrate clang5-mobile build to GHA (#66673)
Summary:
`linux-xenial-py3-clang5-mobile-build`, `linux-xenial-py3-clang5-mobile-custom-build-dynamic`, `linux-xenial-py3-clang5-mobile-custom-build-dynamic` and `linux-xenial-py3-clang5-mobile-code-analysis` are just the flavors of regular linux build job with no tests.
`linux-xenial-py3-clang5-mobile-code-analysis` is the master only job

`code-analysis` job is dispatch to `.jenkins/pytorch/build-mobile-code-analysis.sh` in
583217fe37/.jenkins/pytorch/build.sh (L23-L25)
and all `mobile-build` jobs are dispatched to `.jenkins/pytorch/build-mobile.sh` in
583217fe37/.jenkins/pytorch/build.sh (L19-L21)

Rename `is_libtorch` `CIWorkflow` property into `build_generates_artifacts` and change defaults from False to True
Both libtorch and mobile build jobs do not generate build artifacts

Pull Request resolved: https://github.com/pytorch/pytorch/pull/66673

Reviewed By: janeyx99

Differential Revision: D31674434

Pulled By: malfet

fbshipit-source-id: 24d05d55366202cd4d9c25ecab429cb8f670ded0
2021-10-19 14:13:29 -07:00
Eli Uriegas
8492e6bc6a .github: scheduled -> schedule, fix periodic (#66531)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66531

The github.event_name should be schedule not scheduled

Reference, https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: malfet

Differential Revision: D31598136

Pulled By: seemethere

fbshipit-source-id: 4d67f7731b21e05dabc8f54b4ebf9a5d2d3a4e1e
2021-10-12 19:46:01 -07:00
Jane Xu
d921891f57 GHA: Stop skipping periodic jobs (#66264)
Summary:
they have been skipped for too long
![image](https://user-images.githubusercontent.com/31798555/136433267-f35c0507-23ab-4348-be43-78d299c3d654.png)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/66264

Reviewed By: dagitses, malfet, seemethere

Differential Revision: D31478705

Pulled By: janeyx99

fbshipit-source-id: 1324b123e3f8646e5cd671af4c1850398a6f6e3b
2021-10-12 14:39:47 -07:00
Eli Uriegas
3b4b1b2d23 .github: Remove confusing ciflow_config.enabled variable (#66260)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66260

Every workflow has ciflow enabled so this is not needed anymore

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: dagitses, janeyx99

Differential Revision: D31493340

Pulled By: seemethere

fbshipit-source-id: 8718fe5d22f4be6e0900962576782a9f23162a39
2021-10-11 09:39:31 -07:00
Nikita Shulga
ebe530a9cd Periodic jobs should not have CIFLOW_DEFAULT label (#66300)
Summary:
Noticed that `periodic-pytorch-linux-xenial-cuda10.2-cudnn7-py3-gcc7-slow-gradcheck` job has a `ciflow/default`, but does not have a `ciflow/scheduled` label
Added asserts to enforce that jobs with non-trival is_scheduled property do not have default and do have scheduled labesl

Rename `periodic-pytorch-linux-xenial-cuda10.2-cudnn7-py3-gcc7-slow-gradcheck` to `periodic-linux-xenial-cuda10.2-py3-gcc7-slow-gradcheck`

Fixes #{issue number}

Pull Request resolved: https://github.com/pytorch/pytorch/pull/66300

Reviewed By: seemethere

Differential Revision: D31493323

Pulled By: malfet

fbshipit-source-id: 194c1d7a4e659847d94a547b87a0d7d08e66406d
2021-10-07 19:57:32 -07:00
Eli Uriegas
84c5970a77 ci: Migrate slow_gradcheck to GHA (#65730)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/65730

This should close out the door on migrating all scheduled workflows we have for CircleCI

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

cc ezyang seemethere malfet pytorch/pytorch-dev-infra

Test Plan: Imported from OSS

Reviewed By: albanD

Differential Revision: D31225188

Pulled By: seemethere

fbshipit-source-id: 4c49e88ec017edc30e07325dbc613ff54dd164d8
2021-10-06 14:29:14 -07:00
Nikita Shulga
6d4d636d66 [GHA] Rectify trigger_action_only flag (#66209)
Summary:
No longer needed, as PR can be opened/reopened with specific label

Fixes https://github.com/pytorch/pytorch/issues/66110

Pull Request resolved: https://github.com/pytorch/pytorch/pull/66209

Reviewed By: seemethere

Differential Revision: D31436292

Pulled By: malfet

fbshipit-source-id: 5b6e0875bec261862017dfe0eb3a5ec57fb8c705
2021-10-06 10:46:10 -07:00
Eli Uriegas
d2021e5e68 ci: Migrate vulkan builds to GHA (#66044)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66044

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: malfet

Differential Revision: D31370889

Pulled By: seemethere

fbshipit-source-id: 399f5f0c184f7856dcddb138c357f1374706e676
2021-10-05 16:11:36 -07:00