-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Retire legacy code in torchtext #3529
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
Comments
Hi! thanks for your contribution!, great first issue! |
I think when you know from which version you are going to change it we can implement it right away on one of the following ways (also if you have another proposal it is welcome)
|
Thanks. We will know which the version we will change. I'm just wondering if I should change this on Github first, or I can send a Diff internally to fbcode and later on sync with the master branch. I just want to know the mechanism to sync PyTorchLightening between fbcode and github. |
you can prepare a PR and later ping us when it actually, just not to forget it... |
Sounds good. For the timeline, we will drop those legacy code from the master branch early October and eventually in 0.8.0 release (10/27/2020). |
so I think that if you decided to go with version check you can send it now... |
@zhangguanheng66 There is none. PyTorch Lightning isn't linked to internal pytorch |
@ananthsub Thanks. So I have to manually fix the internal version by myself, right? Is there anyone importing OSS PyTorch Lightning to fbcode periodically? |
That’s me + our team. We have scripts to do this and update whenever there are new releases. I’ll ping you to follow up |
This issue has been automatically marked as stale because it hasn't had any recent activity. This issue will be closed in 7 days if no further activity occurs. Thank you for your contributions, Pytorch Lightning Team! |
@zhangguanheng66 what is the progress here? |
We are still cleaning up the new building blocks in torchtext so we postponed the retirement of the legacy code (maybe Nov. and December). |
This issue has been automatically marked as stale because it hasn't had any recent activity. This issue will be closed in 7 days if no further activity occurs. Thank you for your contributions, Pytorch Lightning Team! |
@zhangguanheng66 any update here, the freeze for |
For now, you can use 0.8.1 for torchtext, although the legacy code is still there. |
We have landed the PR to retire the legacy code pytorch/text#1172. This will be released in torchtext v0.9.0, and we are targeting the release date on March 4. Similar changes have been done in If you still prefer to use
|
we have some legacy separation in https://github.com/PyTorchLightning/pytorch-lightning/pull/6211/files |
❓ Questions and Help
As the maintainer of the torchtext library, we plan to retire
torchtext.data.batch.Batch
andtorchtext.data.example.Example
in the next release (by the end of October). Those two components will be still available intorchtext.legacy
. To handle the compatibility issue, should we send a PR and fix this on GitHub first, or we could just make some changes in fbcode?Here are the proposed changes:
Relevant issue: pytorch/text#985
The text was updated successfully, but these errors were encountered: