From 8e75307791b80c01d3e69fb01beac5319d36f06a Mon Sep 17 00:00:00 2001 From: Nayef Ahmed Date: Fri, 3 Feb 2023 10:21:00 -0800 Subject: [PATCH] Added min version req + readme instructions for torchdata --- README.rst | 3 +++ requirements.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 7603abc2f0..7f79b1e9b5 100644 --- a/README.rst +++ b/README.rst @@ -91,6 +91,9 @@ To build torchtext from source, you need ``git``, ``CMake`` and C++11 compiler s When building from source, make sure that you have the same C++ compiler as the one used to build PyTorch. A simple way is to build PyTorch from source and use the same environment to build torchtext. If you are using the nightly build of PyTorch, checkout the environment it was built with `conda (here) `_ and `pip (here) `_. +Additionally, datasets in torchtext are implemented using the torchdata library. Please take a look at the +`installation instructions `_ to download the latest nightlies or install from source. + Documentation ============= diff --git a/requirements.txt b/requirements.txt index 245ececedc..cbc13eefbf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,7 +19,7 @@ Sphinx pytest expecttest parameterized -torchdata +torchdata>0.5 # Lets pytest find our code by automatically modifying PYTHONPATH pytest-pythonpath