added slurm doc (#1418)

* added slurm doc

* added slurm doc
This commit is contained in:
William Falcon 2020-04-08 14:43:50 -04:00 committed by GitHub
parent 764e7e12a7
commit 5b2351cbb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -44,6 +44,7 @@ pip install pytorch-lightning
## Docs
- [master](https://pytorch-lightning.readthedocs.io/en/latest)
- [0.7.2](https://pytorch-lightning.readthedocs.io/en/0.7.2/)
- [0.7.1](https://pytorch-lightning.readthedocs.io/en/0.7.1/)
- [0.6.0](https://pytorch-lightning.readthedocs.io/en/0.6.0/)
- [0.5.3.2](https://pytorch-lightning.readthedocs.io/en/0.5.3.2/)

View File

@ -88,4 +88,9 @@ to run into the walltime, and it does the following:
2. Requeues the job.
3. When the job starts, it loads the temporary checkpoint.
.. note:: To get this behavior you have to do nothing.
To get this behavior make sure to add the correct signal to your SLURM script
.. code-block::
# 90 seconds before training ends
#SBATCH --signal=SIGUSR1@90