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

Cherry-pick: Place shape related compute nodes in CPU (#4940) #5350

Merged
merged 1 commit into from
Oct 2, 2020

Conversation

ashbhandare
Copy link
Contributor

@ashbhandare ashbhandare commented Oct 1, 2020

  • Place shape related nodes in CPU
  • visit candidates by topological order
  • Make CPU node placement a utility function
  • skip placing on CPU if the data typs is float16 or bfloat16

To reduce memcopies from and to host.

* Place shape related nodes in CPU
* visit candidates by topological order
* Make CPU node placement a utility function
* skip placing on CPU if the data typs is float16 or bfloat16
@ashbhandare ashbhandare requested a review from a team as a code owner October 1, 2020 17:10
@edgchen1 edgchen1 merged commit 38e1bbc into rel-orttraining_rc3 Oct 2, 2020
@edgchen1 edgchen1 deleted the aibhanda/rc3-rel branch October 2, 2020 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants