Commit Graph

460 Commits

Author SHA1 Message Date
Aashish Pawar ⚡ 0b5f417dfd
📝Update Readme.md (Code Error Minimal Example) (#3416)
* 📝Update Readme.md (Code Error Minimal Example)

to use gpus we need to use
```
trainer = pl.Trainer(max_epochs=1, gpus=8)
```
but In readme only Trainer() is used

* 📝Update Readme.md(added import in GPU/TPU stmts)

* 📝Update Readme.md ( Added Import to all imports)

as per the suggestion from @awaelchli

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-09-10 09:14:49 +00:00
William Falcon 43b8d62ccb
Update README.md 2020-09-05 08:07:03 -04:00
Jeff Yang b951097758
Add conda version/downloads, discourse badges to readme (#3247)
* add conda badge to readme

* Update README.md

* Update README.md

* Apply suggestions from code review

* make same color with `pypi package`

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-09-02 15:50:02 +00:00
edenlightning b4887d7647
Update README.md (#3289) 2020-08-31 10:52:45 -04:00
Lezwon Castelino 8b504a15da
update core contributors (#3224) 2020-08-27 11:27:54 -04:00
nithin varghese 6f634a1f0a
README.md typo correction (#3147) 2020-08-25 09:22:58 +00:00
Blue Tyson 54d78fbbd4
Update README.md (#3106)
Automating
2020-08-24 11:02:18 +02:00
William Falcon 83ab3eadb6
Update README.md 2020-08-22 09:02:27 -04:00
edenlightning af8acebc6c
Readme changes (#3078)
* Readme changes

* Update README.md

* Update README.md

* 0.9.0 readme

* 0.9.0 readme

Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-08-20 12:45:40 -04:00
William Falcon cc205f6a65
0.9.0 readme (#3075)
* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme
2020-08-20 11:45:28 -04:00
William Falcon f43028f3ae
added copyright notices (#3062) 2020-08-19 22:03:22 -04:00
Jirka Borovec 097757b450
add linked badge (#2983) 2020-08-14 16:34:47 -04:00
Jirka Borovec 9110ea5301
add docker badge (#2980) 2020-08-14 16:05:53 -04:00
William Falcon 0260a05a95
Update README.md 2020-08-09 07:11:45 -04:00
William Falcon 13fe0a4da5
Update README.md 2020-08-09 06:22:48 -04:00
William Falcon 56d63772f0
Update README.md 2020-08-09 06:19:05 -04:00
edenlightning a59e140ee8
Add PL mastercalss to readme (#2873)
* Update index.rst

* add thumbanil

* update readme

* Update README.md

* Update index.rst

* image

Co-authored-by: Jirka Borovec <jirka@pytorchlightning.ai>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-08-08 00:21:51 +00:00
Jirka Borovec b01ad75700
missing chlogs (#2672)
* missing

* miss

* Apply suggestions from code review

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* miss

* note

* notes

* update CI testing with pip upgrade (#2380)

* try pt1.5

* cpu

* upgrade

* tpu

* user

* [blocked by #2380] freeze GPU PT 1.4 (#2780)

* freeze

* user

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-08-02 12:34:36 +02:00
Jirka Borovec 3772601cd6
update CI testing with pip upgrade (#2380)
* try pt1.5

* cpu

* upgrade

* tpu

* user

* [blocked by #2380] freeze GPU PT 1.4 (#2780)

* freeze

* user
2020-07-31 14:50:06 -04:00
Jirka Borovec 06e8910f06
pytorch 1.6 (#2745)
* pt 1.6

* don't use the new zipfile serialization for now

* quick flake8 fixes

* remove unnecessary f

* coalesce strings

* remove comma

* remove extra commas

* Apply suggestions from code review

Co-authored-by: Peter Yu <2057325+yukw777@users.noreply.github.com>

* set _use_new_zipfile_serialization to False only for pytorch 1.6.0

* remove unnecessary comments

* flake8 fixes

* use pkg_resources instead of packaging

* readme

* format

* version

* chlog

Co-authored-by: Peter Yu <peter@asapp.com>
Co-authored-by: Peter Yu <2057325+yukw777@users.noreply.github.com>
2020-07-31 11:18:32 +02:00
William Falcon bc9348f2c4
Update README.md 2020-07-28 11:43:47 -04:00
William Falcon f770a91864
Update README.md 2020-07-28 11:37:48 -04:00
William Falcon 37d1bc6a42
Update README.md 2020-07-28 10:30:32 -04:00
William Falcon fa16624cc2
Update README.md 2020-07-28 10:28:59 -04:00
Jirka Borovec 590e7fb1fd
tests: add default_root_dir=tmpdir (#2392)
* tests: add default_root_dir=tmpdir

* remove duplicate tmpdir args

* add missing fixture

* test requires multi gpu

* typo

* resize

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-07-28 09:47:53 -04:00
Rohit Gupta e9ed9b72dc
Add Rohit (rohitgr7) to core (#2706) 2020-07-25 23:10:09 +02:00
Peter Yu 4bf1918b3a
Add Peter Yu (yukw777) to core maintainers (#2690) 2020-07-25 17:22:08 +02:00
krfricke 816d8cff06
[docs] add ray tune tutorial link to sidebar and readme (#2648)
Co-authored-by: Kai Fricke <kai@anyscale.com>
2020-07-20 16:24:17 -04:00
Tushar Jain 7b4db3045d
Add Transformers Question Answering to community examples (#2603)
* Update index.rst

Add QA Finetuning in community examples.

* Update README.md
2020-07-15 11:26:30 +02:00
William Falcon 92d6abcbb9
0.8.5 (#2573)
* remove grad scaling tpu

* remove grad scaling tpu
2020-07-09 22:00:23 -04:00
Jirka Borovec 39a6435726
Revert "Revert "join coverage (#2460)" (#2499)" (#2500)
This reverts commit 355918af8d.
2020-07-04 11:31:12 -04:00
William Falcon 355918af8d
Revert "join coverage (#2460)" (#2499)
This reverts commit 944ffba305.
2020-07-04 10:29:50 -04:00
Jirka Borovec 944ffba305
join coverage (#2460)
* join coverage

* full TPU test

* codecov

* typo

* report

* docker

* timeout

* base

* show

* cd dir

* req

* docker

* docker

* docker

* coverage

* upload

* drop main

* report

* report

* python

* upload

* drone

* drone

* drone

* drone

* drone

* drone

* drone

* drone

* drone
2020-07-04 10:22:58 -04:00
zcain117 1a40963d1d
Add Github Action to run TPU tests. (#2376)
* Add Github Action to run TPU tests.

* Trigger new Github Actions run.

* Clean up more comments.

* Use different fixed version of ml-testing-accelerators and update config to match.

* use cluster in us-central1-a

* Run 'gcloud logging read' directly without 'echo' to preserve newlines.

* cat coverage.xml on the TPU VM side and upload xml on the Github Action side

* Use new commit on ml-testing-accelerators so command runs fully.

* Preserve newlines in the xml and use if: always() temporarily to upload codecov

* Use pytorch_lightning for coverage instead of pytorch-lightning

* Remove the debug cat of coverage xml

* Apply suggestions from code review

* jsonnet rename

* name

* add codecov flags

* add codecov flags

* codecov

* codecov

* revert codecov

* Clean up after apt-get and remove old TODOs.

* More codefactor cleanups.

* drone

* drone

* disable codecov

* cleaning

* docker py versions

* docker py 3.7

* readme

* bash

* docker

* freeze conda

* py3.6

* Stop using apt-get clean.

* Dont rm pytorch-lightning

* Update docker/tpu/Dockerfile

* Longer timeout in the Github Action to wait for GKE to finish.

* job1

* job2

* job3

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Jirka <jirka@pytorchlightning.ai>
2020-07-01 21:44:19 -04:00
Jirka Borovec 7f1eab4cad
try adding coverage (#2441)
* add coverage, test failing

* fix test

* badges

* typo

* freeze conda
2020-07-01 08:00:36 -04:00
Jirka Borovec 695e0514f8
cleaning (#2449) 2020-07-01 07:56:10 -04:00
Jirka Borovec d4a02e3bd8
tests: drop CircleCI (#2412)
* drop CircleCI

* add PT testing

* fix

* cpu

* conda

* conda

* req

* base

* conda

* conda

* conda

* conda

* conda

* conda

* conda

* name

* req

* info

* tests

* pt 1.6

* drop 1.6

* info
2020-06-30 10:56:05 -04:00
Jirka Borovec 02d6045cac
release (#2414) 2020-06-29 07:21:28 -04:00
Jirka Borovec 3ff695510e
missing changes (#2283)
* missing

* RC1

* RC1

* format
2020-06-29 06:34:19 -04:00
William Falcon 58f03f3076
Update README.md 2020-06-28 22:44:58 -04:00
Jirka Borovec 41f5df18a4
move Trains logger to Bolts (#2384)
* move Trains logger

* chlog
2020-06-27 09:14:05 -04:00
William Falcon 0a092f6683
making optimization steps for hooks (#2363)
*simplified optimizer step and zero grad overriding
2020-06-25 16:02:16 -04:00
davinnovation b6ab7ca121
[docs] add community example : pl + ms nni (#2340)
https://github.com/PyTorchLightning/pytorch-lightning/issues/2329
2020-06-24 23:13:49 -04:00
William Falcon b2dd1a35aa
Update README.md 2020-06-19 02:50:30 -04:00
William Falcon 0b0c292cb9
Update README.md 2020-06-18 17:55:35 -04:00
Jirka Borovec 596a5d771f
Docs new section (#2236)
* chlog

* docs

* ver++

* docs

* url

* docs

* readme

* docs ---
2020-06-18 17:54:29 -04:00
William Falcon 34783781d2
Update README.md 2020-06-18 09:48:54 -04:00
Jirka Borovec a2d3ee80ad
final cleanup for v0.8.0 (#2181)
* final clean for v0.8.0

* chlog

* chlog

* date

* rename stage

* date

* missing
2020-06-18 07:21:44 -04:00
William Falcon 62029c17ee
Update README.md 2020-06-17 15:56:19 -04:00
Adrian Wälchli ff45842041
README typo (#2177) 2020-06-15 19:41:51 -04:00
William Falcon 49b2424e6e
Update README.md 2020-06-09 07:43:33 -04:00
William Falcon 3f71f0ce29
Update README.md 2020-06-09 07:30:38 -04:00
William Falcon db0c94e4a4
Update README.md 2020-06-09 07:30:10 -04:00
Tushar Jain 8d3d471f03
Update README.md (#2117) 2020-06-09 07:09:43 -04:00
edenlightning 9e8716afe8
Update Readme with tunning overhead time (#2082) 2020-06-08 07:26:58 -04:00
Adrian Wälchli 1f95fb9af7
update readme with conda installation instruction (#2099)
* update readme with conda installation instruction

* fix team header

* bibtex spelling

* Update README.md

Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-06-08 07:22:54 -04:00
Jirka Borovec c09317e68f
cleaning (#2030)
* cleaning

* optim imports

* fix

* typo

* on

* mergify
2020-06-04 11:25:07 -04:00
kumuji fd7814d287
Added black formater for the code with code-checker on pull (#1610)
* black

Added throught black.toml other options are hard so far

No caching for black github action

Moved from black.toml to pyproject.toml

Exclude not only yml but also yaml

Update pyproject.toml

Co-authored-by: Thomas Johansen <thomasjo@gmail.com>

Update .github/workflows/code-formatting-check.yml

mergify

Remove formating check

E231 error ignoring because of black formating

Updated CONTRIBUTING to the master

* Update .github/workflows/code-formatting-check.yml

* Bump black to 19.10b0 version

* resolved incorrect merge of CONTRIBUTING,

Black skipping string normalization

* Minor fixes in CONTRIBUTING, two typos

* Update setup.cfg

* chlog

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Jirka <jirka@pytorchlightning.ai>
2020-06-03 18:23:14 +02:00
Jirka Borovec 5d93d57573
Tests/drop macos py38 (#2061)
* tests drop macOS py38

* ignore single test

* try freeze env

* drop

* drop

* drop

* drop

* drop skips

* imports

* fix
2020-06-03 08:38:56 -04:00
Jirka Borovec b4eb6ef5a1
tests drop macOS py38 (#2054)
* tests drop macOS py38

* ignore single test

* try freeze env

* drop

* drop

* drop

* drop

* drop skips

* drop macOS py38

* imports
2020-06-03 06:48:20 -04:00
Jirka Borovec 033ddc0c29
update min req (#1934) 2020-05-25 07:43:17 -04:00
Nicki Skafte a20db4e4a2
readme (#1931)
* readme

* add governance.rst

Co-authored-by: Nicki Skafte <nugginea@gmail.com>
2020-05-23 16:38:37 +01:00
Jirka Borovec d610f3bb53
set min PT 1.3 (#1917)
* set min PT 1.3

* circleCI

* mergify

* min

* chlog

* skip
2020-05-22 07:14:08 -04:00
Jirka Borovec c717873d26
fix syntax issue (#1900) 2020-05-20 07:46:18 -04:00
Justus Schock 9b629637b8
New metric classes (#1326) (#1877)
* New metric classes (#1326)

* Create metrics package

* Create metric.py

* Create utils.py

* Create __init__.py

* add tests for metric utils

* add docstrings for metrics utils

* add function to recursively apply other function to collection

* add tests for this function

* update test

* Update pytorch_lightning/metrics/metric.py

Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>

* update metric name

* remove example docs

* fix tests

* add metric tests

* fix to tensor conversion

* fix apply to collection

* Update CHANGELOG.md

* Update pytorch_lightning/metrics/metric.py

Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>

* remove tests from init

* add missing type annotations

* rename utils to convertors

* Create metrics.rst

* Update index.rst

* Update index.rst

* Update pytorch_lightning/metrics/convertors.py

Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>

* Update pytorch_lightning/metrics/convertors.py

Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>

* Update pytorch_lightning/metrics/convertors.py

Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>

* Update pytorch_lightning/metrics/metric.py

Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>

* Update tests/utilities/test_apply_to_collection.py

Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>

* Update tests/utilities/test_apply_to_collection.py

Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>

* Update tests/metrics/convertors.py

Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>

* Apply suggestions from code review

Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>

* add doctest example

* rename file and fix imports

* added parametrized test

* replace lambda with inlined function

* rename apply_to_collection to apply_func

* Separated class description from init args

* Apply suggestions from code review

Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>

* adjust random values

* suppress output when seeding

* remove gpu from doctest

* Add requested changes and add ellipsis for doctest

* forgot to push these files...

* add explicit check for dtype to convert to

* fix ddp tests

* remove explicit ddp destruction

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* move dtype device mixin to more general place

* refactor to general device dtype mixin

* add initial metric package description

* change default to none for mac os

* pep8

* fix import

* Update index.rst

* Update ci-testing.yml

* Apply suggestions from code review

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Update CHANGELOG.md

* Update pytorch_lightning/metrics/converters.py

* readme

* Update metric.py

* Update pytorch_lightning/metrics/converters.py

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: William Falcon <waf2107@columbia.edu>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Jirka <jirka@pytorchlightning.ai>
2020-05-19 11:05:07 -04:00
Lezwon Castelino 7c7e50ca47
Allow user to select individual TPU core to train on (#1729)
* added tpu_id

added tpu_id to mixins

* train on individual tpu

* parallel loader if tpu_id is None

* removed progress_bar_refresh_rate

* chlog

* replaced num_tpu_cores with tpu_cores

* set tpu_id to None if int

* changed num_tpu_cores to tpu_cores in docs

* updated docs

* updated __init__.py
removed self.tpu_id for ParallelLoader

* Update pytorch_lightning/trainer/__init__.py

* check if tpu_cores is a list

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* xla device conditional

* num_tpu_cores deprecation

* removed duplicate warning

* fixed pep8 error

* Revert "removed duplicate warning"

This reverts commit 8adb0a9b

* deprecated api update

* fixed recursion error

* fixed tests

* fixed flake errors

* removed current_tpu_index

* Update CHANGELOG.md

* Update trainer.py

Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-05-17 16:30:54 -04:00
William Falcon d7f9c03663
Update README.md 2020-05-17 12:02:09 -04:00
Jirka Borovec e95e1d71c7
release 0.7.6 (#1813)
* release 0.7.6rc2

* release 0.7.6

* include img

* smaller image

* missing

* miss

* miss

* miss

* up
2020-05-15 08:36:40 -04:00
Deeksha Sharma b1d9656470
Update README.md (#1798)
* Update README.md

* Update README.md

committed suggestion

Co-authored-by: William Falcon <waf2107@columbia.edu>

* Update README.md

Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>

* Update README.md

Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>

Co-authored-by: William Falcon <waf2107@columbia.edu>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
2020-05-13 12:22:12 -04:00
William Falcon 5be1bc48e9
Update README.md 2020-05-12 11:43:53 -04:00
William Falcon d70d86985e
Update README.md 2020-05-12 11:43:01 -04:00
William Falcon 98cb7c2ce2
Update README.md 2020-05-12 08:59:23 -04:00
William Falcon 087bb34c68
Update README.md 2020-05-12 08:56:32 -04:00
William Falcon c52382f547
Update README.md 2020-05-12 08:52:43 -04:00
William Falcon 8584df54e9
Update README.md 2020-05-12 08:52:11 -04:00
William Falcon a5c19ea784
Update README.md 2020-05-12 08:49:29 -04:00
William Falcon 423b82ea6c
Update README.md 2020-05-12 08:46:55 -04:00
William Falcon 39584d08ad
Update README.md 2020-05-12 08:46:22 -04:00
William Falcon 7af4505519
Update README.md 2020-05-12 07:50:23 -04:00
William Falcon a4fc4ffa6e
Update README.md 2020-05-12 07:49:17 -04:00
William Falcon 6216501455
Update README.md 2020-05-12 07:47:57 -04:00
William Falcon d9bc8a978a
Update README.md 2020-05-10 17:09:09 -04:00
William Falcon ecb746e869
Update README.md 2020-04-27 23:54:20 -04:00
William Falcon b0ec7a0655
Update README.md 2020-04-27 17:41:46 -04:00
Jirka Borovec 994b77721c
Merge branch 'master' into new-master 2020-04-27 22:13:42 +02:00
William Falcon 835ea9c2e3
Update README.md 2020-04-27 10:31:38 -04:00
William Falcon 2096306362 Update README.md 2020-04-27 15:31:38 +02:00
William Falcon dc2096c0e4
Update README.md 2020-04-26 12:49:43 -04:00
William Falcon f3369666e6
Update README.md 2020-04-26 11:27:50 -04:00
William Falcon e8c087ed89
Update README.md 2020-04-26 11:16:48 -04:00
William Falcon 2c88e01736
Update README.md 2020-04-26 11:16:12 -04:00
William Falcon 1823c6997d
Update README.md 2020-04-26 11:14:56 -04:00
William Falcon d2b94ca81b
clean up docs (#1614)
* fixed hparams section

* docs clean up
2020-04-26 10:57:26 -04:00
Adrian Wälchli d56b3e5e69
update contributers list (#1597) 2020-04-24 14:46:17 -04:00
Jirka Borovec 4d24032ea5
tests for pytorch 1.5 (#1552)
* tests for pytorch 1.5

* up Win

* win

* win

* win

* win

* win

* win
2020-04-22 10:10:23 -04:00
William Falcon 7857a73710
Update README.md 2020-04-10 09:55:42 -04:00
William Falcon e052883de7
Update README.md 2020-04-10 09:54:09 -04:00
William Falcon 5b2351cbb9
added slurm doc (#1418)
* added slurm doc

* added slurm doc
2020-04-08 14:43:50 -04:00
Jirka Borovec 62822b6f73
fix missing images on pypi (#1407)
* formatting

* fix missing image on pypi

* fix pypi push
2020-04-07 15:42:19 -04:00
William Falcon 003ca510fa
Update README.md 2020-04-03 10:10:16 -04:00