FBGEMM icon indicating copy to clipboard operation
FBGEMM copied to clipboard

Use device index as zero if there is only one device

Open banitag1 opened this issue 2 years ago • 22 comments

Summary: We are seeing that many benchmark use "cuda" instead of "cuda:0", so index is not properly set. This diff adds a simple change to set the target index as zero if there is only one cuda device.

Differential Revision: D49001887

banitag1 avatar Sep 06 '23 06:09 banitag1

Deploy Preview for pytorch-fbgemm-docs canceled.

Name Link
Latest commit 43e444f7f058ca936fd15aff73d212ec25bbada5
Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/64f8c452ea906200085edef2

netlify[bot] avatar Sep 06 '23 06:09 netlify[bot]

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 06:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 17:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 17:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 17:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 17:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 18:09 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D49001887

facebook-github-bot avatar Sep 06 '23 18:09 facebook-github-bot