diff --git a/documents/installation.rst b/documents/installation.rst index a0ae984..792baf4 100644 --- a/documents/installation.rst +++ b/documents/installation.rst @@ -16,27 +16,27 @@ RaNNC requires the following libraries and tools at runtime. Installation ------------ -The current version (``0.7.4``) of RaNNC requires PyTorch v1.11.0. +The current version (``0.7.5``) of RaNNC requires PyTorch v1.11.0. ``pip`` packages for ``linux_x86_64`` are available for the following combinations of Python and CUDA versions. * Python version: 3,7, 3.8, 3.9, 3.10 * CUDA version: 11.3 The following commands install PyToch and RaNNC with pip. -(The package version should be specified as ``0.7.4+cu[CUDA_VERSION_WITHOUT_DOT]``) +(The package version should be specified as ``0.7.5+cu[CUDA_VERSION_WITHOUT_DOT]``) .. code-block:: bash pip install torch==1.11.0+cu113 -f https://download.pytorch.org/whl/torch_stable.html - pip install pyrannc==0.7.4+cu113 -f https://nict-wisdom.github.io/rannc/installation.html + pip install pyrannc==0.7.5+cu113 -f https://nict-wisdom.github.io/rannc/installation.html Use the following links to manually download the packages. -* :download:`For Python 3.7 / CUDA 11.3 ` -* :download:`For Python 3.8 / CUDA 11.3 ` -* :download:`For Python 3.9 / CUDA 11.3 ` -* :download:`For Python 3.10 / CUDA 11.3 ` +* :download:`For Python 3.7 / CUDA 11.3 ` +* :download:`For Python 3.8 / CUDA 11.3 ` +* :download:`For Python 3.9 / CUDA 11.3 ` +* :download:`For Python 3.10 / CUDA 11.3 ` If the above packages do not match your Python/CUDA versions, create a suitable package using ``Makefile`` in ``docker/``. ``make.sh`` shows the commands to create wheel packages. diff --git a/pyrannc/__init__.py b/pyrannc/__init__.py index c79f513..0032a2b 100644 --- a/pyrannc/__init__.py +++ b/pyrannc/__init__.py @@ -18,7 +18,7 @@ torch_ver = re.sub(r"\+.*", "", torch.__version__) build_torch_ver = re.sub(r"\+.*", "", BUILD_TORCH_VER) - if torch_version != build_torch_ver: + if torch_ver != build_torch_ver: print("RaNNC was compiled with PyTorch {}, but the current PyTorch version is {}.".format( BUILD_TORCH_VER, torch.__version__), file=sys.stderr) raise e diff --git a/setup.py b/setup.py index 1ad56fa..ec6fa0f 100644 --- a/setup.py +++ b/setup.py @@ -65,7 +65,7 @@ def build_extension(self, ext): subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp) -VERSION = "0.7.4" +VERSION = "0.7.5" if "CUDA_VERSION" in os.environ: version_nums = os.environ["CUDA_VERSION"].split(".")