Skip to content

Conversation

ahmadsharif1
Copy link
Contributor

Without this flag, on slurm 23.11.10 we get this error:

sbatch: error: Failed to validate job spec. --gpus-per-task or --tres-per-task used without either --gpus or -n/--ntasks is not allowed.
sbatch: error: Invalid generic resource (gres) specification

Test plan:

Manually tested with slurm 23.11.10 and made sure the job was launched

Without this flag, on slurm 23.11.10 we get this error:

```
sbatch: error: Failed to validate job spec. --gpus-per-task or --tres-per-task used without either --gpus or -n/--ntasks is not allowed.
sbatch: error: Invalid generic resource (gres) specification
```
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 24, 2025
@facebook-github-bot
Copy link
Contributor

@kiukchung has imported this pull request. If you are a Meta employee, you can view this in D80951414.

@kiukchung kiukchung marked this pull request as ready for review August 25, 2025 17:25
@facebook-github-bot
Copy link
Contributor

@kiukchung has imported this pull request. If you are a Meta employee, you can view this in D80951414.

@kiukchung kiukchung merged commit 2291b93 into meta-pytorch:main Aug 25, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants