Skip to content

Conversation

flaviotruzzi
Copy link
Contributor

Summary:
torch._check expects a string, however this was passing a lambda function that returned a string, which was causing a issues when compiling the code with PT2.

Just cleaned it up to use f-string.

Differential Revision: D82347053

Copy link

netlify bot commented Sep 12, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit c46bd47
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-fbgemm-docs/deploys/68c84c31749a8c00081a5d06
😎 Deploy Preview https://deploy-preview-4871--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 project configuration.

@meta-cla meta-cla bot added the cla signed label Sep 12, 2025
@facebook-github-bot
Copy link
Contributor

@flaviotruzzi has exported this pull request. If you are a Meta employee, you can view the originating diff in D82347053.

Summary:

torch._check expects a string, however this was passing a lambda function that returned a string, which was causing a issues when compiling the code with PT2.

Just cleaned it up to use f-string.

Reviewed By: spcyppt

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

@flaviotruzzi has exported this pull request. If you are a Meta employee, you can view the originating diff in D82347053.

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