Git Product home page Git Product logo

Comments (4)

cboneti avatar cboneti commented on July 4, 2024 1

Submitted #1691.

from hpc-toolkit.

cboneti avatar cboneti commented on July 4, 2024

Hi Yaroslav,

Thank you for pointing this out. This can be adjusted by changing the node group and partition definition to:

 - id: a2_8_node_group
    source: community/modules/compute/schedmd-slurm-gcp-v5-node-group
    settings:
      node_count_dynamic_max: 16
      machine_type: a2-ultragpu-8g
      bandwidth_tier: gvnic_enabled
      instance_image:
        family: $(vars.family)
        project: $(vars.project)
      disk_type: pd-ssd
      disk_size_gb: 100
      node_conf:
        Sockets: 2
        CoresPerSocket: 24
      service_account:
        email: $(compute_sa.service_account_email)
        scopes:
        - https://www.googleapis.com/auth/cloud-platform

  # use `-p a208` to submit jobs to this partition:
  # ex: `srun -p a208 --gpus-per-node=8 -N 1 nvidia-smi`
  - id: a2_8_partition
    source: community/modules/compute/schedmd-slurm-gcp-v5-partition
    use: [a2_8_node_group, network1, homefs, projectsfs, scratchfs]
    settings:
      partition_name: a208
      # This makes this partition look for machines in any of the following zones
      # https://github.com/GoogleCloudPlatform/hpc-toolkit/tree/develop/community/modules/compute/schedmd-slurm-gcp-v5-partition#compute-vm-zone-policies
      zones: $(vars.gpu_zones)
      partition_conf:
        DefMemPerGPU: 160000
        DefMemPerCPU: null

I will submit a PR to fix this in the example file shortly.

from hpc-toolkit.

yaroslavvb avatar yaroslavvb commented on July 4, 2024

BTW, I'm confused about specifying both image and disks size.

What happens if image size is different from disk size?

  family: $(vars.family)
        project: $(vars.project)
      disk_type: pd-ssd
      disk_size_gb: 100

from hpc-toolkit.

cboneti avatar cboneti commented on July 4, 2024

Disk size should be equal or larger than the image size.

from hpc-toolkit.

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.