Skip to content

cli/v1.2.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@deepsquare-bot deepsquare-bot released this 27 Nov 17:52
· 331 commits to main since this release

BREAKING: Migrated job.resources.gpusPerTask to job.resources.gpus

gpus are now allocated for the whole job instead of "per task". This will allow heterogenous steps, example:

resources:
  tasks: 5
  gpus: 4

steps:
  - launch: # Launch async
      steps:
        command: echo "no gpu"

  - run: # 4 gpus
      resources:
        tasks: 4
        gpusPerTask: 1
      command: nvidia-smi

step.run.resources.gpusPerTask is still there and now defaults to 0 instead of inheriting the job.resources.gpusPerTask. This means that to migrate old jobs, this would require to explicitely add gpusPerTask to steps. Example:

Before:

resources:
  tasks: 4
  gpusPerTask: 1

steps:
  - run:
      command: nvidia-smi

After:

resources:
  tasks: 4
  gpus: 4

steps:
  - run:
      resources:
        gpusPerTask: 1
      command: nvidia-smi

SHA256 Checksums

022e5040402a516610a7aeeff64093650219f9fa75ad9b747041f89f39a33beb *dps-darwin-amd64
da0a4932d0a513d1e06ed036930990b5744b16b4a3cfd49aca896f29ce7d14ae *dps-darwin-arm64
9c2912ed0796dd6d7d8c7d45d45928865d901fbaec59b2157dff57a08d021c77 *dps-freebsd-arm64
9c2912ed0796dd6d7d8c7d45d45928865d901fbaec59b2157dff57a08d021c77 *dps-freebsd-arm64
fb6cd18a2aab587835c6d2e188cdf3543b34f718501de2aa3a24fcc82475ecf9 *dps-linux-amd64
b3318ef27176ad6f85c2df08daa4bdc1dce66cf19a6ea87a86e107d7d8806b42 *dps-linux-arm64
7633083a911a0253e677870a7ccb47287f756a8e641a1688216836b4283b78b0 *dps-linux-mips64
64600e43a28895b031ce1c8388446655e28b5f56dffe8aa0ddd07571f1b6360e *dps-linux-mips64le
eea723f476d194cf6af52aee020ba72428a29d4936b50a79de6a6e8cdba99b75 *dps-linux-ppc64
dab31053ca4722b8964566b3fa42d05b5f81d65d2eefdd083d86b78ee3d68bab *dps-linux-ppc64le
1dc719a4b22196c451d1277266ed0b458dcf283699bd255170da3fe079f644fb *dps-linux-riscv64
85192d5a67fd15207f44a08831c279f6d8d9d91f81c3482876328b2e1d4a6ff7 *dps-linux-s390x
c223ab6ed13460d3bb8e966f93b7be0c9e1a6038fe5c045e0c05e5aaab64d233 *dps-windows-amd64.exe