-
Notifications
You must be signed in to change notification settings - Fork 812
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
[RFC] Deprecate/Stop TorchText releases starting with Pytorch release 2.4 #2250
Comments
Do we recommend any alternatives? Ex: TorchServe has a text_classifier handler and tests associated with these ( uses TorchText) So, wondering whats the strategy. Should we replace it with HuggingFace and PyTorch would come up another solution at a later date? |
Can we release TorchText in PyTorch 2.3 for all platforms (ex: aarch64, not sure what other platform has this missing for PyTorch 2.2) ? |
Yes. we will release same set of binaries as for PyTorch 2.2: |
This would be case-by-case. For the TorchServe example the simple alternative is to copy/paste the one functionality that was used from torchtext into the example. It's very short and simple, so that's a viable solution. https://github.com/pytorch/text/blob/main/torchtext/data/utils.py#L207-L228 |
Thanks. This seems like a good idea. We also use |
cc @matthewdzmura @seemethere : releng team and @malfet propose to stop releasing TorchText as of release 2.3 since we can't ensure the quality of the release. |
What would be the alternative if I need a preprocessing for bert / vocab / regex operations compiled with my model? |
keras.io is a viable alternative ... |
Is there any alternative for c++-only environments, that need native tokenizers now? |
Does not really work if you are using triton servers |
I find it super annoying that they are not providing us a viable replacement, for us that needs to compile the graph with a pre/post head graph. In tensorflow you can add text processing as part of your graph without installing anything |
🚀 Deprecation of TorchText releases
As of September 2023 we have paused active development of TorchText because our focus has shifted away from building out this library offering.
We would like to do the following:
For reference here is the PyTorch Release schedule:
https://github.com/pytorch/pytorch/blob/main/RELEASE.md#release-cadence
cc @seemethere @malfet @matthewdzmura @NicolasHug
The text was updated successfully, but these errors were encountered: