Skip to content

Commit 5b2351c

Browse files
added slurm doc (#1418)
* added slurm doc * added slurm doc
1 parent 764e7e1 commit 5b2351c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ pip install pytorch-lightning
4444

4545
## Docs
4646
- [master](https://pytorch-lightning.readthedocs.io/en/latest)
47+
- [0.7.2](https://pytorch-lightning.readthedocs.io/en/0.7.2/)
4748
- [0.7.1](https://pytorch-lightning.readthedocs.io/en/0.7.1/)
4849
- [0.6.0](https://pytorch-lightning.readthedocs.io/en/0.6.0/)
4950
- [0.5.3.2](https://pytorch-lightning.readthedocs.io/en/0.5.3.2/)

docs/source/slurm.rst

+6-1
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,9 @@ to run into the walltime, and it does the following:
8888
2. Requeues the job.
8989
3. When the job starts, it loads the temporary checkpoint.
9090

91-
.. note:: To get this behavior you have to do nothing.
91+
To get this behavior make sure to add the correct signal to your SLURM script
92+
93+
.. code-block::
94+
95+
# 90 seconds before training ends
96+
#SBATCH --signal=SIGUSR1@90

0 commit comments

Comments
 (0)