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

[fused_rmsnorm] Avoid querying device inside forward #301

Closed
wants to merge 1 commit into from

Conversation

wconstab
Copy link
Contributor

@wconstab wconstab commented May 3, 2024

Stack from ghstack (oldest at bottom):

Get sm_count another way to work around issues with meta-device tracing

Note: this PR isn't strictly safe as it burns in device 0's sm count

[ghstack-poisoned]
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 3, 2024
wconstab added a commit that referenced this pull request May 3, 2024
Get sm_count another way to work around issues with meta-device tracing

Note: this PR isn't strictly safe as it burns in device 0's sm count

ghstack-source-id: c93de7611d01812a56008bab8b27d9e26e1f3193
Pull Request resolved: #301
@wconstab
Copy link
Contributor Author

abandoned

@wconstab wconstab closed this Jun 12, 2024
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 Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants