text icon indicating copy to clipboard operation
text copied to clipboard

torchtext.legacy.data not available

Open alvynabranches opened this issue 3 years ago • 1 comments

🐛 Bug

Describe the bug A clear and concise description of what the bug is.

torchtext.legacy.data module is not available in torchtext==0.11.0 (torch==1.11)

Environment

Please copy and paste the output from our environment collection script (or fill out the checklist below manually).

You can get the script and run it with:

wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
python -c "import torchtext; print(\"torchtext version is \", torchtext.__version__)"
  • PyTorch Version (e.g., 1.): 1.9.1
  • OS (e.g., Linux): Windows 11
  • How you installed PyTorch (conda, pip, source): pip
  • Build command you used (if compiling from source):
  • Python version: 3.9.13
  • CUDA/cuDNN version: 11.3
  • GPU models and configuration:
  • Any other relevant information:

Additional context Add any other context about the problem here.

alvynabranches avatar Jun 12 '22 19:06 alvynabranches

hmm, interesting. It should be available in 0.11 version, we have removed it in 0.12 release.

parmeet avatar Jun 13 '22 14:06 parmeet