pytorch / multipy

torch::deploy (multipy for non-torch uses) is a system that lets you get around the GIL problem by running multiple Python interpreters in a single C++ process.
Other
174 stars 35 forks source link

Document PyTorch's dependency on interpreter_impl.cpp details. #317

Closed kumpera closed 1 year ago

kumpera commented 1 year ago

PyTorch needs a stable way to detect if it's running under multipy so we document the current workaround as the way to do it to, hopefully, avoid future breakage if it needs to change.

albanD commented 1 year ago

@PaliC can you help merging this? It is just a comment so should be pretty easy.

PaliC commented 1 year ago

Can you import this into fbsource

facebook-github-bot commented 1 year ago

@kumpera has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 1 year ago

@kumpera merged this pull request in pytorch/multipy@f98034c9065fdc631f6bdc629a08d9cd7346d726.