-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check point #144
Comments
Hi Nico, How large is the data set and how far is it getting in the log? Are you using a GPU? If things are slow in training the VAE you can try to:
pinging @jakobnissen as he is more up to date with it Best, Simon |
Hi Simon, Thanks for the quick answer! Here is the log file: Cheers! Nico |
Dear @ntromas You have 13.3M contigs in 138 samples, which is quite a lot to train without a GPU. I see two reasons it could be slow:
Vamb will train for 500 epochs, but after epoch 300, the batch size will double again so it will be faster. Nonetheless, it'll probably take a few more days... To answer your question directly, there is no command-line interface to resume from a previous run, although maybe we should add that. However, Vamb does save all the relevant files from each step, so it should be possible to resume a run. Although the training is a single "step", so if that is interrupted, there is unfortunately no way to remume. You can look at the tutorial (in the |
Hi! I can increase the RAM to 1T if necessary. I can also use GPU but not sure how/if Vamb will automatically recognizes it. For now I followed Simon's advices and I played a bit with -e and -t. But I will use Vamb with much more metagenomes the following weeks, and I will have the same "time" limits so it would be great to optimize the use of CPUs, RAM and GPUs... If I batch samples by 20 or 30, what would be the impact on binning compared to 1 batch of 138 samples? (Not sure I understood you correctly here, sorry...) Thanks for your help! Cheers, Nico |
Hi Nico, I would highly recommend using a GPU - it can reduce the running time a lot. It should be easy to get VAMB to run using a GPU, it is basically just adding the Best, Simon |
Hi Simon, Thanks! It worked perfectly and super quick...Impressive! Cheers! Nico |
Great it got solved. I'll keep this issue up because adding checkpoints is definitely something we could think about for the future. |
Hi Vamb team,
Thanks for such nice tool! My run is taking several days (>5) and has not finished yet. I wonder if there is some way to accelerate the process (we are limited in termed of run time on our server) or if there is some check point (a bit like megahit for example) to restart a run from the last check point.
Cheers,
Nico
The text was updated successfully, but these errors were encountered: