Certain operations just spawn a new process #4947
Replies: 1 comment
-
Found a fix, just add:
like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I have been playing around with PyO3 a bit and enjoy it if it would not be so unstable. Certain Python module functions cause it to just spawn a new process...
I noticed it for: transformers model execution, tqdm and openTSNE
I also found this related issue: https://stackoverflow.com/questions/77522832/call-to-python-class-constructor-from-rust-with-pyo3-spawns-new-processes
Any idea how to deal / fix it gracefully?
Example code (resulting in permanent starting of new process...):
main.py:
main.rs:
Beta Was this translation helpful? Give feedback.
All reactions