25 tarin on three year data - #27
Conversation
|
Hi @SarahAlidoost and @meiertgrootes, I created an exmaple training process on a subset of the two year data., and ran it on Levante. In this PR I included example SLURM training process, with an README on how to config the jobs on Levante. A copy of the example run can be found on |
SarahAlidoost
left a comment
There was a problem hiding this comment.
@rogerkuou thanks for the script. Since the PR #29 fixed a few issues, we need to merge main into this branch. I also left some comments, mainly about the structure of the example.py and the code that should be run with slurm. If something is unclear, please let me know. In meantime, I will work on issue #33.
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
|
Hi @SarahAlidoost, thanks for the review! I implemented most of your comments:
I did not implemente the training utility function and will leave it to #33 . Can you give another look? |
SarahAlidoost
left a comment
There was a problem hiding this comment.
@rogerkuou thanks for addressing the comments 👍 . Here some more suggestions:
- I see that the example notebook has been changed in this PR. I cannot see exactly what is changed, but since this PR is about testing large data on HPC, let's not change the example notebook.
- No need to add inference script in this PR. For now we can skip that one. Let's focus on setup of the training on HPC in this PR. Also, in fixing #32 we can add inefrence script later.
- After implementing these suggestions and re-running the slurm job, can you please add the slurm logfile to the PR as well? Also, can you perhaps give an indication how much resources have been used to complete the job.
If something not clear, please let me know.
Hi @rogerkuou Thanks! From your comment, I understood that you ran the job for 1 hour on purpose. I don’t think that’s the best way to assess performance, but we can leave it for now. About the I’ve added some comments and made a few issues, no need to run the job at this point. We can improve the slurm job step by step later. For now, let’s keep the PR open. |
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
Thanks @SarahAlidoost, I replied all the comments in the thread or in the issue. Thanks for making the new issues. Indeed they are good next steps to investigate. For now I will keep this PR open but working on new issues. |
meiertgrootes
left a comment
There was a problem hiding this comment.
Beyond the issues that were already raised and for which separate issues have been opened this looks fine. See my comment on th eorogin of the NaN values in #41
| #SBATCH --job-name=training | ||
| #SBATCH --partition=gpu | ||
| #SBATCH --constraint=a100_80 | ||
| #SBATCH --nodes=5 |
There was a problem hiding this comment.
| #SBATCH --nodes=5 | |
| #SBATCH --nodes=1 |
There was a problem hiding this comment.
@rogerkuou for training we can only use 1 node as the current training workflow cannot be distributed over several nodes, see this line
| BEST_PATCH_SIZE = 8 | ||
| BEST_OVERLAP = 1 | ||
| BEST_EMBED_DIM = 64 | ||
| BEST_DROPOUT = 0.2 | ||
| BEST_HIDDEN = 32 | ||
| BEST_SPATIAL_DEPTH = 3 | ||
| BEST_SPATIAL_HEADS = 2 | ||
| BEST_OPTIMIZER_LR = 0.001787422899066508 | ||
| BEST_ACCUMULATION_STEPS = 2 |
There was a problem hiding this comment.
Instead of hardcoding, can we get these parameters directly from the results of the hyper parameter tuning?
fix #25
did not finish the train-validation-test split in this PR, but made a new issue #28