Skip to content

Conversation

jerryzh168
Copy link
Contributor

@jerryzh168 jerryzh168 commented Aug 31, 2020

Stack from ghstack:

Summary:

Trace back from the weight node util we hit getattr, reconstruct the graph module with the traced nodes
and run the graph module to pack the weight. then replace the original chain of ops with the packed weight.

Test Plan: Imported from OSS

Reviewed By: vkuzo

Differential Revision: D23432431

…#43728)

Summary:

Trace back from the weight node util we hit getattr, reconstruct the graph module with the traced nodes
and run the graph module to pack the weight. then replace the original chain of ops with the packed weight.

Test Plan: Imported from OSS

Reviewed By: vkuzo

[ghstack-poisoned]
@dr-ci
Copy link

dr-ci bot commented Aug 31, 2020

💊 CI failures summary and remediations

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


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-CircleCI failure(s)

ci.pytorch.org: 1 failed


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 on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 5 times.

…ack folding (#43728)"

Summary:

Trace back from the weight node util we hit getattr, reconstruct the graph module with the traced nodes
and run the graph module to pack the weight. then replace the original chain of ops with the packed weight.

Test Plan: Imported from OSS

Reviewed By: vkuzo

Differential Revision: [D23432431](https://our.internmc.facebook.com/intern/diff/D23432431)

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Aug 31, 2020
…#43728)

Summary:

Trace back from the weight node util we hit getattr, reconstruct the graph module with the traced nodes
and run the graph module to pack the weight. then replace the original chain of ops with the packed weight.

Test Plan: Imported from OSS

Reviewed By: vkuzo

ghstack-source-id: a0c8926
Pull Request resolved: #43902
@codecov
Copy link

codecov bot commented Sep 1, 2020

Codecov Report

Merging #43902 into gh/jerryzh168/422/base will increase coverage by 0.04%.
The diff coverage is 98.91%.

Impacted file tree graph

@@                    Coverage Diff                     @@
##           gh/jerryzh168/422/base   #43902      +/-   ##
==========================================================
+ Coverage                   69.25%   69.30%   +0.04%     
==========================================================
  Files                         379      379              
  Lines                       46926    46992      +66     
==========================================================
+ Hits                        32498    32566      +68     
+ Misses                      14428    14426       -2     
Impacted Files Coverage Δ
torch/quantization/fx/quantize.py 94.02% <98.80%> (+0.67%) ⬆️
torch/testing/_internal/common_quantization.py 89.54% <100.00%> (+0.05%) ⬆️
torch/testing/_internal/expecttest.py 78.57% <0.00%> (+1.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 735af79...cfba9f6. Read the comment docs.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 825c109.

@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/422/head branch September 4, 2020 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants