-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/williamFalcon/pytorch-lig…
- Loading branch information
Showing
95 changed files
with
4,719 additions
and
3,659 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# Python CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/language-python/ for more details | ||
# | ||
version: 2.0 | ||
|
||
references: | ||
|
||
install_deps: &install_deps | ||
run: | ||
name: Install Dependences | ||
command: | | ||
# PyPI | ||
pip install "$TORCH_VERSION" --user | ||
pip install -r requirements.txt --user | ||
sudo pip install pytest pytest-cov pytest-flake8 | ||
pip install -r ./tests/requirements.txt --user | ||
tests_format: &tests_format | ||
run: | ||
name: Tests and formating | ||
command: | | ||
python --version ; pip --version ; pip list | ||
py.test pytorch_lightning tests pl_examples -v --doctest-modules --junitxml=test-reports/pytest_junit.xml --flake8 | ||
no_output_timeout: 15m | ||
|
||
make_docs: &make_docs | ||
run: | ||
name: Make Documentation | ||
command: | | ||
# sudo apt-get install pandoc | ||
pip install -r requirements.txt --user | ||
sudo pip install -r docs/requirements.txt | ||
# sphinx-apidoc -o ./docs/source ./pytorch_lightning **/test_* --force --follow-links | ||
cd docs; make clean ; make html | ||
jobs: | ||
|
||
Build-Docs: | ||
docker: | ||
- image: circleci/python:3.7 | ||
steps: | ||
- checkout | ||
- *make_docs | ||
|
||
PyTorch: | ||
docker: | ||
- image: circleci/python:3.7 | ||
environment: | ||
- TORCH_VERSION: "torch" | ||
steps: &steps | ||
- checkout | ||
|
||
- *install_deps | ||
- *tests_format | ||
|
||
- store_test_results: | ||
path: test-reports | ||
- store_artifacts: | ||
path: test-reports | ||
|
||
PyTorch-v1.1: | ||
docker: | ||
- image: circleci/python:3.6 | ||
environment: | ||
- TORCH_VERSION: "torch>=1.1, <1.2" | ||
steps: *steps | ||
|
||
PyTorch-v1.2: | ||
docker: | ||
- image: circleci/python:3.6 | ||
environment: | ||
- TORCH_VERSION: "torch>=1.2, <1.3" | ||
steps: *steps | ||
|
||
PyTorch-v1.3: | ||
docker: | ||
- image: circleci/python:3.6 | ||
environment: | ||
- TORCH_VERSION: "torch>=1.3, <1.4" | ||
steps: *steps | ||
|
||
workflows: | ||
version: 2 | ||
build: | ||
jobs: | ||
- Build-Docs | ||
- PyTorch-v1.1 | ||
- PyTorch-v1.2 | ||
- PyTorch-v1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# Before submitting | ||
|
||
- Was this discussed/approved via a Github issue? (no need for typos, doc improvements) | ||
- Did you read the [contributor guideline](https://github.com/williamFalcon/pytorch-lightning/blob/master/.github/CONTRIBUTING.md)? | ||
- Did you make sure to update the docs? | ||
- Did you write any new necessary tests? | ||
- [ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements) | ||
- [ ] Did you read the [contributor guideline](https://github.com/williamFalcon/pytorch-lightning/blob/master/.github/CONTRIBUTING.md)? | ||
- [ ] Did you make sure to update the docs? | ||
- [ ] Did you write any new necessary tests? | ||
|
||
## What does this PR do? | ||
Fixes # (issue). | ||
|
||
## PR review | ||
Anyone in the community is free to review the PR once the tests have passed. | ||
If we didn't discuss your PR in Github issues there's a high chance it will not be merged. | ||
If we didn't discuss your PR in Github issues there's a high chance it will not be merged. | ||
|
||
## Did you have fun? | ||
Make sure you had fun coding 🙃 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,7 @@ exclude *.yml | |
|
||
prune .git | ||
prune .github | ||
prune .circleci | ||
prune notebook* | ||
prune temp* | ||
prune test* |
Oops, something went wrong.