-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[Package]: torchtext (python-torchtext) #19405
Comments
To quote the relevant section from the packaging policy.
This module looks like it should be installable through pip with minimal tweaking to the flags. |
I tried install using pip install torchtext, buy when it goes to sentencepiece wheel it got the signal 9 error and closes termux. after I disabled the limit of phantom process, termux closes itself when trying to compile the sentencepiece part of torchtext installation. can't get the output but can try recording a video for it |
XRecorder_03032024_205306.mp4I tried recording a few times, but everytime the video recorder is killed a few seconds before termux got killed. So I tried pip install sentencepiece to install the dependence before installing torchtext: XRecorder_03032024_211316.mp4this time I got the signal 9 kill, tried again and termux got killed at the same time without signal 9 error message. |
Logs must be submitted as properly formatted text, not as video. |
Signal 9 likely related to phantom process killer. How to disable phantom process killer: https://github.com/agnostic-apollo/Android-Docs/blob/master/en/docs/apps/processes/phantom-cached-and-empty-processes.md#commands-to-disable-phantom-process-killing-and-tldr |
I did this guide, then instead of signal 9 the Termux is killed instead. That's why I can't get the text output. only the video. it closes itself |
pip install --verbose torchtext |
pip install --verbose --verbose torchtext it crashes after Using cached torchtext-0.6.0-py3-none-any.whl (64 kB) apparently it tries to compile sentencepiece to install torchtext but it doesn't get redirected to the log because the crash |
Why is it worth to add this package?
Because there is already the package python-torch, python-torchaudio and python-torchvision.
I'm trying to use it in a project for a GAN text-based along torch in python, but the torchtext install is unavailable through pkg. It fails through pip install
Home page URL
No response
Source code URL
https://github.com/pytorch/text
Packaging policy acknowledgement
Additional information
I need to use torchtext on a project along torch. So I used pkg search torchtext and got only python-torch, python-torchaudio and python-torchvision. already installed these, so I tried going through pip install torchtext. When it got around sentencepiece wheel, I got the signal 9 error on termux.
After that I disabled the limit on phantom process on Android 12 to try again but instead of getting error, the Termux app just closes in the same part.
That's why Im requesting the torchtext (python-torchtext) package.
The text was updated successfully, but these errors were encountered: