Skip to content

Conversation

atalman
Copy link
Contributor

@atalman atalman commented Sep 4, 2025

@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 Sep 4, 2025
Copy link

vercel bot commented Sep 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Updated (UTC)
torchci Ignored Ignored Preview Sep 4, 2025 5:25pm

@@ -133,7 +133,7 @@ jobs:
environment: ${{(inputs.trigger-event == 'schedule' || (inputs.trigger-event == 'push' && (startsWith(github.event.ref, 'refs/heads/nightly') || startsWith(github.event.ref, 'refs/tags/v')))) && 'pytorchbot-env' || ''}}
container:
image: ${{ matrix.container_image }}
options: ${{ matrix.gpu_arch_type == 'cuda' && '--gpus all' || ' ' }}
options: ${{ matrix.gpu_arch_type == 'cuda' && '--gpus ''all,"capabilities=compute,utility,video"''' || ' ' }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this syntax is correct. Wouldn't '-- gpus ' end the first single quote. Then 'all,"capabilities=compute,utility,video"' be the next single quote followed by a '' which does nothing?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this will work instead?

Suggested change
options: ${{ matrix.gpu_arch_type == 'cuda' && '--gpus ''all,"capabilities=compute,utility,video"''' || ' ' }}
options: ${{ matrix.gpu_arch_type == 'cuda' && '--gpus "all,capabilities=compute,utility,video"' || '' }}

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.

Need libnvcuvid.so in CUDA wheel buidling job
2 participants