Skip to content

Add improved support for parallelization and related graph opts #5257

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

Closed
wants to merge 1 commit into from

Conversation

jfix71
Copy link
Contributor

@jfix71 jfix71 commented Jan 18, 2021

Summary:

  • Add RescaleQuantized parallelization support to graph opts' parallelization code
  • On NNPI, mirror Rescale parallelization for FC/Relus that come before it
  • Sink Reshapes below Quantize and ConvertTo
  • Remove unnecessary ConvertTo when following a Dequantize (i.e. just change the elem kind of the Dequantize instead)

Differential Revision: D25947824

Summary:
- Add RescaleQuantized parallelization support to graph opts' parallelization code
- On NNPI, mirror Rescale parallelization for FC/Relus that come before it
- Sink Reshapes below Quantize and ConvertTo
- Remove unnecessary ConvertTo when following a Dequantize (i.e. just change the elem kind of the Dequantize instead)

Differential Revision: D25947824

fbshipit-source-id: 897e0aa507293647fdf5ff58d0119427dcee5aee
@facebook-github-bot
Copy link

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

@facebook-github-bot
Copy link

This pull request has been merged in b0c3ec2.

facebook-github-bot pushed a commit to pytorch/pytorch that referenced this pull request Jan 24, 2021
Summary:
Pull Request resolved: pytorch/glow#5257

- Add RescaleQuantized parallelization support to graph opts' parallelization code
- On NNPI, mirror Rescale parallelization for FC/Relus that come before it
- Sink Reshapes below Quantize and ConvertTo
- Remove unnecessary ConvertTo when following a Dequantize (i.e. just change the elem kind of the Dequantize instead)

Test Plan: Added unit tests

Reviewed By: hyuen, mjanderson09

Differential Revision: D25947824

fbshipit-source-id: 771abd36a1bc7270bf1f901d1ec6cb6d78e9fd1f
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