Skip to content

[const_fold] Set requires_grad based on the folded tensor; add device_for_folding option#79067

Closed
jfix71 wants to merge 1 commit intopytorch:masterfrom
jfix71:export-D36975932
Closed

[const_fold] Set requires_grad based on the folded tensor; add device_for_folding option#79067
jfix71 wants to merge 1 commit intopytorch:masterfrom
jfix71:export-D36975932

Conversation

@jfix71
Copy link
Contributor

@jfix71 jfix71 commented Jun 7, 2022

Summary: att

Test Plan: Added unit test coverage for tensor_meta part.

Reviewed By: wushirong

Differential Revision: D36975932

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Jun 7, 2022

🔗 Helpful links

✅ No Failures (0 Pending)

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

Expand to see more

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


This comment was automatically generated by Dr. CI (expand for details).

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

Click here to manually regenerate this comment.

@facebook-github-bot
Copy link
Contributor

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

Copy link
Contributor

@dborkovic dborkovic left a comment

Choose a reason for hiding this comment

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

Other than checking that the results are equal in line 670, do we need to check that the graph structure has changed in any particular fashion?

…_for_folding option (pytorch#90)

Summary:
X-link: meta-pytorch/fx2trt#90

Pull Request resolved: pytorch#79067

att

Test Plan: Added unit test coverage for tensor_meta part.

Reviewed By: yinghai

Differential Revision: D36975932

fbshipit-source-id: 228bc2d501f411b6fc2aeeb7efe5140a631697ea
@jfix71 jfix71 force-pushed the export-D36975932 branch from becaad2 to b1cdc1c Compare June 11, 2022 23:46
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a merge job. Check the current status here

@github-actions
Copy link
Contributor

Hey @jfix71.
You've committed this PR, but it does not have both a 'release notes: ...' and 'topics: ...' label. Please add one of each to the PR. The 'release notes: ...' label should represent the part of PyTorch that this PR changes (fx, autograd, distributed, etc) and the 'topics: ...' label should represent the kind of PR it is (not user facing, new feature, bug fix, perf improvement, etc). The list of valid labels can be found here for the 'release notes: ...' and here for the 'topics: ...'.
For changes that are 'topic: not user facing' there is no need for a release notes label.

facebook-github-bot pushed a commit that referenced this pull request Jun 14, 2022
…_for_folding option (#90)

Summary:
X-link: meta-pytorch/fx2trt#90

Pull Request resolved: #79067

att

Test Plan: Added unit test coverage for tensor_meta part.

Reviewed By: yinghai

Differential Revision: D36975932

fbshipit-source-id: 17e309b17b3ba66cda0e7d5712089d860a5e125e
@jfix71 jfix71 added release notes: fx release notes category topic: bug fixes topic category labels Jun 15, 2022
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.

4 participants