Giter Club home page Giter Club logo

Comments (8)

williamFalcon avatar williamFalcon commented on May 5, 2024

Glad you found it useful! I'll put a SLURM tutorial together tomorrow.
In the meantime, check out the multi-node example:

https://github.com/williamFalcon/pytorch-lightning/blob/master/pytorch_lightning/examples/new_project_templates/multi_node_cluster_template.py

from lightning.

shuxp avatar shuxp commented on May 5, 2024

Thanks. Looking forward to see SLURM tutorial.

from lightning.

williamFalcon avatar williamFalcon commented on May 5, 2024

Put the tutorial together here.
Try it out and lmk what you think.

https://link.medium.com/Bs6NxJyjRY

from lightning.

williamFalcon avatar williamFalcon commented on May 5, 2024

Closing this because the tutorial has been created :)

But, feel free to add a comment if the tutorial is missing something or needs clarification.

from lightning.

shuxp avatar shuxp commented on May 5, 2024

Closing this because the tutorial has been created :)

But, feel free to add a comment if the tutorial is missing something or needs clarification.

In the blog, there is a comment:

Disclaimer: This tutorial assumes your cluster is managed by SLURM.

In fact, I have no idea about how to manage cluster using slurm...

When cluster is managed by slurm, I can try PTL in my cluster.

from lightning.

williamFalcon avatar williamFalcon commented on May 5, 2024

SLURM is installed by your cluster administrator. I guess here I’m using cluster to refer to an academic or corporate cluster.

If it’s literally your own cluster with your own machines then PTL may not support that case because it uses NCCL to communicate and a few flags SLURM sets.

But if it’s an academic or corporate cluster, it most likely has SLURM installed.

If you use srun or sbatch to run jobs, then you’re using SLURM.

from lightning.

shuxp avatar shuxp commented on May 5, 2024

Yes, now I want to try slurm by myself...

from lightning.

 avatar commented on May 5, 2024

I did not feel SLURM convenient than Horovod.

from lightning.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.