Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix run_tbe_benchmark.py so that it benchmarks all shapes supplied to it #2300

Closed
wants to merge 1 commit into from

Conversation

excelle08
Copy link

Summary: Previously run_tbe_benchmark.py will only supply one bag size to the --bag-size-list parameter of split_table_batched_embeddings_benchmark. This will cause the benchmark to only run the first shape supplied to it. This diff fixes this bug by supplying N copies of bag_size to --bag-size-list parameter (N = number of shapes).

Reviewed By: jspark1105

Differential Revision: D53276155

Copy link

netlify bot commented Jan 31, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit ad759e7
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/65bb0fd305a26f0008fb7fb1
😎 Deploy Preview https://deploy-preview-2300--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@facebook-github-bot
Copy link
Contributor

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

excelle08 pushed a commit to excelle08/FBGEMM that referenced this pull request Feb 1, 2024
… it (pytorch#2300)

Summary:

Previously `run_tbe_benchmark.py` will only supply one bag size to the `--bag-size-list` parameter of split_table_batched_embeddings_benchmark. This will cause the benchmark to only run the first shape supplied to it. This diff fixes this bug by supplying N copies of bag_size to `--bag-size-list` parameter (N = number of shapes).

Reviewed By: jspark1105

Differential Revision: D53276155
@facebook-github-bot
Copy link
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

… it (pytorch#2300)

Summary:

Previously `run_tbe_benchmark.py` will only supply one bag size to the `--bag-size-list` parameter of split_table_batched_embeddings_benchmark. This will cause the benchmark to only run the first shape supplied to it. This diff fixes this bug by supplying N copies of bag_size to `--bag-size-list` parameter (N = number of shapes).

Reviewed By: jspark1105

Differential Revision: D53276155
excelle08 pushed a commit to excelle08/FBGEMM that referenced this pull request Feb 1, 2024
… it (pytorch#2300)

Summary:

Previously `run_tbe_benchmark.py` will only supply one bag size to the `--bag-size-list` parameter of split_table_batched_embeddings_benchmark. This will cause the benchmark to only run the first shape supplied to it. This diff fixes this bug by supplying N copies of bag_size to `--bag-size-list` parameter (N = number of shapes).

Reviewed By: jspark1105

Differential Revision: D53276155
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 50ecd52.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants