diff --git a/CHANGELOG.md b/CHANGELOG.md index db84e0240a..4d404a1384 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - Added `strict=False` and `hparams_file` accepts dict for `load_from_checkpoint` ([#2819](https://github.com/PyTorchLightning/pytorch-lightning/pull/2819)) +- Added saving test predictions on multiple GPUs ([#2926](https://github.com/PyTorchLightning/pytorch-lightning/pull/2926)) + ### Changed - Truncated long version numbers in progress bar ([#2594](https://github.com/PyTorchLightning/pytorch-lightning/pull/2594)) @@ -140,6 +142,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - Fixed checkpointing to remote file paths ([#2925](https://github.com/PyTorchLightning/pytorch-lightning/pull/2925)) +- Fixed adding val step argument to metrics ([#2986](https://github.com/PyTorchLightning/pytorch-lightning/pull/2986)) + ## [0.8.5] - 2020-07-09 ### Added diff --git a/docs/source/callbacks.rst b/docs/source/callbacks.rst index e7f9153f2a..fd61bacf96 100644 --- a/docs/source/callbacks.rst +++ b/docs/source/callbacks.rst @@ -19,7 +19,7 @@ Here's the flow of how the callback hooks are executed: .. raw:: html - + An overall Lightning system should have: diff --git a/docs/source/datamodules.rst b/docs/source/datamodules.rst index a6a947bec3..fc8dadcd02 100644 --- a/docs/source/datamodules.rst +++ b/docs/source/datamodules.rst @@ -6,7 +6,7 @@ A datamodule is a shareable, reusable class that encapsulates all the steps need .. raw:: html - + | diff --git a/docs/source/index.rst b/docs/source/index.rst index e82ab046b8..597d436f42 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -27,6 +27,7 @@ PyTorch Lightning Documentation metrics results trainer + tasks .. toctree:: :maxdepth: 1 @@ -134,4 +135,5 @@ Indices and tables api/pytorch_lightning.overrides api/pytorch_lightning.profiler api/pytorch_lightning.trainer + api/pytorch_lightning.tasks api/pytorch_lightning.utilities diff --git a/docs/source/introduction_guide.rst b/docs/source/introduction_guide.rst index e13fcccfe2..5f0d4574e3 100644 --- a/docs/source/introduction_guide.rst +++ b/docs/source/introduction_guide.rst @@ -15,7 +15,7 @@ code to work with Lightning. .. raw:: html - + | diff --git a/docs/source/lightning-module.rst b/docs/source/lightning-module.rst index b6a69dcb0b..c6bf4453ba 100644 --- a/docs/source/lightning-module.rst +++ b/docs/source/lightning-module.rst @@ -16,7 +16,7 @@ A :class:`~LightningModule` organizes your PyTorch code into 5 sections .. raw:: html - + | diff --git a/docs/source/new-project.rst b/docs/source/new-project.rst index ccbfc1d724..fb0c55f6d3 100644 --- a/docs/source/new-project.rst +++ b/docs/source/new-project.rst @@ -20,7 +20,7 @@ To illustrate, here's the typical PyTorch project structure organized in a Light .. raw:: html - + ---------- @@ -68,7 +68,7 @@ well across any accelerator. .. raw:: html - + | @@ -125,7 +125,7 @@ via hooks that are called on your LightningModule. .. raw:: html - + ---------------- @@ -342,7 +342,7 @@ Here's an illustration that explains how to refactor your code into reusable Dat .. raw:: html - + | diff --git a/docs/source/tasks.rst b/docs/source/tasks.rst new file mode 100644 index 0000000000..fe9d494a95 --- /dev/null +++ b/docs/source/tasks.rst @@ -0,0 +1,3 @@ +Tasks +===== +To write diff --git a/pytorch_lightning/tasks/__init__.py b/pytorch_lightning/tasks/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/pytorch_lightning/tasks/fast_task.py b/pytorch_lightning/tasks/fast_task.py new file mode 100644 index 0000000000..baa5d40bae --- /dev/null +++ b/pytorch_lightning/tasks/fast_task.py @@ -0,0 +1,5 @@ + +class FastTask(object): + + def __init__(self): + pass diff --git a/pytorch_lightning/trainer/__init__.py b/pytorch_lightning/trainer/__init__.py index 760a4b01c6..d1d3bec819 100644 --- a/pytorch_lightning/trainer/__init__.py +++ b/pytorch_lightning/trainer/__init__.py @@ -12,7 +12,7 @@ the Trainer automates everything else. .. raw:: html - |