Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

sweep_slurm.sbatch 652 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  1. #!/bin/bash
  2. #SBATCH --nodes=2
  3. #SBATCH --ntasks-per-node=1
  4. #SBATCH --exclude=kea31
  5. #SBATCH --cpus-per-task=4
  6. #SBATCH --partition=ccgp
  7. #SBATCH --time=4:00:0
  8. #SBATCH --output=slurm-%j.log
  9. #SBATCH --chdir=/home/werner-ch/repos/deadtrees/
  10. date;hostname;id;pwd
  11. echo 'activating virtual environment'
  12. micromamba activate deadtrees
  13. which python
  14. config_yaml='/home/werner-ch/repos/deadtrees/sweep.yaml'
  15. echo 'config:' $config_yaml
  16. train_file='/home/werner-ch/repos/deadtrees/run.py'
  17. echo 'train_file:' $train_file
  18. project_name='deadtrees'
  19. echo 'project_name:' $project_name
  20. echo 'running script'
  21. python sweep_slurm.py $config_yaml $train_file $project_name
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...