-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
PyOxidizer Hangs when Handling Text Encoding (SentenceTransformers) #728
Comments
Issue solved. closing to not make it stale. |
@bm777 how was your issue resolved, trying something similar but not success so far |
Are you also using library like PyTorch or numpy and pandas? |
Yes I am using torch, so guessing it's related, Thank you for quick response though |
can you share pyoxidezer config file? it will be easy for me to point out what is missing or wrong. |
Here my config file as well dependencies, I am able to build without torch |
would you wait for this weekend, because i'm about to write a hello-world and how to add libraries like torch. |
Most definitely, thank you so much |
Issue Summary
@indygreg
I am experiencing difficulties with PyOxidizer while generating an executable for my Python project. Specifically, the process seems to get stuck during text encoding, and
I suspect it may be related to the loading of "file".(I wrote a python script to verify every file in the sentence-transformers libraries, it doesn't contains file string) Because all libraries like numpy, huggingface-cli work well in the bundle.Steps to Reproduce
Expected Behavior
I want the app to encode the text using the sentenceTransformers lib, that I successfully loaded in the lib close to the exec.
Actual Behavior
When it comes to encode the text, it stuck it do nothing. I detected that by ainserting a simple print before and after the line. And it never reach the after-print.
Environment Information
The text was updated successfully, but these errors were encountered: