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
173 stars 35 forks source link

search recursively for static python #290

Closed PaliC closed 1 year ago

PaliC commented 1 year ago

Stack from ghstack (oldest at bottom):

Somehow our install tests and runtime tests for python 3.7 are broken on main due to what appears to be a linking issue. The root cause of these breakages ended up being that the static python library was moved a bit deeper into the directory we thought it would be in when using pyenv. We now search recursively for it, so that if it is there we are able to use it. Furthermore, we also fail early is we cannot find static python in order to help prevent future breakages.

Differential Revision: D42272568

PaliC commented 1 year ago

@PaliC 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

@PaliC has updated the pull request. You must reimport the pull request before landing.

PaliC commented 1 year ago

@PaliC 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

@PaliC has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot commented 1 year ago

@PaliC has updated the pull request. You must reimport the pull request before landing.

PaliC commented 1 year ago

@PaliC 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

@PaliC merged this pull request in pytorch/multipy@433822d48bd3219044f210277fef7fe4e3df44b1.