https://github.com/yanndubs/sigterm-bug
https://github.com/yanndubs/sigterm-bug
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yanndubs/sigterm-bug
- Owner: YannDubs
- Created: 2022-09-26T03:09:01.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-26T22:03:29.000Z (about 3 years ago)
- Last Synced: 2025-01-24T09:41:36.767Z (9 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
1. Install dependencies:
- either `pip install -r requirements.txt`
- or `pip install pytorch-lightning hydra-submitit-launcher hydra-core submitit pytorch-lightning-bolts scikit-learn`2. Configure your slurm parition by changing `partition: ` in `config/sigterm.yaml`
3. Run the code `python main.py -m`
4. Check the logs. The logging file will be written in the terminal. Eg. `less multirun/2022-09-25/20-28-21/0/main.log`
5. You will see the logs full of `Bypassing signal SIGTERM`