Repository: cupy/cupy
Pull request: Drop support for CUDA 9.2 & NCCL 2.4
Closes #5120.

CUDA 9.2 / NCCL 2.4 specific code removals can be done in separate PRs.

Problem statement:
[RFC] [v10] Dropping Support for CUDA 9.2 & NCCL 2.4
In CuPy v10, we are thinking of dropping support for CUDA 9.2 and NCCL 2.4. Please leave a comment if you have any concerns.

This does not affect CuPy v9.x releases.

Hints from issue discussion:

Commit message: Merge branch 'master' into remove-cuda-92

Patch to review:
diff --git a/README.md b/README.md
index 85b28451fd3..f6dc22b8d5e 100644
--- a/README.md
+++ b/README.md
@@ -27,8 +27,6 @@ Choose the right package for your platform.
 
 | Platform  | Command                        |
 | --------- | ------------------------------ |
-| CUDA 9.0  | `pip install cupy-cuda90`      |
-| CUDA 9.2  | `pip install cupy-cuda92`      |
 | CUDA 10.0 | `pip install cupy-cuda100`     |
 | CUDA 10.1 | `pip install cupy-cuda101`     |
 | CUDA 10.2 | `pip install cupy-cuda102`     |
diff --git a/docs/source/install.rst b/docs/source/install.rst
index 385b18fd8b0..3b544f5442e 100644
--- a/docs/source/install.rst
+++ b/docs/source/install.rst
@@ -6,7 +6,7 @@ Requirements
 
 * `NVIDIA CUDA GPU <https://developer.nvidia.com/cuda-gpus>`_ with the Compute Capability 3.0 or larger.
 
-* `CUDA Toolkit <https://developer.nvidia.com/cuda-toolkit>`_: v9.2 / v10.0 / v10.1 / v10.2 / v11.0 / v11.1 / v11.2
+* `CUDA Toolkit <https://developer.nvidia.com/cuda-toolkit>`_: v10.0 / v10.1 / v10.2 / v11.0 / v11.1 / v11.2
 
     * If you have multiple versions of CUDA Toolkit installed, CuPy will automatically choose one of the CUDA installations.
       See :ref:`install_cuda` for details.
@@ -54,11 +54,11 @@ Part of the CUDA features in CuPy will be activated only when the corresponding
 
     * The library to accelerate tensor operations. See :doc:`../reference/environment` for the details.
 
-* `NCCL <https://developer.nvidia.com/nccl>`_: v2.4 (CUDA 9.2) / v2.6 (CUDA 10.0) / v2.8.3 (CUDA 10.1) / v2.8.4 (CUDA 11.1 & 11.2)  / v2.9 (CUDA 10.2 & 11.0)
+* `NCCL <https://developer.nvidia.com/nccl>`_: v2.6 / v2.7 / v2.8 / v2.9
 
     * The library to perform collective multi-GPU / multi-node computations.
 
-* `cuDNN <https://developer.nvidia.com/cudnn>`_: v7.6 (CUDA 9.2 & 10.0) / v8.0 (CUDA 10.1) / v8.1 (CUDA 10.2+) / v8.2 (CUDA 10.2+)
+* `cuDNN <https://developer.nvidia.com/cudnn>`_: v7.6 (CUDA 10.0) / v8.0 (CUDA 10.1) / v8.1 (CUDA 10.2+) / v8.2 (CUDA 10.2+)
 
     * The library to accelerate deep neural network computations.
 
@@ -74,8 +74,6 @@ Package names are different depending on your CUDA Toolkit version.
 
    * - CUDA
      - Command
-   * - v9.2
-     - ``$ pip install cupy-cuda92``
    * - v10.0
      - ``$ pip install cupy-cuda100``
    * - v10.1
diff --git a/install/build.py b/install/build.py
index 0b8705944d6..560cc5ced81 100644
--- a/install/build.py
+++ b/install/build.py
@@ -13,7 +13,7 @@
 PLATFORM_LINUX = sys.platform.startswith('linux')
 PLATFORM_WIN32 = sys.platform.startswith('win32')
 
-minimum_cuda_version = 9020
+minimum_cuda_version = 10000
 minimum_cudnn_version = 7600
 
 minimum_hip_version = 305  # for ROCm 3.5.0+
@@ -312,7 +312,7 @@ def check_cuda_version(compiler, settings):
     if _cuda_version < minimum_cuda_version:
         utils.print_warning(
             'CUDA version is too old: %d' % _cuda_version,
-            'CUDA 9.2 or newer is required')
+            'CUDA 10.0 or newer is required')
         return False
 
     return True


Code review comments:
diff_hunk: @@ -54,11 +54,11 @@ Part of the CUDA features in CuPy will be activated only when the corresponding
 
     * The library to accelerate tensor operations. See :doc:`../reference/environment` for the details.
 
-* `NCCL <https://developer.nvidia.com/nccl>`_: v2.4 (CUDA 9.2) / v2.6 (CUDA 10.0) / v2.8.3 (CUDA 10.1) / v2.8.4 (CUDA 11.1 & 11.2)  / v2.9 (CUDA 10.2 & 11.0)
+* `NCCL <https://developer.nvidia.com/nccl>`_: v2.6 / v2.7 / v2.8 / v2.9
 
     * The library to perform collective multi-GPU / multi-node computations.
 
-* `cuDNN <https://developer.nvidia.com/cudnn>`_: v7.6 (CUDA 9.2 & 10.0) / v8.0 (CUDA 10.1) / v8.1 (CUDA 10.2+) / v8.2 (CUDA 10.2+)
+* `cuDNN <https://developer.nvidia.com/cudnn>`_: v7.6 (CUDA 10.0) / v8.0 (CUDA 10.1) / v8.1 (CUDA 10.2+) / v8.2 (CUDA 10.2+)
path: docs/source/install.rst
text: @author:
```suggestion
* `cuDNN <https://developer.nvidia.com/cudnn>`_: v7.6 / v8.0 / v8.1 / v8.2
```