Skip to content

Fix more JIT tests under Python-3.9#51182

Closed
malfet wants to merge 1 commit intomasterfrom
malfet/fix-test-jit-python-3.9
Closed

Fix more JIT tests under Python-3.9#51182
malfet wants to merge 1 commit intomasterfrom
malfet/fix-test-jit-python-3.9

Conversation

@malfet
Copy link
Copy Markdown
Contributor

@malfet malfet commented Jan 27, 2021

Mostly replace global Foo with make_global(Foo)
The only real fix is generating Subscript annotation, which is a follow up from #48676

Fixes #49617

@malfet malfet requested review from a team, SplitInfinity and gmagogsfm January 27, 2021 04:52
Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@malfet has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added cla signed oncall: jit Add this issue/PR to JIT oncall triage queue labels Jan 27, 2021
@facebook-github-bot
Copy link
Copy Markdown
Contributor

facebook-github-bot commented Jan 27, 2021

💊 CI failures summary and remediations

As of commit 4737682 (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Copy link
Copy Markdown
Contributor

@gmagogsfm gmagogsfm left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for fixing them!

(There are a few lint errors that need to be taken care of)

Mostly replace `global Foo` with `make_global(Foo)`
The only real fix is generating Subscript annotation, which is a follow up from #48676
@malfet malfet force-pushed the malfet/fix-test-jit-python-3.9 branch from fd7424b to 4737682 Compare January 27, 2021 15:11
Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@malfet has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 27, 2021

Codecov Report

Merging #51182 (4737682) into master (e2041ce) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #51182      +/-   ##
==========================================
- Coverage   80.87%   80.87%   -0.01%     
==========================================
  Files        1931     1931              
  Lines      210547   210548       +1     
==========================================
- Hits       170279   170271       -8     
- Misses      40268    40277       +9     

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@malfet merged this pull request in 00adc7b.

@malfet malfet deleted the malfet/fix-test-jit-python-3.9 branch January 27, 2021 19:11
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Mostly replace `global Foo` with `make_global(Foo)`
The only real fix is generating Subscript annotation, which is a follow up from pytorch#48676

Fixes pytorch#49617

Pull Request resolved: pytorch#51182

Reviewed By: gmagogsfm

Differential Revision: D26095244

Pulled By: malfet

fbshipit-source-id: 0e043d9a2cf43fff71dfbb341f708cd7af87c39a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recent Python versions break JIT tests (locally defined classes don't work well, even with global)

3 participants