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

[Pluggable Device] Add custom device mem allocator for Pluggable device. #47921

Merged

Conversation

kulinseth
Copy link
Contributor

@kulinseth kulinseth commented Mar 19, 2021

The commit provides a simple alternative to BFCAllocator for Pluggable devices
to do their own device memory management.

@penpornk , @annarev , @jzhoulon

…ces.

The commit provides a simple alternative to BFCAllocator for Pluggable devices
to do their own device memory management.
@google-ml-butler google-ml-butler bot added the size:M CL Change Size: Medium label Mar 19, 2021
@google-cla google-cla bot added the cla: yes label Mar 19, 2021
@penpornk penpornk self-requested a review March 19, 2021 16:43
Copy link
Member

@penpornk penpornk left a comment

Choose a reason for hiding this comment

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

Thank you very much for the PR! I think you forgot to add pluggable_device_simple_allocator.cc and pluggable_device_simple_allocator.h?

@kulinseth
Copy link
Contributor Author

Thank you very much for the PR! I think you forgot to add pluggable_device_simple_allocator.cc and pluggable_device_simple_allocator.h?

Ah, thanks!. Added it.

@gbaned gbaned self-assigned this Mar 19, 2021
@gbaned gbaned added this to Assigned Reviewer in PR Queue via automation Mar 19, 2021
PR Queue automation moved this from Assigned Reviewer to Approved by Reviewer Mar 19, 2021
Copy link
Member

@penpornk penpornk left a comment

Choose a reason for hiding this comment

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

Thank you for the changes!

@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Mar 19, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Mar 19, 2021
@rthadur
Copy link
Contributor

rthadur commented Mar 19, 2021

@kulinseth can you please check sanity build failures ?

@penpornk
Copy link
Member

@rthadur They are minor formatting errors. In the interest of time (since the branch cut is next week), I'll just manually import the PR and fix them. :) I'm just waiting for the oneDNN and Windows Bazel GPU CI builds to finish.

@kulinseth
Copy link
Contributor Author

Thanks a lot @penpornk. Please let me know if there is needed form my side.

@copybara-service copybara-service bot merged commit 8fac95d into tensorflow:master Mar 22, 2021
PR Queue automation moved this from Approved by Reviewer to Merged Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes ready to pull PR ready for merge process size:M CL Change Size: Medium
Projects
PR Queue
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

5 participants