text
text copied to clipboard
torchtext.legacy.data not available
🐛 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.
hmm, interesting. It should be available in 0.11 version, we have removed it in 0.12 release.