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

Teach is_signature_compatible() to dig into similar annotations #2693

Closed
wants to merge 1 commit into from

Conversation

aorenste
Copy link
Contributor

Summary: D68450007 updated some annotations in pytorch. This function wasn't correctly evaluating typing.Dict[X, Y] and dict[X, Y] as the equivalent.

Differential Revision: D68475380

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 22, 2025
@facebook-github-bot
Copy link
Contributor

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

…rch#2693)

Summary:

D68450007 updated some annotations in pytorch. This function wasn't correctly evaluating `typing.Dict[X, Y]` and `dict[X, Y]` as the equivalent.

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

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

Copy link

@izaitsevfb izaitsevfb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forward fix for pytorch/pytorch#145175

failures are on trunk

PaulZhang12 pushed a commit that referenced this pull request Jan 28, 2025
Summary:
Pull Request resolved: #2693

D68450007 updated some annotations in pytorch. This function wasn't correctly evaluating `typing.Dict[X, Y]` and `dict[X, Y]` as the equivalent.

Reviewed By: izaitsevfb

Differential Revision: D68475380

fbshipit-source-id: 3b71ab41f95e6c20986ebe6fbf6f9cbe3b3d58f9
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants