Skip to content

The Python GC does not immediately release the collected objects, so … - #49

Merged
dlibenzi merged 1 commit into
masterfrom
wait_for_handle_release
Dec 10, 2018
Merged

The Python GC does not immediately release the collected objects, so …#49
dlibenzi merged 1 commit into
masterfrom
wait_for_handle_release

Conversation

@dlibenzi

@dlibenzi dlibenzi commented Dec 8, 2018

Copy link
Copy Markdown
Collaborator

…we need to wait for it to happen before heading out.

@dlibenzi
dlibenzi requested a review from asuhan December 8, 2018 21:22
return self->mul(other);
},
py::arg("other"))
.def(

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Not sure why it does this.
I just ran clang-format-buffer :|

@dlibenzi
dlibenzi force-pushed the wait_for_handle_release branch 2 times, most recently from 8781202 to 7244ac6 Compare December 9, 2018 00:29
Comment thread third_party/xla_client/metrics.cc
@dlibenzi
dlibenzi force-pushed the wait_for_handle_release branch 2 times, most recently from 09d98f6 to 4e9b49d Compare December 9, 2018 20:05

@asuhan asuhan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Mostly ok, just concerns around naming.

Comment thread torch_xla/csrc/tensor.cpp
Comment thread torch_xla/csrc/tensor.h Outdated
…we need to wait for it to happen before heading out.
@dlibenzi
dlibenzi force-pushed the wait_for_handle_release branch from 4e9b49d to fabf380 Compare December 10, 2018 15:12
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.

2 participants