Commit Graph

134 Commits

Author SHA1 Message Date
3e4f213e82 Instructions for how to update pytorch-ci-hud when updating binary builds (#20758)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20758
ghimport-source-id: ffb4c97c42c6efbb16ea5d93ea8af1bdf71cb1e4

Differential Revision: D15435639

Pulled By: ezyang

fbshipit-source-id: a12bde8b0b11bbe0d0280b6b3994d9c65dc4f5cc
2019-05-24 07:20:06 -07:00
c790f10e2d Fix missing cudatoolkit dependency in binary linux tests
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/20732

Differential Revision: D15434025

Pulled By: pjh5

fbshipit-source-id: 74a5798d14b6e61cdcdc784c159294b87264d3de
2019-05-21 10:27:15 -07:00
e3970d66d4 Fixing upload_binary_htmls again
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/20736

Differential Revision: D15433417

Pulled By: pjh5

fbshipit-source-id: 58964a341226b536be899855058422cb82aa054b
2019-05-21 10:16:08 -07:00
712c60f960 Fixing missing miniconda path in macos smokes
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/20727

Differential Revision: D15433407

Pulled By: pjh5

fbshipit-source-id: 2f5d4e1e49068e9597f7052deb70a287b91e482b
2019-05-21 09:47:37 -07:00
e79610c0df Fix missing env for update_binary_size job
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/20645

Differential Revision: D15400130

Pulled By: pjh5

fbshipit-source-id: d2a07fc5608ab3a96026b60e16bd12add8e0c9d4
2019-05-17 15:46:50 -07:00
5821a76b8e Forcing gcc ABI and safer bash scripts, v2 (#20540)
Summary:
First time this was merged it broke master and was reverted. This time I do not add ```set -u``` to the .circleci/scripts/setup* scripts. There's still a chance that ```set -u``` breaks the binary builds on master, but at least those can be fixed in parallel and don't completely eliminate signal from all merges.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20540

Differential Revision: D15373444

Pulled By: pjh5

fbshipit-source-id: 0203c20865827366ecd8fa07b2db74d255549ed1
2019-05-16 09:40:01 -07:00
bd047d812e Recursively checkout submodules for Pytorch
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/20537

Differential Revision: D15354830

Pulled By: pjh5

fbshipit-source-id: 40902c450756dc127d34c9ec64e78d33edb6c5c9
2019-05-15 10:48:27 -07:00
8e26759f14 Back out "[pytorch][PR] Manually set _GLIBCXX_USE_CXX11_ABI in devtoolset7 binary builds"
Summary: Original commit changeset: 571bba8a93ea

Reviewed By: pjh5

Differential Revision: D15349783

fbshipit-source-id: 75c3e2b9b97e0ac0e8bcdef93e53b0d475c6fa38
2019-05-15 00:02:55 -07:00
ea38fbfc5c Manually set _GLIBCXX_USE_CXX11_ABI in devtoolset7 binary builds (#20243)
Summary:
Fix for https://github.com/pytorch/pytorch/issues/17492
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20243

Differential Revision: D15348101

Pulled By: pjh5

fbshipit-source-id: 571bba8a93eaa9806db3f3d38697c26b5285da7a
2019-05-14 18:02:42 -07:00
24cd0e08cf identify important circleci builds (#20498)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20498
ghimport-source-id: b62b5bcf73ce87b1054cad053fd1cc118a586cf6

Differential Revision: D15342506

Pulled By: suo

fbshipit-source-id: 9889103d23affe0d7eea0abfd801bae46d5238a2
2019-05-14 15:16:06 -07:00
824d4f9957 Needed fixes for binaries
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/20385

Differential Revision: D15321396

Pulled By: pjh5

fbshipit-source-id: de7ca1ac928bdea3bcf6c78e84c7e9b786bcff52
2019-05-13 11:58:50 -07:00
5268b7dfaf Remove support for CUDA 8 (#20298)
Summary:
1.1.0 stopped support for CUDA 8
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20298

Differential Revision: D15294639

Pulled By: ezyang

fbshipit-source-id: b9411bfe456f93f1529b745dc83b7d6310df684d
2019-05-13 11:24:22 -07:00
e47b210075 Adding setup job as prereq to html update jobs
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/20325

Differential Revision: D15287710

Pulled By: pjh5

fbshipit-source-id: 2bbed3a46c4affb5ae4e6dd4feb1dda59aeb5d04
2019-05-09 16:25:22 -07:00
8c3a7bb57f Move librosa and psutil installation from CI script to docker images build script (#20299)
Summary:
pip install librosa randomly coredump, causes CI flakiness
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20299

Differential Revision: D15276270

Pulled By: bddppq

fbshipit-source-id: 9105106f41aaacf620751290b016359ef7d665b3
2019-05-09 13:48:29 -07:00
199fa12dee Add namedtensor build and test to the CI (#20163)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20163
ghimport-source-id: 6a821a708a20dbfa84c31a8af067d451c59b3964

Reviewed By: gchanan

Differential Revision: D15278216

Pulled By: zou3519

fbshipit-source-id: 0bc28929f8b3ce317de06f1fc275e586c649785c
2019-05-09 09:09:19 -07:00
a7db3a7591 Error out if git log fails in setup_ci_environment (#20231)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20231
ghimport-source-id: f58c44a52c719bf3c5cdcaa1f1e9624466423ace

Reviewed By: ezyang

Differential Revision: D15244497

Pulled By: zou3519

fbshipit-source-id: 87ca362aaa6a9040d32080b208272dacf7e45f63
2019-05-08 10:05:42 -07:00
0626ea4300 Run 'checkout' before 'setup ci environment' on pytorch linux tests (#20213)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20213
ghimport-source-id: ea395ee1151207f37e030ed0126564ff7a73bac8

Reviewed By: ezyang

Differential Revision: D15244428

Pulled By: zou3519

fbshipit-source-id: 45ba2a80a2a9d056f806b5960bfe20f3c60f1e33
2019-05-08 10:05:39 -07:00
cd72be20e0 Update ROCm 2.4 (#20253)
Summary:
xw285cornell
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20253

Reviewed By: ezyang

Differential Revision: D15256826

Pulled By: bddppq

fbshipit-source-id: 405c21fc727d8145c4d3ca4fe8d84804569ebe53
2019-05-08 09:35:40 -07:00
a5ff09782e Fix missing files for upload jobs (#20265)
Summary:
The earlier fix to extract scripts missed an attach_workspace which was used to make the built binaries available to the nightly build upload jobs.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20265

Differential Revision: D15259080

Pulled By: soumith

fbshipit-source-id: bf835c2cd76976b4563798ee348f7db83c7a79c1
2019-05-08 07:02:41 -07:00
21a3895c7d Extract repeated scripts into files (#19674)
Summary:
The current pytorch config.yml is causing some backend performance
problems on CircleCI, due to the size of the file when all of the YAML
anchors have been expanded. You can view the "processed" config as our
internal system deal with it by running `circleci config process`.

    circleci config process .circleci/config.yml | wc -c

    Before: 2833769 bytes
    After:   558252 bytes (~80% less)

Add create a new job, `setup`, that has 2 functions:
- Assert that config.yml is up to date
- Put the .circleci/scripts directory into a workspace, so that
downstream jobs can easily access it.

The `setup` job becomes the parent of all jobs in the workflow. This
allows us to fail fast if config is invalid. It might be a good place to
add other, quick, lint checks to help fail the build faster.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19674

Differential Revision: D15252864

Pulled By: pjh5

fbshipit-source-id: 0778c7b8f95e7f3f33ac92fbb8862377fc9fb0ac
2019-05-07 19:04:00 -07:00
9c62280ea8 Remove brew libomp from binary mac machines (#20228)
Summary:
Resolves https://github.com/pytorch/pytorch/issues/20030
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20228

Differential Revision: D15246258

Pulled By: pjh5

fbshipit-source-id: f57033af74b678566be02cdf5700b5ae6e154d4a
2019-05-07 17:09:40 -07:00
1cfe15ef2a temporarily disable devtoolset7 nightlies (#20174)
Summary:
toward issue #20066
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20174

Differential Revision: D15229018

Pulled By: kostmo

fbshipit-source-id: 350c16a27c6530fe7d1d36a2dc11cb5008cf30e5
2019-05-06 17:15:10 -07:00
2ec2287cce Fix smoke tests on binary builds
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/20069

Differential Revision: D15188864

Pulled By: pjh5

fbshipit-source-id: 692c5ecf1a4f5a560cf8fbcfe3634b809f184d72
2019-05-02 14:24:30 -07:00
75868683dc Removing CUDA 8.0 nightlies (#20068)
Summary:
Resolves https://github.com/pytorch/pytorch/issues/20067
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20068

Differential Revision: D15184571

Pulled By: pjh5

fbshipit-source-id: a37846a23ac7b414f9a3741f37a2db5bb61c93a9
2019-05-02 10:53:56 -07:00
0da0c4be48 Rotate circleci keys
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/19981

Differential Revision: D15174219

Pulled By: pjh5

fbshipit-source-id: 205952aa90ed93f193f40d4293f5a8d82fa33ed6
2019-05-01 16:04:41 -07:00
74f527a8fa Adding job to upload binary sizes
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/19934

Differential Revision: D15155702

Pulled By: pjh5

fbshipit-source-id: cf841624145d14c7f40153c8fe7b442e633c0f92
2019-04-30 15:56:01 -07:00
a9c189ca14 Macos upload fix (#19965)
Summary:
The second commit will be removed before landing.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19965

Differential Revision: D15153243

Pulled By: pjh5

fbshipit-source-id: 70eae38d0cb07dc732c0cf044d36ec36d0a4472d
2019-04-30 13:46:24 -07:00
abbfb7dd23 Fix devtoolset7 binary builds (#19919)
Summary:
cc kostmo
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19919

Differential Revision: D15141049

Pulled By: pjh5

fbshipit-source-id: 9080924c5304d7db001d6bd910a8c3051a34eeae
2019-04-29 17:21:03 -07:00
11297702b9 Fix the install of TensorBoard for doc generation (#19814)
Summary:
One more fix for https://github.com/pytorch/pytorch/pull/19810

We now know that we are running with python3, so no need to check python version. The quotes were probably causing problems here.

cc ezyang soumith zou3519
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19814

Differential Revision: D15106459

Pulled By: orionr

fbshipit-source-id: 0443b9b54d17fead9c8c2c9d8d2f373e1f95a28b
2019-04-26 14:56:04 -07:00
e1ebf330d5 Install TensorBoard for doc generation (#19810)
Summary:
In order to have `torch.utils.tensorboard.SummaryWriter` rendered in the documentation at the bottom of https://pytorch.org/docs/master/tensorboard.html we need to have TensorBoard installed.

This change makes it so our pinned version of `tb-nightly` is used for doc generation same as it is used for running tests at https://github.com/pytorch/pytorch/blob/master/.jenkins/pytorch/test.sh#L45-L52

Eventually we'll use a pinned version of `pip install tensorboard`, but it's not on the release channel yet.

cc kostmo soumith ezyang
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19810

Differential Revision: D15101730

Pulled By: orionr

fbshipit-source-id: c41678c4f9ef3d56a168f2b96a1ab05f351bdc56
2019-04-26 12:06:18 -07:00
e814c11045 Fix env vars needed for devtoolset7 binaries
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/19780

Differential Revision: D15091963

Pulled By: pjh5

fbshipit-source-id: 2594395b2313d5c8a37db28965d99b0541a227e3
2019-04-25 17:50:14 -07:00
c5cca65351 Fixing update_s3_htmls for binaries
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/19746

Differential Revision: D15091326

Pulled By: pjh5

fbshipit-source-id: ed172c678dd5659fa31d5d9b6ee1bf119ede2889
2019-04-25 17:24:02 -07:00
41486306d9 GCC ABI variants for nightly builds (#18888)
Summary:
closes #17492
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18888

Differential Revision: D15065093

Pulled By: pjh5

fbshipit-source-id: 6abeabf68b91106fc8ae9df238f6a40613d40b57
2019-04-24 10:08:56 -07:00
991279dc7d produce diagram for caffe2 build matrix (#18517)
Summary:
This PR splits the configuration tree data from the logic used to construct the tree, for both `pytorch` and `caffe2` build configs.

Caffe2 configs are also now illustrated in a diagram.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18517

Differential Revision: D14936170

Pulled By: kostmo

fbshipit-source-id: 7b40a88512627377c5ea0f24765dabfef76ca279
2019-04-15 11:45:32 -07:00
1c099fd5c9 Update docker images to use ROCm 2.3 (#19231)
Summary:
xw285cornell petrex iotamudelta

https://ci.pytorch.org/jenkins/job/caffe2-builds/job/py2-clang7-rocmdeb-ubuntu16.04-trigger-test/24676/
https://ci.pytorch.org/jenkins/job/caffe2-builds/job/py2-devtoolset7-rocmrpm-centos7.5-trigger-test/17679/
https://ci.pytorch.org/jenkins/job/pytorch-builds/job/py2-clang7-rocmdeb-ubuntu16.04-trigger/24652/
https://ci.pytorch.org/jenkins/job/pytorch-builds/job/py2-devtoolset7-rocmrpm-centos7.5-trigger/9943/
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19231

Differential Revision: D14928580

Pulled By: bddppq

fbshipit-source-id: 025b0affa6bcda6ee9f823dfc6c2cf8b92e71027
2019-04-13 13:11:26 -07:00
65ae897ae8 Pin nvidia-container-runtime version (#19195)
Summary:
This PR is to fix the CI error:
```
nvidia-docker2 : Depends: nvidia-container-runtime (= 2.0.0+docker18.09.4-1) but 2.0.0+docker18.09.5-1 is to be installed
E: Unable to correct problems, you have held broken packages.
Exited with code 100
```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19195

Differential Revision: D14913104

Pulled By: yf225

fbshipit-source-id: d151205f5ffe9cac7320ded3c25baa7e051c3623
2019-04-12 10:00:40 -07:00
a3e177083b Debugging: Increase process reporting for apt/dpkg. (#18880)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18880
ghimport-source-id: b43a33c12df379ec75c1fd4c713c1fc723a763e1

Differential Revision: D14856296

Pulled By: ezyang

fbshipit-source-id: 30691eb14dddfe998b2605b416aaa1b14d1b6ad5
2019-04-09 11:40:47 -07:00
25bd28c3a0 move nightlies to 1.1.0xxx
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/19069

Differential Revision: D14854600

Pulled By: soumith

fbshipit-source-id: 85c703bddbd47c1b3914d58ab9521ed22ddeb62a
2019-04-09 10:33:29 -07:00
cfb6054ada add android build workflow to pytorch CI jobs (#18919)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18919
ghimport-source-id: 3f0ce4334c899d262403d88bd8bd7513e99570f0

Reviewed By: kostmo

Differential Revision: D14800728

Pulled By: ljk53

fbshipit-source-id: fec2e34c192181b8fa31c9a30f60c9bf7388f083
2019-04-08 16:25:30 -07:00
cb959aa708 Switch our Linux machine AMI to a newer image. (#18433)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18433
ghimport-source-id: 1c92f98b091232c0045a2e1db75d19c1f258ac1f

Differential Revision: D14748827

Pulled By: ezyang

fbshipit-source-id: a459451058cf5560811403bafb96c6ff083d7e3a
2019-04-03 13:50:37 -07:00
01c03caacc Emergency workaround for apt-get failure. (#18733)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18733
ghimport-source-id: b56766fb4b1084d8a7947cf622275d44e325141b

Stack from [ghstack](https://github.com/ezyang/ghstack):
* **#18733 Emergency workaround for apt-get failure.**

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Reviewed By: dreiss

Differential Revision: D14725779

fbshipit-source-id: 6855347853a3f13461ca267ed563e2db5815166e
2019-04-02 10:49:21 -07:00
173f224570 Turn on F401: Unused import warning. (#18598)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18598
ghimport-source-id: c74597e5e7437e94a43c163cee0639b20d0d0c6a

Stack from [ghstack](https://github.com/ezyang/ghstack):
* **#18598 Turn on F401: Unused import warning.**

This was requested by someone at Facebook; this lint is turned
on for Facebook by default.  "Sure, why not."

I had to noqa a number of imports in __init__.  Hypothetically
we're supposed to use __all__ in this case, but I was too lazy
to fix it.  Left for future work.

Be careful!  flake8-2 and flake8-3 behave differently with
respect to import resolution for # type: comments.  flake8-3 will
report an import unused; flake8-2 will not.  For now, I just
noqa'd all these sites.

All the changes were done by hand.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Differential Revision: D14687478

fbshipit-source-id: 30d532381e914091aadfa0d2a5a89404819663e3
2019-03-30 09:01:17 -07:00
3bbe204f32 Test running a CUDA build on CPU machine. (#18242)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18242
ghimport-source-id: b949d312a48226a34f90304162e910acee7c95cd

Stack from [ghstack](https://github.com/ezyang/ghstack):
* **#18242 Test running a CUDA build on CPU machine.**
* #18362 Add ability to query if built with CUDA and MKL-DNN.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Differential Revision: D14584429

fbshipit-source-id: b54de5b33f0c795a7d9605d30576cdf9b74050fd
2019-03-26 12:31:11 -07:00
e1c272797b Don't require pygraphviz for regenerate.sh (#17485)
Summary:
closes #17336

Do not overwrite config.yml if script throws an error
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17485

Differential Revision: D14604388

Pulled By: kostmo

fbshipit-source-id: 5024545e3a8711abdbc0800911c766929dbca196
2019-03-25 18:04:53 -07:00
e20894fce5 Make it possible to trigger XLA/slow tests via commit message. (#18345)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18345
ghimport-source-id: 9649d76bb194866859d62e6ba2a3a265c96ebba5

Stack from [ghstack](https://github.com/ezyang/ghstack):
* **#18345 Make it possible to trigger XLA/slow tests via commit message.**

Four variants are supported: `[xla ci] [ci xla] [xla test] [test xla]`; substitute
xla with slow for slow tests.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Differential Revision: D14584557

fbshipit-source-id: fcbfdfb28246823135bb3d3910baae073d16e81d
2019-03-22 15:06:40 -07:00
9214852da2 Enable running of slow tests in CI. (#18236)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18236
ghimport-source-id: 2bb80d017c2ea833669a2d55b340a922b2d44685

Stack from [ghstack](https://github.com/ezyang/ghstack):
* **#18236 Enable running of slow tests in CI.**
* #18231 Add a decorator for marking slow tests.

These tests only run on master, as they are slow.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Differential Revision: D14563115

fbshipit-source-id: f54ddef4abedc7e872e58657fc9ac537952773d0
2019-03-21 12:44:45 -07:00
30b80de876 Update caffe2 docker images tag to 253 (#18031)
Summary:
To use ROCm 2.2
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18031

Reviewed By: ezyang

Differential Revision: D14469242

Pulled By: bddppq

fbshipit-source-id: c969bcf95dabe067d7b1a2cf6e07209e11148ec1
2019-03-14 20:53:07 -07:00
f176450d60 bump docker build to upgrade magma to 2.5.0 (#17674)
Summary:
upgrades magma in docker build.

vishwakftw
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17674

Differential Revision: D14320187

Pulled By: soumith

fbshipit-source-id: 7887f65fb703b802fc6231408b55ad9c4039882b
2019-03-04 20:31:16 -08:00
1971c0528d Forcing UTC on Mac circleci jobs (#17516)
Summary:
And adding timestamps to linux build jobs
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17516

Differential Revision: D14244533

Pulled By: pjh5

fbshipit-source-id: 26c38f59e0284c99f987d69ce6a2c2af9116c3c2
2019-02-27 13:22:06 -08:00
674e11ccde order caffe2 ubuntu configs contiguously (#17427)
Summary:
This involves another purely cosmetic (ordering) change to the `config.yml` to facilitate simpler logic.

Other changes:
* add some review feedback as comments
* exit with nonzero status on config.yml mismatch
* produce a diagram for pytorch builds
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17427

Differential Revision: D14197618

Pulled By: kostmo

fbshipit-source-id: 267439d3aa4c0a80801adcde2fa714268865900e
2019-02-22 20:18:29 -08:00