Commit Graph

9 Commits

Author SHA1 Message Date
Sam Estep
2e26976ad3 Disallow versionless Python shebangs (#58275)
Summary:
Some machines don't have a versionless `python` on their PATH, which breaks these existing shebangs.

I'm assuming that all the existing versionless `python` shebangs are meant to be `python3` and not `python2`; please let me know if my assumption was incorrect for any of these.

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

Test Plan: CI.

Reviewed By: zhouzhuojie

Differential Revision: D28428143

Pulled By: samestep

fbshipit-source-id: 6562be3d12924db72a92a0207b060ef740f61ebf
2021-05-14 08:26:02 -07:00
zhouzhuojie
7756cb6a5b Migrate pytorch_python_doc_build to github action (#57371)
Summary:
# Changes

This PR migrates `pytorch_python_doc_build` from circleci to github actions.

Noticeable changes
- Refactor `docker cp` into a single `docker run` with volume mount, because the in circleci volume is not accessible from its remote docker engine
- `pytorch_python_doc_push` job will have a race condition with circleci, which will be migrated in separate PRs

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

Reviewed By: samestep

Differential Revision: D28416289

Pulled By: zhouzhuojie

fbshipit-source-id: 04caccccf3d7eb7e2225846a406a53ccda356d44
2021-05-13 15:42:52 -07:00
Sam Estep
52d1b91d38 Give Python sub-version in GHA CUDA workflow name (#57770)
Summary:
Addresses part of https://github.com/pytorch/pytorch/issues/57686#issuecomment-833672132. Evidence that the Python version is indeed 3.6: https://github.com/pytorch/pytorch/runs/2520276328

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

Test Plan: CI would be nice, but this workflow does not currently run on PRs.

Reviewed By: malfet

Differential Revision: D28265048

Pulled By: samestep

fbshipit-source-id: 513caf52a8f18d6e529e0934bf024f49e1571926
2021-05-06 15:16:37 -07:00
Eli Uriegas
911852ffe2 .github: Only add @generated on generated workflows (#57063)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57063

Removes the generated tag from the original template so the diff shows
up correctly on internal Phab

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

Test Plan: Imported from OSS

Reviewed By: H-Huang

Differential Revision: D28040694

Pulled By: seemethere

fbshipit-source-id: c6ec0520fbc4ea169abefc7df2ff925ecc0474cc
2021-04-28 11:28:57 -07:00
Eli Uriegas
11d455fa8b .github: Enable Linux CPU GHA on PRs (#56942)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56942

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

Test Plan: Imported from OSS

Reviewed By: walterddr

Differential Revision: D28018455

Pulled By: seemethere

fbshipit-source-id: 2b4ba3d616c217b4e960871f1428dda03f2ad92a
2021-04-27 09:16:33 -07:00
Eli Uriegas
b2b9efb33a .github: Add initial Linux CI for CUDA (#56494)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56494

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

Test Plan: Imported from OSS

Reviewed By: malfet

Differential Revision: D27953781

Pulled By: seemethere

fbshipit-source-id: bce9298dc40d035bfbb5057e48b99d15c13733bc
2021-04-23 18:09:08 -07:00
Eli Uriegas
31677c5fcb [reland] .github: Add initial linux CI workflow (#56280)
Summary:
This reverts commit 6b5ed5ec45.

There'll also probably be fixes here, see diff from original PR: https://github.com/pytorch/pytorch/compare/f2abce0...ci-all/add-initial-linux-ci-gha

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

Reviewed By: walterddr

Differential Revision: D27826012

Pulled By: seemethere

fbshipit-source-id: 71cad1d7f840ede5025b1bb4a33d628aa74686d1
2021-04-19 17:36:09 -07:00
Luca Wehrstedt
6b5ed5ec45 Revert D27803529: [pytorch][PR] .github: Add initial linux CI workflow
Test Plan: revert-hammer

Differential Revision:
D27803529 (7d410bc3c8)

Original commit changeset: 52a65ec8f7a8

fbshipit-source-id: ce968654f2aecd8b36b5f86e0fe5ed6056f0fb8a
2021-04-16 02:53:31 -07:00
Sam Estep
7d410bc3c8 .github: Add initial linux CI workflow (#55176)
Summary:
This is a commandeer of https://github.com/pytorch/pytorch/issues/54091.

TODO:

- [x] understand why the build is [failing](https://github.com/pytorch/pytorch/pull/55176/checks?check_run_id=2254742265) here when it was [succeeding](https://github.com/pytorch/pytorch/pull/54091/checks?check_run_id=2177844748) on https://github.com/pytorch/pytorch/issues/54091
- [x] fix the build failure
- [x] fix the test failure(s)
- [x] add CI check to generate YAML workflows from templates, similar to https://github.com/pytorch/pytorch/issues/55171
- [ ] uncomment the rest of the matrix

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

Reviewed By: walterddr

Differential Revision: D27803529

Pulled By: seemethere

fbshipit-source-id: 52a65ec8f7a83b929fed47f0bbdca544210ec9c2
2021-04-15 16:54:04 -07:00