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

Minor fix to nbit_device_with_spec #1465

Closed
wants to merge 1 commit into from

Conversation

doehyun
Copy link
Contributor

@doehyun doehyun commented Nov 17, 2022

Summary:
(1) fix the bandwidth calculation: T shouldn't be multiplied as we add each individual table's config

(2) adjust zipf_oversample_ratio in request generation: previously, harcoded to 3, but it's too small if bag_size is small (though, the new value this diff sets is a bit arbitrary).

(3) when generating requests, change alpha to 1.0 (even if user arg was > 1.0), if num_embeedings / bag_size < 2.0 -- zipf becomes too skewed and fails if this ratio is too low (again, 2.0 is a bit arbitrary)

Differential Revision: D41370889

Summary:
(1) fix the bandwidth calculation: T shouldn't be multiplied as we add each individual table's config

(2) adjust zipf_oversample_ratio in request generation: previously, harcoded to 3, but it's too small if bag_size is small (though, the new value this diff sets is a bit arbitrary).

(3) when generating requests, change alpha to 1.0 (even if user arg was > 1.0), if num_embeedings / bag_size < 2.0 -- zipf becomes too skewed and fails if this ratio is too low (again, 2.0 is a bit arbitrary)

Differential Revision: D41370889

fbshipit-source-id: 242111a0f0b6cc7e4efb9b4097d3ecdd3a4957c0
@netlify
Copy link

netlify bot commented Nov 17, 2022

Deploy Preview for pytorch-fbgemm-docs canceled.

Name Link
🔨 Latest commit 17a1b50
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/63767622d2f2190008eaca3b

@facebook-github-bot
Copy link
Contributor

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

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.

2 participants