Coder Social home page Coder Social logo

cupy-feedstock's Introduction

About cupy-split-feedstock

Feedstock license: BSD-3-Clause

About cupy-split

Home: https://cupy.dev/

Package license: MIT

Summary: CuPy: NumPy & SciPy for GPU

Development: https://github.com/cupy/cupy/

Documentation: https://docs.cupy.dev/en/stable/

About cupy-core

Home: https://cupy.dev/

Package license: MIT

Summary: CuPy: NumPy & SciPy for GPU

Development: https://github.com/cupy/cupy/

Documentation: https://docs.cupy.dev/en/stable/

This is the CuPy core package without any dependencies on the CUDA libraries, suitable for deployment under resource constraint. You need to install the needed dependencies explicitly.

Current build status

Azure
VariantStatus
linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython variant
linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython variant
linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.12.____cpython variant
linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython variant
linux_64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12python3.10.____cpython variant
linux_64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12python3.11.____cpython variant
linux_64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12python3.12.____cpython variant
linux_64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12python3.9.____cpython variant
linux_aarch64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython variant
linux_aarch64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython variant
linux_aarch64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.12.____cpython variant
linux_aarch64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython variant
linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12python3.10.____cpython variant
linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12python3.11.____cpython variant
linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12python3.12.____cpython variant
linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12python3.9.____cpython variant
linux_ppc64le_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.10.____cpython variant
linux_ppc64le_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.11.____cpython variant
linux_ppc64le_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.12.____cpython variant
linux_ppc64le_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython variant
linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12python3.10.____cpython variant
linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12python3.11.____cpython variant
linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12python3.12.____cpython variant
linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12python3.9.____cpython variant
win_64_cuda_compilercuda-nvcccuda_compiler_version12.0python3.10.____cpython variant
win_64_cuda_compilercuda-nvcccuda_compiler_version12.0python3.11.____cpython variant
win_64_cuda_compilercuda-nvcccuda_compiler_version12.0python3.12.____cpython variant
win_64_cuda_compilercuda-nvcccuda_compiler_version12.0python3.9.____cpython variant
win_64_cuda_compilernvcccuda_compiler_version11.8python3.10.____cpython variant
win_64_cuda_compilernvcccuda_compiler_version11.8python3.11.____cpython variant
win_64_cuda_compilernvcccuda_compiler_version11.8python3.12.____cpython variant
win_64_cuda_compilernvcccuda_compiler_version11.8python3.9.____cpython variant

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing cupy-split

Installing cupy-split from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, cupy, cupy-core can be installed with conda:

conda install cupy cupy-core

or with mamba:

mamba install cupy cupy-core

It is possible to list all of the versions of cupy available on your platform with conda:

conda search cupy --channel conda-forge

or with mamba:

mamba search cupy --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search cupy --channel conda-forge

# List packages depending on `cupy`:
mamba repoquery whoneeds cupy --channel conda-forge

# List dependencies of `cupy`:
mamba repoquery depends cupy --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating cupy-split-feedstock

If you would like to improve the cupy-split recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/cupy-split-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

cupy-feedstock's People

Contributors

beckermr avatar calebmarchent avatar carterbox avatar conda-forge-admin avatar conda-forge-curator[bot] avatar conda-forge-webservices[bot] avatar github-actions[bot] avatar henryiii avatar jakirkham avatar kmaehashi avatar leofang avatar ocefpaf avatar regro-cf-autotick-bot avatar rlratzel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cupy-feedstock's Issues

Disable CUB support temporarily?

Given the recurring CUB bugs that went undetected in the recent releases (there was a hot fix in v7.1.1, and now v7.2.0 has a bug too: cupy/cupy#3092), I propose we remove the CUB support from the package until PFN bundles it and includes tests in their CI, i.e. when #20 is resolved.

@jakirkham If this is OK with you I'll make a PR.

glibc incompatibility

Following instructions from docs.cupy.dev with miniforge

Issue:

$ conda install cupy

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \ 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                       

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.27=0
  - cupy -> nccl[version='>=2.7.8.1,<3.0a0'] -> __glibc[version='>=2.17']

Your installed version is: 2.27

Environment (conda list): Ubuntu 18.04.4 LTS
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.100      Driver Version: 440.100      CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla V100-SXM3...  Off  | 00000000:1E:00.0 Off |                    0 |
| N/A   40C    P0    52W / 350W |      0MiB / 32510MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|  15  Tesla V100-SXM3...  Off  | 00000000:C1:00.0 Off |                    0 |
| N/A   40C    P0    52W / 350W |      0MiB / 32510MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
$ conda list
# packages in environment at /data/storage/berceanu/software/pkg/miniforge3pic:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
brotlipy                  0.7.0           py38h8df0ef7_1001    conda-forge
bzip2                     1.0.8                h516909a_3    conda-forge
ca-certificates           2020.6.20            hecda079_0    conda-forge
certifi                   2020.6.20        py38h924ce5b_2    conda-forge
cffi                      1.14.3           py38h1bdcb99_1    conda-forge
chardet                   3.0.4           py38h924ce5b_1008    conda-forge
conda                     4.9.0            py38h924ce5b_1    conda-forge
conda-package-handling    1.7.2            py38h8df0ef7_0    conda-forge
cryptography              3.2              py38hb23e4d4_0    conda-forge
idna                      2.10               pyh9f0ad1d_0    conda-forge
ld_impl_linux-64          2.35                 h769bd43_9    conda-forge
libffi                    3.2.1             he1b5a44_1007    conda-forge
libgcc-ng                 9.3.0               h5dbcf3e_17    conda-forge
libgomp                   9.3.0               h5dbcf3e_17    conda-forge
libstdcxx-ng              9.3.0               h2ae2ef3_17    conda-forge
ncurses                   6.2                  he1b5a44_2    conda-forge
openssl                   1.1.1h               h516909a_0    conda-forge
pip                       20.2.4                     py_0    conda-forge
pycosat                   0.6.3           py38h8df0ef7_1005    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pyopenssl                 19.1.0                     py_1    conda-forge
pysocks                   1.7.1            py38h924ce5b_2    conda-forge
python                    3.8.6           h852b56e_0_cpython    conda-forge
python_abi                3.8                      1_cp38    conda-forge
readline                  8.0                  he28a2e2_2    conda-forge
requests                  2.24.0             pyh9f0ad1d_0    conda-forge
ruamel_yaml               0.15.80         py38h8df0ef7_1003    conda-forge
setuptools                49.6.0           py38h924ce5b_2    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
sqlite                    3.33.0               h4cf870e_1    conda-forge
tk                        8.6.10               hed695b0_1    conda-forge
tqdm                      4.51.0             pyh9f0ad1d_0    conda-forge
urllib3                   1.25.11                    py_0    conda-forge
wheel                     0.35.1             pyh9f0ad1d_0    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
yaml                      0.2.5                h516909a_0    conda-forge
zlib                      1.2.11            h516909a_1010    conda-forge

Details about conda and system ( conda info ):
$ conda info
    active environment : None
            shell level : 0
       user config file : /data/storage/berceanu/.condarc
 populated config files : /data/storage/berceanu/software/pkg/miniforge3pic/.condarc
          conda version : 4.9.0
    conda-build version : not installed
         python version : 3.8.6.final.0
       virtual packages : __cuda=10.2=0
                          __glibc=2.27=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /data/storage/berceanu/software/pkg/miniforge3pic  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /data/storage/berceanu/software/pkg/miniforge3pic/pkgs
                          /data/storage/berceanu/.conda/pkgs
       envs directories : /data/storage/berceanu/software/pkg/miniforge3pic/envs
                          /data/storage/berceanu/.conda/envs
               platform : linux-64
             user-agent : conda/4.9.0 requests/2.24.0 CPython/3.8.6 Linux/5.4.0-48-generic ubuntu/18.04.4 glibc/2.27
                UID:GID : 1129:1130
             netrc file : None
           offline mode : False

failures related to `math_constants.h` in 9.0.0b1

For 9.0, CuPy introduced a file cupy/core/include/cupy/math_constants.h that attempts to #include <math_constants.h> on systems with CUDA. However, when I run a conda environment with the current 9.0.0b1 package, this results in errors of the form:

.../lib/python3.8/site-packages/cupy/core/include/cupy/math_constants.h(6): catastrophic error: cannot open source file "math_constants.h"

math_constants.h is one of the CUDA headers typically located in /usr/local/cuda/include. However when running in an environment with the conda CuPy package installed, I see that CUDA_PATH points to my /home/lee8rx/miniconda3/envs/cupy9 environment root rather than the system CUDA install.

Do we need to bundle NVIDIA's math_constants.h with the recipe? (and can we legally do this?)

Issue:


Environment (conda list):
$ conda list
# packages in environment at /home/lee8rx/miniconda3/envs/cupy9:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
attrs                     20.3.0             pyhd3deb0d_0    conda-forge
blosc                     1.21.0               h9c3ff4c_0    conda-forge
brotli                    1.0.9                h9c3ff4c_4    conda-forge
brotlipy                  0.7.0           py38h497a2fe_1001    conda-forge
brunsli                   0.1                  h9c3ff4c_0    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
ca-certificates           2020.12.5            ha878542_0    conda-forge
certifi                   2020.12.5        py38h578d9bd_1    conda-forge
cffi                      1.14.4           py38ha65f79e_1    conda-forge
chardet                   4.0.0            py38h578d9bd_1    conda-forge
charls                    2.2.0                h9c3ff4c_0    conda-forge
cloudpickle               1.6.0                      py_0    conda-forge
cryptography              3.3.1            py38h2b97feb_1    conda-forge
cudatoolkit               11.0.3               h15472ef_6    conda-forge
cudnn                     8.0.5.39             ha5ca753_1    conda-forge
cupy                      9.0.0b1          py38h4743472_0    conda-forge/label/cupy_rc
cupyimg                   0+untagged.45.g5bc5b03.dirty           dev_0    <develop>
cycler                    0.10.0                     py_2    conda-forge
cytoolz                   0.11.0           py38h25fe258_1    conda-forge
dask-core                 2021.1.0           pyhd8ed1ab_0    conda-forge
decorator                 4.4.2                      py_0    conda-forge
fastrlock                 0.5              py38h709712a_2    conda-forge
freetype                  2.10.4               h0708190_1    conda-forge
giflib                    5.2.1                h36c2ea0_2    conda-forge
idna                      2.10               pyh9f0ad1d_0    conda-forge
imagecodecs               2021.1.11        py38h6082773_1    conda-forge
imageio                   2.9.0                      py_0    conda-forge
iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
jpeg                      9d                   h36c2ea0_0    conda-forge
jxrlib                    1.1                  h7f98852_2    conda-forge
kiwisolver                1.3.1            py38h1fd1430_1    conda-forge
lcms2                     2.11                 hcbb858e_1    conda-forge
ld_impl_linux-64          2.35.1               hea4e1c9_1    conda-forge
lerc                      2.2.1                h9c3ff4c_0    conda-forge
libaec                    1.0.4                h9c3ff4c_1    conda-forge
libblas                   3.9.0                7_openblas    conda-forge
libcblas                  3.9.0                7_openblas    conda-forge
libdeflate                1.7                  h7f98852_5    conda-forge
libffi                    3.3                  h58526e2_2    conda-forge
libgcc-ng                 9.3.0               h2828fa1_18    conda-forge
libgfortran-ng            9.3.0               hff62375_18    conda-forge
libgfortran5              9.3.0               hff62375_18    conda-forge
libgomp                   9.3.0               h2828fa1_18    conda-forge
liblapack                 3.9.0                7_openblas    conda-forge
libopenblas               0.3.12          pthreads_h4812303_1    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libstdcxx-ng              9.3.0               h6de172a_18    conda-forge
libtiff                   4.2.0                hdc55705_0    conda-forge
libwebp-base              1.1.0                h36c2ea0_3    conda-forge
libzopfli                 1.0.3                h9c3ff4c_0    conda-forge
lz4-c                     1.9.3                h9c3ff4c_0    conda-forge
matplotlib-base           3.3.3            py38h0efea84_0    conda-forge
more-itertools            8.6.0              pyhd8ed1ab_0    conda-forge
nccl                      2.8.3.1              h96e36e3_0    conda-forge
ncurses                   6.2                  h58526e2_4    conda-forge
networkx                  2.5                        py_0    conda-forge
numpy                     1.19.5           py38h18fd61f_1    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
openjpeg                  2.4.0                hf7af979_0    conda-forge
openssl                   1.1.1i               h7f98852_0    conda-forge
packaging                 20.8               pyhd3deb0d_0    conda-forge
pillow                    8.1.0            py38h357d4e7_1    conda-forge
pip                       20.3.3             pyhd8ed1ab_0    conda-forge
pluggy                    0.13.1           py38h578d9bd_4    conda-forge
pooch                     1.3.0              pyhd8ed1ab_0    conda-forge
py                        1.10.0             pyhd3deb0d_0    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pyopenssl                 20.0.1             pyhd8ed1ab_0    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pysocks                   1.7.1            py38h578d9bd_3    conda-forge
pytest                    6.2.1            py38h578d9bd_1    conda-forge
python                    3.8.6           hffdb5ce_4_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python_abi                3.8                      1_cp38    conda-forge
pywavelets                1.1.1            py38h5c078b8_3    conda-forge
pyyaml                    5.3.1            py38h497a2fe_2    conda-forge
readline                  8.0                  he28a2e2_2    conda-forge
requests                  2.25.1             pyhd3deb0d_0    conda-forge
scikit-image              0.18.1           py38h51da96c_0    conda-forge
scipy                     1.6.0            py38hb2138dd_0    conda-forge
setuptools                49.6.0           py38h578d9bd_3    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
snappy                    1.1.8                he1b5a44_3    conda-forge
sqlite                    3.34.0               h74cdb3f_0    conda-forge
tifffile                  2021.1.14          pyhd8ed1ab_0    conda-forge
tk                        8.6.10               h21135ba_1    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
toolz                     0.11.1                     py_0    conda-forge
tornado                   6.1              py38h497a2fe_1    conda-forge
urllib3                   1.26.2             pyhd8ed1ab_0    conda-forge
wheel                     0.36.2             pyhd3deb0d_0    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
yaml                      0.2.5                h516909a_0    conda-forge
zfp                       0.5.5                h9c3ff4c_4    conda-forge
zlib                      1.2.11            h516909a_1010    conda-forge
zstd                      1.4.8                ha95c52a_1    conda-forge


Details about conda and system ( conda info ):
$ conda info

     active environment : cupy9
    active env location : /home/lee8rx/miniconda3/envs/cupy9
            shell level : 2
       user config file : /home/lee8rx/.condarc
 populated config files : /home/lee8rx/.condarc
          conda version : 4.9.2
    conda-build version : 3.20.3
         python version : 3.7.3.final.0
       virtual packages : __cuda=11.2=0
                          __glibc=2.31=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/lee8rx/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/rapidsai/linux-64
                          https://conda.anaconda.org/rapidsai/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/lee8rx/miniconda3/pkgs
                          /home/lee8rx/.conda/pkgs
       envs directories : /home/lee8rx/miniconda3/envs
                          /home/lee8rx/.conda/envs
               platform : linux-64
             user-agent : conda/4.9.2 requests/2.24.0 CPython/3.7.3 Linux/5.4.0-62-generic ubuntu/20.04.1 glibc/2.31
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Unable to install 8.3.0

I have two similar environments, one with 8.3.0 successfully installed, other unable; only major difference I spot is cudatoolkit version. Unsure how to debug further; help appreciated.


Command: conda install -c conda-forge cupy==8.3.0

env1: conda list
# packages in environment at D:\Anaconda\envs\pyt:
#
# Name                    Version                   Build  Channel
_anaconda_depends         2020.07                  py37_0
_ipyw_jlab_nb_ext_conf    0.1.0                    py37_0
absl-py                   0.10.0                   pypi_0    pypi
alabaster                 0.7.12                   py37_0
anaconda                  custom                   py37_1
anaconda-client           1.7.2                    py37_0
anaconda-navigator        1.10.0                   py37_0
anaconda-project          0.9.1              pyhd3eb1b0_1
appdirs                   1.4.4                      py_0
argh                      0.26.2                   py37_0
argon2-cffi               20.1.0           py37h2bbff1b_1
asn1crypto                1.4.0                      py_0
astroid                   2.4.2                    py37_0
astropy                   4.2              py37h2bbff1b_0
async_generator           1.10             py37h28b3542_0
atomicwrites              1.4.0                      py_0
attrs                     20.3.0             pyhd3eb1b0_0
audioread                 2.1.8            py37hc8dfbb8_3    conda-forge
autopep8                  1.5.4                      py_0
babel                     2.9.0              pyhd3eb1b0_0
backcall                  0.2.0              pyhd3eb1b0_0
backports                 1.0                pyhd3eb1b0_2
backports.functools_lru_cache 1.6.1              pyhd3eb1b0_0
backports.shutil_get_terminal_size 1.0.0              pyhd3eb1b0_3
backports.tempfile        1.0                pyhd3eb1b0_1
backports.weakref         1.0.post1                  py_1
bcrypt                    3.2.0            py37he774522_0
beautifulsoup4            4.9.3              pyha847dfd_0
bitarray                  1.6.3            py37h2bbff1b_1
bkcharts                  0.2                      py37_0
black                     19.10b0                    py_0
blas                      1.0                         mkl
bleach                    3.3.0              pyhd3eb1b0_0
blosc                     1.10.2                   pypi_0    pypi
bokeh                     2.2.3                    py37_0
boto                      2.49.0                   py37_0
bottleneck                1.3.2            py37h2a96729_1
brotli                    1.0.7                    pypi_0    pypi
brotlipy                  0.7.0           py37h2bbff1b_1003
bzip2                     1.0.8                he774522_0
ca-certificates           2021.1.19            haa95532_1
cachetools                4.1.1                    pypi_0    pypi
calmsize                  0.1.3                    pypi_0    pypi
certifi                   2020.12.5        py37haa95532_0
cffi                      1.14.4           py37hcd4344a_0
chardet                   4.0.0           py37haa95532_1003
charls                    2.1.0                h33f27b4_2
click                     7.1.2              pyhd3eb1b0_0
cloudpickle               1.6.0                      py_0
clyent                    1.2.2                    py37_1
colorama                  0.4.4              pyhd3eb1b0_0
comtypes                  1.1.8           py37haa95532_1002
conda-package-handling    1.7.2            py37h76e460a_0
conda-verify              3.4.2                      py_1
configparser              5.0.1                    pypi_0    pypi
console_shortcut          0.1.1                         4
contextlib2               0.6.0.post1                py_0
cryptography              3.3.1            py37hcd4344a_0
cudatoolkit               10.1.243             h3826478_8    conda-forge
cudnn                     7.6.5                cuda10.1_0
cupy                      8.3.0            py37hd4ca531_0
curl                      7.71.1               h2a8f88b_1
cutensor                  1.2.2.5              h1ba89ec_3    conda-forge
cycler                    0.10.0                   py37_0
cython                    0.29.21          py37hd77b12b_0
cytoolz                   0.11.0           py37he774522_0
dask                      2021.1.1           pyhd3eb1b0_0
dask-core                 2021.1.1           pyhd3eb1b0_0
dataclasses               0.6                      pypi_0    pypi
decorator                 4.4.2              pyhd3eb1b0_0
defusedxml                0.6.0              pyhd3eb1b0_0
diff-match-patch          20200713                   py_0
distributed               2021.1.1         py37haa95532_1
docutils                  0.16                     py37_1
entrypoints               0.3                      py37_0
et_xmlfile                1.0.1                   py_1001
fastcache                 1.1.0            py37he774522_0
fastrlock                 0.5              py37ha925a31_0
fftw                      3.3.9                h2bbff1b_1
filelock                  3.0.12             pyhd3eb1b0_1
flake8                    3.8.4                      py_0
flask                     1.1.2              pyhd3eb1b0_0
flask-compress            1.5.0                    pypi_0    pypi
freetype                  2.10.4               hd328e21_0
fsspec                    0.8.3                      py_0
future                    0.18.2                   py37_1
get_terminal_size         1.0.0                h38e98db_0
gevent                    21.1.1           py37h2bbff1b_1
giflib                    5.2.1                h62dcd97_0
glob2                     0.7                pyhd3eb1b0_0
gmpy2                     2.0.8            py37h0964b28_3
google-auth               1.20.1                   pypi_0    pypi
google-auth-oauthlib      0.4.1                    pypi_0    pypi
greenlet                  1.0.0            py37hd77b12b_2
grpcio                    1.31.0                   pypi_0    pypi
h5py                      2.10.0           py37h5e291fa_0
hdf5                      1.10.4               h7ebc959_0
heapdict                  1.0.1                      py_0
html5lib                  1.1                        py_0
hypothesis                6.1.1              pyhd3eb1b0_0
icc_rt                    2019.0.0             h0cc432a_1
icu                       58.2                 ha925a31_3
idna                      2.10               pyhd3eb1b0_0
imagecodecs               2021.1.11        py37h5da4933_1
imageio                   2.9.0                      py_0
imagesize                 1.2.0              pyhd3eb1b0_0
importlib-metadata        2.0.0                      py_1
importlib_metadata        2.0.0                         1
iniconfig                 1.1.1              pyhd3eb1b0_0
intel-openmp              2020.2                      254
intervaltree              3.1.0                      py_0
ipykernel                 5.3.4            py37h5ca1d4c_0
ipython                   7.20.0           py37hd4e2768_1
ipython_genutils          0.2.0              pyhd3eb1b0_1
ipywidgets                7.6.3              pyhd3eb1b0_1
isort                     5.7.0              pyhd3eb1b0_0
itsdangerous              1.1.0                    py37_0
jdcal                     1.4.1                      py_0
jedi                      0.17.2           py37haa95532_1
jinja2                    2.11.3             pyhd3eb1b0_0
joblib                    1.0.0              pyhd3eb1b0_0
jpeg                      9b                   hb83a4c4_2
json5                     0.9.5                      py_0
jsonschema                3.2.0                      py_2
jupyter                   1.0.0                    py37_7
jupyter_client            6.1.7                      py_0
jupyter_console           6.2.0                      py_0
jupyter_core              4.7.1            py37haa95532_0
jupyterlab                2.2.6                      py_0
jupyterlab_pygments       0.1.2                      py_0
jupyterlab_server         1.2.0                      py_0
jupyterlab_widgets        1.0.0              pyhd3eb1b0_1
keyring                   22.0.1           py37haa95532_0
kiwisolver                1.3.1            py37hd77b12b_0
krb5                      1.18.2               hc04afaa_0
kymatio                   0.3.dev0                 pypi_0    pypi
lazy-object-proxy         1.4.3            py37h2bbff1b_2
lcms2                     2.11                 hc51a39a_0
lerc                      2.2.1                hd77b12b_0
libaec                    1.0.4                h33f27b4_1
libarchive                3.4.2                h5e25573_0
libblas                   3.9.0           1_h8933c1f_netlib    conda-forge
libcblas                  3.9.0           3_hd5c7e75_netlib    conda-forge
libcurl                   7.71.1               h2a8f88b_1
libdeflate                1.7                  h2bbff1b_5
libflac                   1.3.3                h6538335_0    conda-forge
libiconv                  1.15                 h1df5818_7
liblapack                 3.9.0           3_hd5c7e75_netlib    conda-forge
liblief                   0.10.1               ha925a31_0
libllvm9                  9.0.1                h21ff451_0
libogg                    1.3.2                he774522_0
libpng                    1.6.37               h2a8f88b_0
librosa                   0.8.0              pyh9f0ad1d_0    conda-forge
libsndfile                1.0.29               ha925a31_0    conda-forge
libsodium                 1.0.18               h62dcd97_0
libspatialindex           1.9.3                h33f27b4_0
libssh2                   1.9.0                h7a1dbc1_1
libtiff                   4.1.0                h56a325e_1
libuv                     1.40.0               he774522_0
libvorbis                 1.3.7                he774522_0
libxml2                   2.9.10               hb89e7f3_3
libxslt                   1.1.34               he774522_0
libzopfli                 1.0.3                ha925a31_0
llvmlite                  0.35.0                   py37_0    numba
locket                    0.2.1            py37haa95532_1
lxml                      4.6.2            py37h9b66d53_0
lz4-c                     1.9.3                h2bbff1b_0
lzo                       2.10                 he774522_2
m2w64-gcc-libgfortran     5.3.0                         6
m2w64-gcc-libs            5.3.0                         7
m2w64-gcc-libs-core       5.3.0                         7
m2w64-gmp                 6.1.0                         2
m2w64-libwinpthread-git   5.0.0.4634.697f757               2
mako                      1.1.4                    pypi_0    pypi
markdown                  3.2.2                    pypi_0    pypi
markupsafe                1.1.1            py37hfa6e2cd_1
matplotlib                3.3.2                haa95532_0
matplotlib-base           3.3.2            py37hba9282a_0
mccabe                    0.6.1                    py37_1
menuinst                  1.4.16           py37he774522_1
mistune                   0.8.4           py37hfa6e2cd_1001
mkl                       2020.2                      256
mkl-service               2.3.0            py37h196d8e1_0
mkl_fft                   1.2.0            py37h45dec08_0
mkl_random                1.1.1            py37h47e9c7a_0
mock                      4.0.3              pyhd3eb1b0_0
more-itertools            8.6.0              pyhd3eb1b0_0
mpc                       1.1.0                h7edee0f_1
mpfr                      4.0.2                h62dcd97_1
mpir                      3.0.0                hec2e145_1
mpmath                    1.1.0                    py37_0
msgpack-python            1.0.2            py37h59b6b97_1
msys2-conda-epoch         20160418                      1
multipledispatch          0.6.0                    py37_0
mypy_extensions           0.4.3                    py37_0
navigator-updater         0.2.1                    py37_0
nbclient                  0.5.3              pyhd3eb1b0_0
nbconvert                 6.0.7                    py37_0
nbformat                  5.1.2              pyhd3eb1b0_1
ndim                      0.1.4                    pypi_0    pypi
nest-asyncio              1.5.1              pyhd3eb1b0_0
networkx                  2.5                        py_0
ninja                     1.10.2           py37h6d14046_0
nltk                      3.5                        py_0
nose                      1.3.7           pyhd3eb1b0_1006
notebook                  6.2.0            py37haa95532_0
numba                     0.52.0          np1.11py3.7hf9181ef_g18825058a_0    numba
numexpr                   2.7.2            py37hcbcaa1e_0
numpy                     1.20.1           py37hd20adf4_0    conda-forge
numpy-base                1.18.5           py37hc3f5095_0
numpydoc                  1.1.0              pyhd3eb1b0_1
oauthlib                  3.1.0                    pypi_0    pypi
olefile                   0.46                     py37_0
openjpeg                  2.3.0                h5ec785f_1
openpyxl                  3.0.6              pyhd3eb1b0_0
openssl                   1.1.1j               h2bbff1b_0
orthopy                   0.8.4                    pypi_0    pypi
packaging                 20.9               pyhd3eb1b0_0
pandas                    1.2.1            py37hf11a4ad_0
pandoc                    2.11                 h9490d1a_0
pandocfilters             1.4.3            py37haa95532_1
paramiko                  2.7.2                      py_0
parso                     0.7.0                      py_0
partd                     1.1.0                      py_0
path                      15.1.0           py37haa95532_0
path.py                   12.5.0                        0
pathlib2                  2.3.5            py37haa95532_2
pathspec                  0.7.0                      py_0
pathtools                 0.1.2                      py_1
patsy                     0.5.1                    py37_0
pep8                      1.7.1                    py37_0
pexpect                   4.8.0              pyhd3eb1b0_3
pickleshare               0.7.5           pyhd3eb1b0_1003
pillow                    8.1.0            py37h4fa10fc_0
pip                       20.3.3                   pypi_0    pypi
pkginfo                   1.7.0            py37haa95532_0
plotly                    4.9.0                    pypi_0    pypi
pluggy                    0.13.1                   py37_0
ply                       3.11                     py37_0
pooch                     1.2.0                      py_0    conda-forge
powershell_shortcut       0.0.1                         3
prometheus_client         0.9.0              pyhd3eb1b0_0
prompt-toolkit            3.0.8                      py_0
prompt_toolkit            3.0.8                         0
protobuf                  3.13.0                   pypi_0    pypi
psutil                    5.8.0            py37h2bbff1b_1
ptyprocess                0.7.0              pyhd3eb1b0_2
py                        1.10.0             pyhd3eb1b0_0
py-lief                   0.10.1           py37ha925a31_0
py-lz4framed              0.14.0                   pypi_0    pypi
pyasn1                    0.4.8                    pypi_0    pypi
pyasn1-modules            0.2.8                    pypi_0    pypi
pycodestyle               2.6.0              pyhd3eb1b0_0
pycosat                   0.6.3            py37h2bbff1b_0
pycparser                 2.20                       py_2
pycrypto                  2.6.1           py37he774522_10
pycurl                    7.43.0.6         py37h7a1dbc1_0
pydocstyle                5.1.1                      py_0
pyerfa                    1.7.2            py37h2bbff1b_0
pyfftw                    0.12.0           py37hac947ee_2    conda-forge
pyflakes                  2.2.0              pyhd3eb1b0_0
pygments                  2.7.4              pyhd3eb1b0_0
pylint                    2.6.0                    py37_0
pyls-black                0.4.6                hd3eb1b0_0
pyls-spyder               0.3.2              pyhd3eb1b0_0
pynacl                    1.4.0            py37h62dcd97_1
pyodbc                    4.0.30           py37ha925a31_0
pyopenssl                 20.0.1             pyhd3eb1b0_1
pyparsing                 2.4.7              pyhd3eb1b0_0
pyqt                      5.9.2            py37h6538335_2
pyreadline                2.1                      py37_1
pyrsistent                0.17.3           py37he774522_0
pysocks                   1.7.1                    py37_1
pysoundfile               0.10.2                  py_1001    conda-forge
pytables                  3.6.1            py37h1da0976_0
pytest                    6.2.2            py37haa95532_2
pytest-arraydiff          0.3              py37h39e3cac_0
pytest-astropy            0.8.0              pyhd3eb1b0_0
pytest-astropy-header     0.1.2              pyhd3eb1b0_0
pytest-doctestplus        0.9.0              pyhd3eb1b0_0
pytest-openfiles          0.5.0              pyhd3eb1b0_0
pytest-remotedata         0.3.2                    py37_0
python                    3.7.9                h60c2a47_0
python-dateutil           2.8.1              pyhd3eb1b0_0
python-jsonrpc-server     0.4.0                      py_0
python-language-server    0.36.2             pyhd3eb1b0_0
python-libarchive-c       2.9                pyhd3eb1b0_0
python_abi                3.7                     1_cp37m    conda-forge
pytools                   2021.1                   pypi_0    pypi
pytorch                   1.8.0           py3.7_cuda10.1_cudnn7_0    pytorch
pytorch-lightning         0.9.0                    pypi_0    pypi
pytorch-memlab            0.2.3                    pypi_0    pypi
pytz                      2021.1             pyhd3eb1b0_0
pywavelets                1.1.1            py37he774522_2
pywin32                   227              py37he774522_1
pywin32-ctypes            0.2.0                 py37_1001
pywinpty                  0.5.7                    py37_0
pyyaml                    5.4.1            py37h2bbff1b_1
pyzmq                     20.0.0           py37hd77b12b_1
qdarkstyle                2.8.1                      py_0
qt                        5.9.7            vc14h73c81de_0
qtawesome                 1.0.1                      py_0
qtconsole                 5.0.2              pyhd3eb1b0_0
qtpy                      1.9.0                      py_0
quadpy                    0.16.3                   pypi_0    pypi
regex                     2020.11.13       py37h2bbff1b_0
requests                  2.25.1             pyhd3eb1b0_0
requests-oauthlib         1.3.0                    pypi_0    pypi
resampy                   0.2.2                      py_0    conda-forge
retrying                  1.3.3                    py37_2
rope                      0.18.0                     py_0
rsa                       4.6                      pypi_0    pypi
rtree                     0.9.4            py37h21ff451_1
ruamel_yaml               0.15.87          py37he774522_1
scikit-image              0.17.2           py37h1e1f486_0
scikit-learn              0.23.2           py37h47e9c7a_0
scipy                     1.6.0            py37h14eb087_0
seaborn                   0.11.1             pyhd3eb1b0_0
see-rnn                   1.15.1                   pypi_0    pypi
send2trash                1.5.0              pyhd3eb1b0_1
setuptools                54.0.0                   pypi_0    pypi
simplegeneric             0.8.1                    py37_2
simpleitk                 2.0.1            py37ha925a31_0    simpleitk
singledispatch            3.4.0.3                 py_1001
sip                       4.19.8           py37h6538335_0
six                       1.15.0           py37haa95532_0
snappy                    1.1.8                h33f27b4_0
snowballstemmer           2.1.0              pyhd3eb1b0_0
sortedcollections         2.1.0              pyhd3eb1b0_0
sortedcontainers          2.3.0              pyhd3eb1b0_0
soupsieve                 2.1                pyhd3eb1b0_0
sphinx                    3.4.3              pyhd3eb1b0_0
sphinxcontrib             1.0                      py37_1
sphinxcontrib-applehelp   1.0.2              pyhd3eb1b0_0
sphinxcontrib-devhelp     1.0.2              pyhd3eb1b0_0
sphinxcontrib-htmlhelp    1.0.3              pyhd3eb1b0_0
sphinxcontrib-jsmath      1.0.1              pyhd3eb1b0_0
sphinxcontrib-qthelp      1.0.3              pyhd3eb1b0_0
sphinxcontrib-serializinghtml 1.1.4              pyhd3eb1b0_0
sphinxcontrib-websupport  1.2.4                      py_0
spyder                    4.2.3            py37h03978a9_0    conda-forge
spyder-kernels            1.10.2           py37haa95532_0
sqlalchemy                1.3.23           py37h2bbff1b_0
sqlite                    3.33.0               h2a8f88b_0
statsmodels               0.12.1           py37h2bbff1b_0
sympy                     1.7.1            py37haa95532_0
tbb                       2020.3               h74a9793_0
tblib                     1.7.0                      py_0
tensorboard               2.2.0                    pypi_0    pypi
tensorboard-plugin-wit    1.7.0                    pypi_0    pypi
termcolor                 1.1.0                    py37_1
terminado                 0.9.2            py37haa95532_0
testpath                  0.4.4              pyhd3eb1b0_0
textdistance              4.2.1              pyhd3eb1b0_0
threadpoolctl             2.1.0              pyh5ca1d4c_0
three-merge               0.1.1              pyhd3eb1b0_0
tifffile                  2021.1.14          pyhd3eb1b0_1
tk                        8.6.10               he774522_0
toml                      0.10.1                     py_0
toolz                     0.11.1             pyhd3eb1b0_0
torchvision               0.9.0                py37_cu101    pytorch
tornado                   6.1              py37h2bbff1b_0
tqdm                      4.56.0             pyhd3eb1b0_0
traitlets                 5.0.5              pyhd3eb1b0_0
typed-ast                 1.4.2            py37h2bbff1b_1
typing_extensions         3.7.4.3            pyha847dfd_0
ujson                     4.0.2            py37hd77b12b_0
unicodecsv                0.14.1                   py37_0
urllib3                   1.26.3             pyhd3eb1b0_0
vc                        14.2                 h21ff451_1
vs2015_runtime            14.27.29016          h5e58377_2
watchdog                  1.0.2            py37haa95532_1
wcwidth                   0.2.5                      py_0
webencodings              0.5.1                    py37_1
werkzeug                  1.0.1              pyhd3eb1b0_0
wheel                     0.36.2             pyhd3eb1b0_0
widgetsnbextension        3.5.1                    py37_0
win_inet_pton             1.1.0            py37haa95532_0
win_unicode_console       0.5                      py37_0
wincertstore              0.2                      py37_0
winpty                    0.4.3                         4
wrapt                     1.11.2           py37he774522_0
xlrd                      2.0.1              pyhd3eb1b0_0
xlsxwriter                1.3.7              pyhd3eb1b0_0
xlwings                   0.22.0           py37haa95532_0
xlwt                      1.3.0                    py37_0
xmltodict                 0.12.0                     py_0
xz                        5.2.5                h62dcd97_0
yaml                      0.2.5                he774522_0
yapf                      0.30.0                     py_0
zeromq                    4.3.3                ha925a31_3
zfp                       0.5.5                hd77b12b_4
zict                      2.0.0              pyhd3eb1b0_0
zipp                      3.4.0              pyhd3eb1b0_0
zlib                      1.2.11               h62dcd97_4
zope                      1.0                      py37_1
zope.event                4.5.0                    py37_0
zope.interface            5.2.0            py37h2bbff1b_0
zstd                      1.4.5                h04227a9_0
env2: conda list
# packages in environment at D:\Anaconda\envs\pytx:
#
# Name                    Version                   Build  Channel
_anaconda_depends         2020.07                  py38_0
alabaster                 0.7.12                     py_0
anaconda                  custom                   py38_1
anaconda-client           1.7.2                    py38_0
anaconda-project          0.8.4                      py_0
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
argh                      0.26.2                   py38_0
argon2-cffi               20.1.0           py38he774522_1
asn1crypto                1.4.0                      py_0
astroid                   2.4.2                    py38_0
astropy                   4.0.2            py38he774522_0
async_generator           1.10                       py_0
atomicwrites              1.4.0                      py_0
attrs                     20.3.0             pyhd3eb1b0_0
autopep8                  1.5.4                      py_0
babel                     2.8.1              pyhd3eb1b0_0
backcall                  0.2.0                      py_0
backports                 1.0                        py_2
backports.shutil_get_terminal_size 1.0.0                    py38_2
bcrypt                    3.2.0            py38he774522_0
beautifulsoup4            4.9.3              pyhb0f4dca_0
bitarray                  1.6.1            py38h2bbff1b_0
bkcharts                  0.2                      py38_0
black                     20.8b1                     py_1    conda-forge
blas                      1.0                         mkl
bleach                    3.2.1                      py_0
blosc                     1.20.1               h7bd577a_0
bokeh                     2.2.3                    py38_0
boto                      2.49.0                   py38_0
bottleneck                1.3.2            py38h2a96729_1
brotlipy                  0.7.0           py38he774522_1000
bzip2                     1.0.8                he774522_0
ca-certificates           2020.12.5            h5b45459_0    conda-forge
certifi                   2020.12.5        py38haa244fe_1    conda-forge
cffi                      1.14.3           py38h7a1dbc1_0
chardet                   3.0.4                 py38_1003
click                     7.1.2                      py_0
cloudpickle               1.6.0                      py_0
clyent                    1.2.2                    py38_1
colorama                  0.4.4                      py_0
comtypes                  1.1.7                 py38_1001
console_shortcut          0.1.1                         4
contextlib2               0.6.0.post1                py_0
cryptography              3.1.1            py38h7a1dbc1_0
cudatoolkit               11.1.1               heb2d755_7    conda-forge
curl                      7.71.1               h2a8f88b_1
cycler                    0.10.0                   py38_0
cython                    0.29.21          py38ha925a31_0
cytoolz                   0.11.0           py38he774522_0
dask                      2.30.0                     py_0
dask-core                 2.30.0                     py_0
dataclasses               0.8                pyhc8e2a94_1    conda-forge
decorator                 4.4.2                      py_0
defusedxml                0.6.0                      py_0
diff-match-patch          20200713                   py_0
distributed               2.30.1           py38haa95532_0
docutils                  0.16                     py38_1
entrypoints               0.3                      py38_0
et_xmlfile                1.0.1                   py_1001
fastcache                 1.1.0            py38he774522_0
filelock                  3.0.12                     py_0
flake8                    3.8.4                      py_0
flask                     1.1.2                      py_0
freetype                  2.10.4               hd328e21_0
fsspec                    0.8.3                      py_0
future                    0.18.2                   py38_1
get_terminal_size         1.0.0                h38e98db_0
gevent                    20.9.0           py38he774522_0
glob2                     0.7                        py_0
gmpy2                     2.1.0b1          py38hb63f22f_1    conda-forge
greenlet                  0.4.17           py38he774522_0
h5py                      2.10.0           py38h5e291fa_0
hdf5                      1.10.4               h7ebc959_0
heapdict                  1.0.1                      py_0
html5lib                  1.1                        py_0
icc_rt                    2019.0.0             h0cc432a_1
icu                       58.2                 ha925a31_3
idna                      2.10                       py_0
imageio                   2.9.0                      py_0
imagesize                 1.2.0                      py_0
importlib-metadata        2.0.0                      py_1
importlib_metadata        2.0.0                         1
iniconfig                 1.1.1                      py_0
intel-openmp              2020.2                      254
intervaltree              3.1.0                      py_0
ipykernel                 5.3.4            py38h5ca1d4c_0
ipython                   7.19.0           py38hd4e2768_0
ipython_genutils          0.2.0                    py38_0
ipywidgets                7.5.1                      py_1
isort                     5.6.4                      py_0
itsdangerous              1.1.0                      py_0
jdcal                     1.4.1                      py_0
jedi                      0.17.2           py38haa244fe_1    conda-forge
jinja2                    2.11.2                     py_0
joblib                    0.17.0                     py_0
jpeg                      9b                   hb83a4c4_2
json5                     0.9.5                      py_0
jsonschema                3.2.0                      py_2
jupyter                   1.0.0                    py38_7
jupyter_client            6.1.7                      py_0
jupyter_console           6.2.0                      py_0
jupyter_core              4.6.3                    py38_0
jupyterlab                2.2.6                      py_0
jupyterlab_pygments       0.1.2                      py_0
jupyterlab_server         1.2.0                      py_0
keyring                   21.4.0                   py38_1
kiwisolver                1.3.0            py38hd77b12b_0
krb5                      1.18.2               hc04afaa_0
lazy-object-proxy         1.4.3            py38he774522_0
libarchive                3.4.2                h5e25573_0
libcurl                   7.71.1               h2a8f88b_1
libiconv                  1.15                 h1df5818_7
liblief                   0.10.1               ha925a31_0
libllvm9                  9.0.1                hab3b255_3    conda-forge
libpng                    1.6.37               h2a8f88b_0
libsodium                 1.0.18               h62dcd97_0
libspatialindex           1.9.3                h33f27b4_0
libssh2                   1.9.0                h7a1dbc1_1
libtiff                   4.1.0                h56a325e_1
libuv                     1.41.0               h8ffe710_0    conda-forge
libxml2                   2.9.10               hb89e7f3_3
libxslt                   1.1.34               he774522_0
llvmlite                  0.34.0           py38h1a82afc_4
locket                    0.2.0                    py38_1
lxml                      4.6.1            py38h1350720_0
lz4-c                     1.9.2                hf4a77e7_3
lzo                       2.10                 he774522_2
m2w64-gcc-libgfortran     5.3.0                         6
m2w64-gcc-libs            5.3.0                         7
m2w64-gcc-libs-core       5.3.0                         7
m2w64-gmp                 6.1.0                         2
m2w64-libwinpthread-git   5.0.0.4634.697f757               2
markupsafe                1.1.1            py38he774522_0
matplotlib                3.3.2                         0
matplotlib-base           3.3.2            py38hba9282a_0
mccabe                    0.6.1                    py38_1
menuinst                  1.4.16           py38he774522_1
mistune                   0.8.4           py38he774522_1000
mkl                       2020.2                      256
mkl-service               2.3.0            py38hb782905_0
mkl_fft                   1.2.0            py38h45dec08_0
mkl_random                1.1.1            py38h47e9c7a_0
mock                      4.0.2                      py_0
more-itertools            8.6.0              pyhd3eb1b0_0
mpc                       1.1.0             h7edee0f_1009    conda-forge
mpfr                      4.0.2                h62dcd97_1    conda-forge
mpir                      3.0.0             he025d50_1002    conda-forge
mpmath                    1.1.0                    py38_0
msgpack-python            1.0.0            py38h74a9793_1
msys2-conda-epoch         20160418                      1
multipledispatch          0.6.0                    py38_0
mypy_extensions           0.4.3            py38haa244fe_3    conda-forge
nbclient                  0.5.1                      py_0
nbconvert                 6.0.7                    py38_0
nbformat                  5.0.8                      py_0
nest-asyncio              1.4.2              pyhd3eb1b0_0
networkx                  2.5                        py_0
ninja                     1.10.2               h5362a0b_0    conda-forge
nltk                      3.5                        py_0
nose                      1.3.7                    py38_2
notebook                  6.1.4                    py38_0
numba                     0.51.2           py38hf9181ef_1
numexpr                   2.7.1            py38h25d0782_0
numpy                     1.19.2           py38hadc3359_0
numpy-base                1.19.2           py38ha3acd2a_0
numpydoc                  1.1.0              pyhd3eb1b0_1
olefile                   0.46                       py_0
openpyxl                  3.0.5                      py_0
openssl                   1.1.1j               h8ffe710_0    conda-forge
packaging                 20.4                       py_0
pandas                    1.1.3            py38ha925a31_0
pandoc                    2.11                 h9490d1a_0
pandocfilters             1.4.3            py38haa95532_1
paramiko                  2.7.2                      py_0
parso                     0.7.0                      py_0
partd                     1.1.0                      py_0
path                      15.0.0                   py38_0
path.py                   12.5.0                        0
pathlib2                  2.3.5                    py38_0
pathspec                  0.8.1              pyhd3deb0d_0    conda-forge
pathtools                 0.1.2                      py_1
patsy                     0.5.1                    py38_0
pep8                      1.7.1                    py38_0
pexpect                   4.8.0                    py38_0
pickleshare               0.7.5                 py38_1000
pillow                    8.0.1            py38h4fa10fc_0
pip                       20.2.4           py38haa95532_0
pkginfo                   1.6.1            py38haa95532_0
pluggy                    0.13.1                   py38_0
ply                       3.11                     py38_0
powershell_shortcut       0.0.1                         3
prometheus_client         0.8.0                      py_0
prompt-toolkit            3.0.8                      py_0
prompt_toolkit            3.0.8                         0
psutil                    5.7.2            py38he774522_0
py                        1.9.0                      py_0
py-lief                   0.10.1           py38ha925a31_0
pycodestyle               2.6.0                      py_0
pycosat                   0.6.3            py38he774522_0
pycparser                 2.20                       py_2
pycurl                    7.43.0.6         py38h7a1dbc1_0
pydocstyle                5.1.1                      py_0
pyflakes                  2.2.0                      py_0
pygments                  2.7.2              pyhd3eb1b0_0
pylint                    2.6.0                    py38_0
pyls-black                0.4.6              pyh9f0ad1d_0    conda-forge
pyls-spyder               0.3.2              pyhd8ed1ab_0    conda-forge
pynacl                    1.4.0            py38h62dcd97_1
pyodbc                    4.0.30           py38ha925a31_0
pyopenssl                 19.1.0                     py_1
pyparsing                 2.4.7                      py_0
pyqt                      5.9.2            py38ha925a31_4
pyreadline                2.1                      py38_1
pyrsistent                0.17.3           py38he774522_0
pysocks                   1.7.1                    py38_0
pytables                  3.6.1            py38ha5be198_0
pytest                    6.1.1                    py38_0
python                    3.8.5                h5fd99cc_1
python-dateutil           2.8.1                      py_0
python-jsonrpc-server     0.4.0                      py_0
python-language-server    0.36.2             pyhd8ed1ab_0    conda-forge
python-libarchive-c       2.9                        py_0
python_abi                3.8                      1_cp38    conda-forge
pytorch                   1.8.0           py3.8_cuda11.1_cudnn8_0    pytorch
pytz                      2020.1                     py_0
pywavelets                1.1.1            py38he774522_2
pywin32                   227              py38he774522_1
pywin32-ctypes            0.2.0                 py38_1000
pywinpty                  0.5.7                    py38_0
pyyaml                    5.3.1            py38he774522_1
pyzmq                     19.0.2           py38ha925a31_1
qdarkstyle                2.8.1                      py_0
qt                        5.9.7            vc14h73c81de_0
qtawesome                 1.0.1                      py_0
qtconsole                 5.0.2              pyhd8ed1ab_0    conda-forge
qtpy                      1.9.0                      py_0
regex                     2020.10.15       py38he774522_0
requests                  2.24.0                     py_0
rope                      0.18.0                     py_0
rtree                     0.9.4            py38h21ff451_1
ruamel_yaml               0.15.87          py38he774522_1
scikit-image              0.17.2           py38h1e1f486_0
scikit-learn              0.23.2           py38h47e9c7a_0
scipy                     1.5.2            py38h14eb087_0
seaborn                   0.11.0                     py_0
send2trash                1.5.0                    py38_0
setuptools                50.3.1           py38haa95532_1
simplegeneric             0.8.1                    py38_2
singledispatch            3.4.0.3                 py_1001
sip                       4.19.13          py38ha925a31_0
six                       1.15.0           py38haa95532_0
snappy                    1.1.8                ha925a31_3    conda-forge
snowballstemmer           2.0.0                      py_0
sortedcollections         1.2.1                      py_0
sortedcontainers          2.2.2                      py_0
soupsieve                 2.0.1                      py_0
sphinx                    3.2.1                      py_0
sphinxcontrib             1.0                      py38_1
sphinxcontrib-applehelp   1.0.2                      py_0
sphinxcontrib-devhelp     1.0.2                      py_0
sphinxcontrib-htmlhelp    1.0.3                      py_0
sphinxcontrib-jsmath      1.0.1                      py_0
sphinxcontrib-qthelp      1.0.3                      py_0
sphinxcontrib-serializinghtml 1.1.4                      py_0
sphinxcontrib-websupport  1.2.4                      py_0
spyder                    4.2.3            py38haa244fe_0    conda-forge
spyder-kernels            1.10.2           py38haa244fe_0    conda-forge
sqlalchemy                1.3.20           py38h2bbff1b_0
sqlite                    3.33.0               h2a8f88b_0
statsmodels               0.12.0           py38he774522_0
sympy                     1.6.2            py38haa95532_1
tbb                       2021.1.1             h2d74725_0    conda-forge
tblib                     1.7.0                      py_0
terminado                 0.9.1                    py38_0
testpath                  0.4.4                      py_0
textdistance              4.2.1              pyhd8ed1ab_0    conda-forge
threadpoolctl             2.1.0              pyh5ca1d4c_0
three-merge               0.1.1              pyh9f0ad1d_0    conda-forge
tifffile                  2020.10.1        py38h8c2d366_2
tk                        8.6.10               he774522_0
toml                      0.10.1                     py_0
toolz                     0.11.1                     py_0
torchaudio                0.8.0                      py38    pytorch
torchvision               0.9.0                py38_cu111    pytorch
tornado                   6.0.4            py38he774522_1
tqdm                      4.50.2                     py_0
traitlets                 5.0.5                      py_0
typed-ast                 1.4.2            py38h294d835_0    conda-forge
typing_extensions         3.7.4.3                    py_0
ujson                     4.0.1            py38ha925a31_0
unicodecsv                0.14.1                   py38_0
urllib3                   1.25.11                    py_0
vc                        14.1                 h0510ff6_4
vs2015_runtime            14.16.27012          hf0eaf9b_3
watchdog                  0.10.3                   py38_0
wcwidth                   0.2.5                      py_0
webencodings              0.5.1                    py38_1
werkzeug                  1.0.1                      py_0
wheel                     0.35.1                     py_0
widgetsnbextension        3.5.1                    py38_0
win_inet_pton             1.1.0                    py38_0
win_unicode_console       0.5                      py38_0
wincertstore              0.2                      py38_0
winpty                    0.4.3                         4
wrapt                     1.11.2           py38he774522_0
xlrd                      1.2.0                      py_0
xlsxwriter                1.3.7                      py_0
xlwings                   0.20.8                   py38_0
xlwt                      1.3.0                    py38_0
xz                        5.2.5                h62dcd97_0
yaml                      0.2.5                he774522_0
yapf                      0.30.0                     py_0
zeromq                    4.3.2                ha925a31_3
zict                      2.0.0                      py_0
zipp                      3.4.0              pyhd3eb1b0_0
zlib                      1.2.11               h62dcd97_4
zope                      1.0                      py38_1
zope.event                4.5.0                    py38_0
zope.interface            5.1.2            py38he774522_0
zstd                      1.4.5                h04227a9_0
env1: conda info
     active environment : pyt
    active env location : D:\Anaconda\envs\pyt
            shell level : 2
       user config file : C:\Users\OverL\.condarc
 populated config files : C:\Users\OverL\.condarc
          conda version : 4.9.2
    conda-build version : 3.18.11
         python version : 3.8.3.final.0
       virtual packages : __cuda=11.0=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : D:\Anaconda  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : D:\Anaconda\pkgs
                          C:\Users\OverL\.conda\pkgs
                          C:\Users\OverL\AppData\Local\conda\conda\pkgs
       envs directories : D:\Anaconda\envs
                          C:\Users\OverL\.conda\envs
                          C:\Users\OverL\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.3 Windows/10 Windows/10.0.19041
          administrator : False
             netrc file : None
           offline mode : False
env2: conda info
     active environment : pytx
    active env location : D:\Anaconda\envs\pytx
            shell level : 2
       user config file : C:\Users\OverL\.condarc
 populated config files : C:\Users\OverL\.condarc
          conda version : 4.9.2
    conda-build version : 3.18.11
         python version : 3.8.3.final.0
       virtual packages : __cuda=11.0=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : D:\Anaconda  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : D:\Anaconda\pkgs
                          C:\Users\OverL\.conda\pkgs
                          C:\Users\OverL\AppData\Local\conda\conda\pkgs
       envs directories : D:\Anaconda\envs
                          C:\Users\OverL\.conda\envs
                          C:\Users\OverL\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.3 Windows/10 Windows/10.0.19041
          administrator : False
             netrc file : None
           offline mode : False

Update the recipe for handling CUDA 10.1 headers

Currently we search /usr/include for supporting CUDA 10.1:

script:
# CUDA 10.1 moves some headers to `/usr/include`
# So add that location last in the header search paths
- export CFLAGS="${CFLAGS} -I/usr/include"
- export CPPFLAGS="${CPPFLAGS} -I/usr/include"
- export CXXFLAGS="${CXXFLAGS} -I/usr/include"
but it was pointed out a bad practice. Once conda-forge/nvcc-feedstock#26 is addressed we should revisit this.

Does CuPy work with PyPy?

@conda-forge/cupy With #42, it seems our build matrix has 16 variants: CUDA (9.2, 10.0, 10.1, 10.2) x Python (3.6, 3.7, 3.8, PyPy 3.6). But does CuPy work with PyPy? I thought PyPy doesn't play nicely with Cython modules?

Support cuSPARSELt v0.1.0

In #123 we added the support for cuSPARSELt v0.0.1, which was the version that CuPy tested against (cupy/cupy#4883). However, cuSPARSELt v0.1.0 just came out, and once conda-forge/cusparselt-feedstock#9 is finalized perhaps we could consider rebuild CuPy to support it. (A rebuild is needed because currently we pin at the exact version of cuSPARSELt.)

The question (#111 (comment)) needs to be addressed first: Would v0.1.0 be compatible with the support added to CuPy?

cc: @anaruse @mnicely

9.2.0 with support of cuda11.3?

Issue:
Since cupy 9.2.0 supports cuda 11.3 now๏ผŒ but this feature is still not available on conda-forge. The latest supported cuda is 11.2. Could you please upload a version supporting cuda 11.3. Thanks.


Environment (conda list):

$ conda list


Details about conda and system ( conda info ):
$ conda info

Do not build CuPy v7 for PY27

Putting a note here when v7 is officially released: It no longer supports Python 2, so we should add a skip flag in the the PR prepared by the bot.

Library error when importing cupy

Issue: Import cupy runs into the following error:

original error: /media/msmf/data/anaconda3/lib/python3.8/site-packages/cupy_backends/cuda/libs/cusparse.cpython-38-x86_64-linux-gnu.so: symbol cusparseSpMatSetValues version libcusparse.so.10 not defined in file libcusparse.so.10 with link time reference


Environment (conda list):
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
ca-certificates           2020.11.8            ha878542_0    conda-forge
certifi                   2020.11.8        py39hf3d152e_0    conda-forge
cudatoolkit               10.2.89              hfd86e86_1  
cudnn                     7.6.5                cuda10.2_0  
cupy                      8.1.0            py39hb4774a9_0    conda-forge
cupyimg                   0.1.dev0                 pypi_0    pypi
cython                    0.29.21                  pypi_0    pypi
fast-upfirdn              0.5                      pypi_0    pypi
fastrlock                 0.5              py39hf149a3a_1    conda-forge
ld_impl_linux-64          2.35.1               hed1e6ac_0    conda-forge
libblas                   3.9.0                3_openblas    conda-forge
libcblas                  3.9.0                3_openblas    conda-forge
libffi                    3.2.1             he1b5a44_1007    conda-forge
libgcc-ng                 9.3.0               h5dbcf3e_17    conda-forge
libgfortran-ng            9.3.0               he4bcb1c_17    conda-forge
libgfortran5              9.3.0               he4bcb1c_17    conda-forge
libgomp                   9.3.0               h5dbcf3e_17    conda-forge
liblapack                 3.9.0                3_openblas    conda-forge
libopenblas               0.3.12          pthreads_h4812303_1    conda-forge
libstdcxx-ng              9.3.0               h2ae2ef3_17    conda-forge
nccl                      2.8.3.1              h1a5f58c_0    conda-forge
ncurses                   6.2                  h58526e2_4    conda-forge
numpy                     1.19.4           py39h57d35e7_1    conda-forge
openssl                   1.1.1h               h516909a_0    conda-forge
pip                       20.2.4                     py_0    conda-forge
python                    3.9.0           h2a148a8_4_cpython    conda-forge
python_abi                3.9                      1_cp39    conda-forge
readline                  8.0                  he28a2e2_2    conda-forge
setuptools                49.6.0           py39h079e4ff_2    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
sqlite                    3.33.0               h4cf870e_1    conda-forge
tk                        8.6.10               hed695b0_1    conda-forge
tzdata                    2020d                h516909a_0    conda-forge
wheel                     0.35.1             pyh9f0ad1d_0    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
zlib                      1.2.11            h516909a_1010    conda-forge

Details about conda and system ( conda info ):
 active environment : cuimg
    active env location : /media/msmf/data/anaconda3/envs/cuimg
            shell level : 2
       user config file : /home/msmf/.condarc
 populated config files : /home/msmf/.condarc
          conda version : 4.8.3
    conda-build version : 3.18.11
         python version : 3.8.3.final.0
       virtual packages : __cuda=11.0
                          __glibc=2.27
       base environment : /media/msmf/data/anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /media/msmf/data/anaconda3/pkgs
                          /home/msmf/.conda/pkgs
       envs directories : /media/msmf/data/anaconda3/envs
                          /home/msmf/.conda/envs
               platform : linux-64
             user-agent : conda/4.8.3 requests/2.24.0 CPython/3.8.3 Linux/5.4.0-42-generic ubuntu/18.04.5 glibc/2.27
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False


conda install cupy installs wrong toolkit version with CUDA 11.0 on Windows

Issue:
conda create --name cutest cupy installs toolkit version 11.2 when I have CUDA 11.0 installed. This raises the error below.
conda create --name cutest2 cupy cudatoolkit=11.0 works fine.

Ideally, conda would check which cudatoolkit version should be installed. Is this currently possible?
If not - would it be possible to check that the versions match on import cupy, and then raise a more useful error?

I check CUDA version by nvcc --version: version 11.0 is installed (using 11.0 for compatability reasons with other software)

Both cp.linspace(0, 10, 10) and cp.show_config() result in essentially the same error:

$ python -c 'import cupy; cupy.show_config()'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\thomasaar\Miniconda3\envs\cutest\lib\site-packages\cupy\__init__.py", line 860, in show_config
    _sys.stdout.write(str(_cupyx.get_runtime_info()))
  File "C:\Users\thomasaar\Miniconda3\envs\cutest\lib\site-packages\cupyx\_runtime.py", line 277, in get_runtime_info
    return _RuntimeInfo()
  File "C:\Users\thomasaar\Miniconda3\envs\cutest\lib\site-packages\cupyx\_runtime.py", line 156, in __init__
    self.cublas_version = _eval_or_error(
  File "C:\Users\thomasaar\Miniconda3\envs\cutest\lib\site-packages\cupyx\_runtime.py", line 64, in _eval_or_error
    return func()
  File "C:\Users\thomasaar\Miniconda3\envs\cutest\lib\site-packages\cupyx\_runtime.py", line 158, in <lambda>
    cupy.cuda.device.get_cublas_handle()),
  File "cupy\cuda\device.pyx", line 46, in cupy.cuda.device.get_cublas_handle
  File "cupy\cuda\device.pyx", line 47, in cupy.cuda.device.get_cublas_handle
  File "cupy\cuda\device.pyx", line 29, in cupy.cuda.device._get_device
  File "cupy_backends\cuda\api\runtime.pyx", line 289, in cupy_backends.cuda.api.runtime.getDevice
  File "cupy_backends\cuda\api\runtime.pyx", line 261, in cupy_backends.cuda.api.runtime.check_status
cupy_backends.cuda.api.runtime.CUDARuntimeError: cudaErrorInvalidValue: invalid argument
  • Conditions (you can just paste the output of python -c 'import cupy; cupy.show_config()')
    • The above call results in the same error.
    • CuPy version: 9.0.0
    • OS/Platform: Windows 10 v1909
    • CUDA version: 11.0

Environment (conda list):
$ conda list
# packages in environment at C:\Users\thomasaar\Miniconda3\envs\cutest:
#
# Name                    Version                   Build  Channel
ca-certificates           2021.4.13            haa95532_1
certifi                   2020.12.5        py39hcbf5309_1    conda-forge
cudatoolkit               11.2.2               h933977f_8    conda-forge
cupy                      9.0.0            py39hc474d4a_1    conda-forge
fastrlock                 0.6              py39h415ef7b_0    conda-forge
intel-openmp              2021.2.0           h57928b3_616    conda-forge
libblas                   3.9.0                     9_mkl    conda-forge
libcblas                  3.9.0                     9_mkl    conda-forge
liblapack                 3.9.0                     9_mkl    conda-forge
mkl                       2021.2.0           hb70f87d_389    conda-forge
numpy                     1.20.2           py39h6635163_0    conda-forge
openssl                   1.1.1k               h8ffe710_0    conda-forge
pip                       21.1.1             pyhd8ed1ab_0    conda-forge
python                    3.9.4           h7840368_0_cpython    conda-forge
python_abi                3.9                      1_cp39    conda-forge
setuptools                52.0.0           py39haa95532_0
sqlite                    3.35.5               h8ffe710_0    conda-forge
tbb                       2021.2.0             h2d74725_0    conda-forge
tzdata                    2021a                he74cb21_0    conda-forge
vc                        14.2                 hb210afc_4    conda-forge
vs2015_runtime            14.28.29325          h5e1d092_4    conda-forge
wheel                     0.36.2             pyhd3deb0d_0    conda-forge
wincertstore              0.2             py39hcbf5309_1006    conda-forge

Details about conda and system ( conda info ):
$ conda info

     active environment : cutest
    active env location : C:\Users\thomasaar\Miniconda3\envs\cutest
            shell level : 3
       user config file : C:\Users\thomasaar\.condarc
 populated config files : C:\Users\thomasaar\.condarc
          conda version : 4.9.2
    conda-build version : not installed
         python version : 3.8.5.final.0
       virtual packages : __cuda=11.3=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : C:\Users\thomasaar\Miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\thomasaar\Miniconda3\pkgs
                          C:\Users\thomasaar\.conda\pkgs
                          C:\Users\thomasaar\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\thomasaar\Miniconda3\envs
                          C:\Users\thomasaar\.conda\envs
                          C:\Users\thomasaar\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.9.2 requests/2.25.1 CPython/3.8.5 Windows/10 Windows/10.0.18362
          administrator : False
             netrc file : None
           offline mode : False

how to correctly install cupy

Hi, recently we are trying to install the cupy, I first create a new conda environment, then run
conda install -c conda-forge cupy, after that trying to import cupy, but got the following error

>>> import cupy
Traceback (most recent call last):
  File "/home/wangtao/anaconda3_2/envs/sann/lib/python3.6/site-packages/cupy/__init__.py", line 16, in <module>
    from cupy import _core  # NOQA
  File "/home/wangtao/anaconda3_2/envs/sann/lib/python3.6/site-packages/cupy/_core/__init__.py", line 1, in <module>
    from cupy._core import core  # NOQA
  File "cupy/_core/core.pyx", line 1, in init cupy._core.core
  File "/home/wangtao/anaconda3_2/envs/sann/lib/python3.6/site-packages/cupy/cuda/__init__.py", line 8, in <module>
    from cupy.cuda import compiler  # NOQA
  File "/home/wangtao/anaconda3_2/envs/sann/lib/python3.6/site-packages/cupy/cuda/compiler.py", line 12, in <module>
    from cupy.cuda import function
  File "cupy/cuda/function.pyx", line 1, in init cupy.cuda.function
  File "cupy/cuda/texture.pyx", line 1, in init cupy.cuda.texture
ImportError: /home/wangtao/anaconda3_2/envs/sann/lib/python3.6/site-packages/cupy_backends/cuda/api/driver.cpython-36m-x86_64-linux-gnu.so: undefined symbol: cuDevicePrimaryCtxRelease_v2

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/wangtao/anaconda3_2/envs/sann/lib/python3.6/site-packages/cupy/__init__.py", line 37, in <module>
    raise ImportError(_msg) from e
ImportError: CuPy is not correctly installed.

If you are using wheel distribution (cupy-cudaXX), make sure that the version of CuPy you installed matches with the version of CUDA on your host.
Also, confirm that only one CuPy package is installed:
  $ pip freeze

If you are building CuPy from source, please check your environment, uninstall CuPy and reinstall it with:
  $ pip install cupy --no-cache-dir -vvvv

Check the Installation Guide for details:
  https://docs.cupy.dev/en/latest/install.html

original error: /home/wangtao/anaconda3_2/envs/sann/lib/python3.6/site-packages/cupy_backends/cuda/api/driver.cpython-36m-x86_64-linux-gnu.so: undefined symbol: cuDevicePrimaryCtxRelease_v2

when using CUDA_PATH=/usr/local/cuda-10.1 pip install cupy, I got the following error

Collecting cupy
  Using cached cupy-9.1.0.tar.gz (1.6 MB)
    ERROR: Command errored out with exit status 1:
     command: /home/wangtao/anaconda3_2/envs/sann/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xdx909pk/cupy_a59ddd0d5d874522be0bc947969f8b6f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xdx909pk/cupy_a59ddd0d5d874522be0bc947969f8b6f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-bgbfnf50
         cwd: /tmp/pip-install-xdx909pk/cupy_a59ddd0d5d874522be0bc947969f8b6f/
    Complete output (14 lines):
    Options: {'package_name': 'cupy', 'long_description': None, 'wheel_libs': [], 'wheel_includes': [], 'wheel_metadata': None, 'no_rpath': False, 'profile': False, 'linetrace': False, 'annotate': False, 'no_cuda': False, 'use_hip': False}
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-xdx909pk/cupy_a59ddd0d5d874522be0bc947969f8b6f/setup.py", line 117, in <module>
        ext_modules = cupy_setup_build.get_ext_modules()
      File "/tmp/pip-install-xdx909pk/cupy_a59ddd0d5d874522be0bc947969f8b6f/cupy_setup_build.py", line 924, in get_ext_modules
        extensions = make_extensions(arg_options, compiler, use_cython)
      File "/tmp/pip-install-xdx909pk/cupy_a59ddd0d5d874522be0bc947969f8b6f/cupy_setup_build.py", line 617, in make_extensions
        settings = build.get_compiler_setting(use_hip)
      File "/tmp/pip-install-xdx909pk/cupy_a59ddd0d5d874522be0bc947969f8b6f/install/build.py", line 147, in get_compiler_setting
        cuda_path = get_cuda_path()
      File "/tmp/pip-install-xdx909pk/cupy_a59ddd0d5d874522be0bc947969f8b6f/install/build.py", line 73, in get_cuda_path
        nvcc_path = utils.search_on_path(('nvcc', 'nvcc.exe'))
    AttributeError: module 'utils' has no attribute 'search_on_path'

`cupy.show_config()` errors out

$ conda create -n test -c conda-forge -y python=3.8 cupy cudatoolkit=11.0
$ conda activate test
$ python -c "import cupy; cupy.show_config()"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/leofang/miniforge3/envs/test/lib/python3.8/site-packages/cupy/__init__.py", line 866, in show_config
    _sys.stdout.write(str(_cupyx.get_runtime_info()))
  File "/home/leofang/miniforge3/envs/test/lib/python3.8/site-packages/cupyx/_runtime.py", line 225, in __str__
    props['name'].decode('utf-8')),
AttributeError: 'str' object has no attribute 'decode'

For some reason CUDA_VERSION was either unset or set to 0 at build time, so this line was picked up:
https://github.com/cupy/cupy/blob/89da620875741bbb167512234ab3a9f81b5ffc10/cupy_backends/cuda/api/runtime.pyx#L293
together with another byte <-> str bug (cupy/cupy#4594) this error happens.

Remove CUB download

This part needs to be removed

# 1. The CUB support has been extensively tested with v1.8.0, so we should pin it here
# 2. This dependency should be removed once CuPy bunldes CUB (cupy/cupy#2584)
- url: https://github.com/NVlabs/cub/archive/v1.8.0.tar.gz
sha256: 025658f4c933cd2aa8cc88a559d013338d68de3fa639cc1f2b12cf61dc759667
folder: cub_v1.8.0 # so the source code is in cupy/cub_v1.8.0

once cupy/cupy#2584 is merged.

Pulling 7.1.0

It appears there was a pretty serious bug in CuPy 7.1.0. ( cupy/cupy#2971 ) Would like to pull the packages from conda-forge so that others don't run into this issue. Thoughts?

original error: libcuda.so.1: cannot open shared object file: No such file or directory

Issue:my order is: conda install -c conda-forge cupy cudatoolkit=10.1
but when I import cupy ,there are some error.


Environment (conda list):
$ conda list
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main    defaults
_openmp_mutex             4.5                       1_gnu    defaults
ca-certificates           2021.5.30            ha878542_0    conda-forge
certifi                   2021.5.30        py37h89c1867_0    conda-forge
cudatoolkit               10.1.243             h036e899_8    conda-forge
cupy                      9.2.0            py37h464e165_0    conda-forge
fastrlock                 0.6              py37hcd2ae1e_1    conda-forge
libblas                   3.9.0                9_openblas    conda-forge
libcblas                  3.9.0                9_openblas    conda-forge
libedit                   3.1.20210216         h27cfd23_1    defaults
libffi                    3.2.1             hf484d3e_1007    defaults
libgcc-ng                 9.3.0               h5101ec6_17    defaults
libgfortran-ng            9.3.0               hff62375_19    conda-forge
libgfortran5              9.3.0               hff62375_19    conda-forge
libgomp                   9.3.0               h5101ec6_17    defaults
liblapack                 3.9.0                9_openblas    conda-forge
libopenblas               0.3.15          pthreads_h8fe5266_1    conda-forge
libstdcxx-ng              9.3.0               hd4cf53a_17    defaults
ncurses                   6.2                  he6710b0_1    defaults
numpy                     1.21.0           py37h038b26d_0    conda-forge
openssl                   1.0.2u               h516909a_0    conda-forge
pip                       21.1.2           py37h06a4308_0    defaults
python                    3.7.0                h6e4f718_3    defaults
python_abi                3.7                     2_cp37m    conda-forge
readline                  7.0                  h7b6447c_5    defaults
setuptools                52.0.0           py37h06a4308_0    defaults
sqlite                    3.33.0               h62c20be_0    defaults
tk                        8.6.10               hbc83047_0    defaults
wheel                     0.36.2             pyhd3eb1b0_0    defaults
xz                        5.2.5                h7b6447c_0    defaults
zlib                      1.2.11               h7b6447c_3    defaults

Details about conda and system ( conda info ):
$ conda info
active environment : chainer
    active env location : /public/home/jd_shb/miniconda3/envs/chainer
            shell level : 2
       user config file : /public/home/jd_shb/.condarc
 populated config files : /public/home/jd_shb/.condarc
          conda version : 4.8.5
    conda-build version : not installed
         python version : 3.8.3.final.0
       virtual packages : __glibc=2.17
       base environment : /public/home/jd_shb/miniconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /public/home/jd_shb/miniconda3/pkgs
                          /public/home/jd_shb/.conda/pkgs
       envs directories : /public/home/jd_shb/miniconda3/envs
                          /public/home/jd_shb/.conda/envs
               platform : linux-64
             user-agent : conda/4.8.5 requests/2.23.0 CPython/3.8.3 Linux/3.10.0-693         .el7.x86_64 centos/7.4.1708 glibc/2.17
                UID:GID : 1239:100
             netrc file : None
           offline mode : False

Error (import cupy):
>>> import cupy
Traceback (most recent call last):
  File "/public/home/jd_shb/miniconda3/envs/chainer/lib/python3.7/site-packages/cupy/__init__.py", line 16, in <module>
    from cupy import _core  # NOQA
  File "/public/home/jd_shb/miniconda3/envs/chainer/lib/python3.7/site-packages/cupy/_core/__init__.py", line 1, in <module>
    from cupy._core import core  # NOQA
  File "cupy/_core/core.pyx", line 1, in init cupy._core.core
  File "/public/home/jd_shb/miniconda3/envs/chainer/lib/python3.7/site-packages/cupy/cuda/__init__.py", line 8, in <module>
    from cupy.cuda import compiler  # NOQA
  File "/public/home/jd_shb/miniconda3/envs/chainer/lib/python3.7/site-packages/cupy/cuda/compiler.py", line 12, in <module>
    from cupy.cuda import function
  File "cupy/cuda/function.pyx", line 1, in init cupy.cuda.function
  File "cupy/cuda/texture.pyx", line 1, in init cupy.cuda.texture
ImportError: libcuda.so.1: cannot open shared object file: No such file or directory

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/public/home/jd_shb/miniconda3/envs/chainer/lib/python3.7/site-packages/cupy/__init__.py", line 37, in <module>
    raise ImportError(_msg) from e
ImportError: CuPy is not correctly installed.

If you are using wheel distribution (cupy-cudaXX), make sure that the version of CuPy you installed matches with the version of CUDA on your host.
Also, confirm that only one CuPy package is installed:
  $ pip freeze

If you are building CuPy from source, please check your environment, uninstall CuPy and reinstall it with:
  $ pip install cupy --no-cache-dir -vvvv

Check the Installation Guide for details:
  https://docs.cupy.dev/en/latest/install.html

original error: libcuda.so.1: cannot open shared object file: No such file or directory

cupy activate script tests an unset shell variable

Issue:

cupy activate script tests an unbound shell variable:

$ conda create -n test_cupy_path python=3.6 cupy==7.8.0
$ set -u
$ conda activate test_cupy_path
-bash: CUDA_PATH: unbound variable

As I use set -u to mitigate build, test and release script bugs; it would be nice if we can accept one of the fixes for this:

https://stackoverflow.com/questions/3601515/how-to-check-if-a-variable-is-set-in-bash


Environment (conda list):
$ conda list
# packages in environment at /home/ubuntu/miniconda3/envs/test_cupy_path:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main
blas                      1.0                         mkl
ca-certificates           2020.7.22                     0
certifi                   2020.6.20                py36_0
cudatoolkit               10.2.89              hfd86e86_1
cudnn                     7.6.5                cuda10.2_0
cupy                      7.8.0            py36h4445f8d_0    conda-forge
fastrlock                 0.4              py36he6710b0_0
intel-openmp              2020.2                      254
ld_impl_linux-64          2.33.1               h53a641e_7
libedit                   3.1.20191231         h14c3975_1
libffi                    3.3                  he6710b0_2
libgcc-ng                 9.1.0                hdf63c60_0
libstdcxx-ng              9.1.0                hdf63c60_0
mkl                       2020.2                      256
mkl-service               2.3.0            py36he904b0f_0
mkl_fft                   1.1.0            py36h23d657b_0
mkl_random                1.1.1            py36h0573a6f_0
nccl                      2.7.8.1              hc6a2c23_0    conda-forge
ncurses                   6.2                  he6710b0_1
numpy                     1.19.1           py36hbc911f0_0
numpy-base                1.19.1           py36hfa32c7d_0
openssl                   1.1.1g               h7b6447c_0
pip                       20.2.2                   py36_0
python                    3.6.12               hcff3b4d_2
python_abi                3.6                     1_cp36m    conda-forge
readline                  8.0                  h7b6447c_0
setuptools                49.6.0                   py36_0
six                       1.15.0                     py_0
sqlite                    3.33.0               h62c20be_0
tk                        8.6.10               hbc83047_0
wheel                     0.35.1                     py_0
xz                        5.2.5                h7b6447c_0
zlib                      1.2.11               h7b6447c_3

Details about conda and system ( conda info ):
$ conda info

     active environment : test_cupy_path
    active env location : /home/ubuntu/miniconda3/envs/test_cupy_path
            shell level : 1
       user config file : /home/ubuntu/.condarc
 populated config files : /home/ubuntu/.condarc
          conda version : 4.8.3
    conda-build version : not installed
         python version : 3.8.3.final.0
       virtual packages : __glibc=2.27
       base environment : /home/ubuntu/miniconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /home/ubuntu/miniconda3/pkgs
                          /home/ubuntu/.conda/pkgs
       envs directories : /home/ubuntu/miniconda3/envs
                          /home/ubuntu/.conda/envs
               platform : linux-64
             user-agent : conda/4.8.3 requests/2.23.0 CPython/3.8.3 Linux/5.4.0-42-generic ubuntu/18.04.5 glibc/2.27
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

cupy.cuda.driver.CUDADriverError: CUDA_ERROR_INVALID_PTX: a PTX JIT compilation failed

Issue: cupy.cuda.driver.CUDADriverError: CUDA_ERROR_INVALID_PTX: a PTX JIT compilation failed
I installed cupy using the conda-forge channel
conda install -c conda-forge cupy

The error occurs in the Module.load function

line 22, in get_kernel_func
  module.load(bytes(ptx.encode()))
File "cupy/cuda/function.pyx", line 241, in cupy.cuda.function.Module.load
File "cupy/cuda/function.pyx", line 243, in cupy.cuda.function.Module.load
File "cupy_backends/cuda/api/driver.pyx", line 246, in cupy_backends.cuda.api.driver.moduleLoadData
File "cupy_backends/cuda/api/driver.pyx", line 124, in cupy_backends.cuda.api.driver.check_status
cupy_backends.cuda.api.driver.CUDADriverError: CUDA_ERROR_INVALID_PTX: a PTX JIT compilation failed


Reproducible script

import torch
try:
    import cupy.cuda
    from pynvrtc.compiler import Program
except:
    pass
from collections import namedtuple
import numpy as np

modules = {}

def get_kernel_func(kname, ksrc, dtype):
    if kname+dtype not in modules:
        ksrc = ksrc.replace('DTYPE', dtype)
        #prog = Program(ksrc.encode('utf-8'), (kname+dtype+'.cu').encode('utf-8'))
        #uncomment the line above and comment the line below if it causes the following error: AttributeError: 'Program' object has no attribute '_program'
        prog = Program(ksrc, kname+dtype+'.cu')        
        ptx = prog.compile()
        log = prog._interface.nvrtcGetProgramLog(prog._program)
        if len(log.strip()) > 0: print(log)
        module = cupy.cuda.function.Module()
        module.load(bytes(ptx.encode()))
        modules[kname+dtype] = module
    else:
        module = modules[kname+dtype]
        
    Stream = namedtuple('Stream', ['ptr'])
    s = Stream(ptr=torch.cuda.current_stream().cuda_stream)        
        
    return module.get_function(kname), s

def conv_aggregate_fw_kernel_v2(**kwargs):
    kernel = r'''
extern "C"
__global__ void conv_aggregate_fw_kernel_v2(DTYPE* dest, const DTYPE* src, const long long* lengths, const long long* cslengths, int width, int N, int dest_stridex, int src_stridex, int blockDimy) {
	
    int x = blockIdx.x * blockDim.x + threadIdx.x; //one thread per feature channel, runs over all nodes
    if (x >= width) return;
    
    int i = blockIdx.y * blockDimy;
    int imax = min(N, i + blockDimy);
    dest += dest_stridex * i + x;
    src += src_stridex * (cslengths[i] - lengths[i]) + x;

	for (; i<imax; ++i) {	
        int len = lengths[i];
		if (len > 0) {
			DTYPE sum = 0;		
            for (int j=0; j<len; j++, src += src_stridex) {
                sum += *src;
			}

            *dest = sum / len;			
		}
		else {
			*dest = 0;
		}
		
		dest += dest_stridex;
	}
}
'''
    return kernel   

def get_dtype(t):
    if isinstance(t, torch.cuda.FloatTensor):
        return 'float'
    elif isinstance(t, torch.cuda.DoubleTensor):
        return 'double'

starte = 0
nume=1
idxn = torch.from_numpy(np.random.permutation(10))
input = torch.from_numpy(np.random.permutation(10))
src = torch.index_select(input, 0, idxn.narrow(0,starte,nume)).type(torch.cuda.FloatTensor)

function, stream = get_kernel_func('conv_aggregate_fw_kernel_v2', conv_aggregate_fw_kernel_v2(), get_dtype(src))


Environment (conda list):
$ conda list
_anaconda_depends         2020.07                  py38_0  
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
alabaster                 0.7.12                     py_0  
anaconda                  custom                   py38_1  
anaconda-client           1.7.2                    py38_0  
anaconda-project          0.8.4                      py_0  
argh                      0.26.2                   py38_0  
argon2-cffi               20.1.0           py38h7b6447c_1  
ase                       3.21.1                   pypi_0    pypi
asn1crypto                1.4.0                      py_0  
astroid                   2.4.2                    py38_0  
astropy                   4.0.2            py38h7b6447c_0  
async_generator           1.10                       py_0  
atomicwrites              1.4.0                      py_0  
attrs                     20.3.0             pyhd3eb1b0_0  
autopep8                  1.5.4                      py_0  
babel                     2.8.1              pyhd3eb1b0_0  
backcall                  0.2.0                      py_0  
backports                 1.0                        py_2  
backports.shutil_get_terminal_size 1.0.0                    py38_2  
beautifulsoup4            4.9.3              pyhb0f4dca_0  
bitarray                  1.6.1            py38h27cfd23_0  
bkcharts                  0.2                      py38_0  
blas                      1.0                         mkl  
bleach                    3.2.1                      py_0  
blosc                     1.20.1               hd408876_0  
bokeh                     2.2.3                    py38_0  
boost                     1.73.0                  py38_11    anaconda
boto                      2.49.0                   py38_0  
bottleneck                1.3.2            py38heb32a55_1  
brotlipy                  0.7.0           py38h7b6447c_1000  
bzip2                     1.0.8                h7b6447c_0  
ca-certificates           2020.10.14                    0    anaconda
cairo                     1.14.12              h8948797_3  
certifi                   2020.6.20                py38_0    anaconda
cffi                      1.14.3           py38he30daa8_0  
chardet                   3.0.4                 py38_1003  
click                     7.1.2                      py_0  
cloudpickle               1.6.0                      py_0  
clyent                    1.2.2                    py38_1  
colorama                  0.4.4                      py_0  
contextlib2               0.6.0.post1                py_0  
cryptography              3.1.1            py38h1ba5d50_0  
cudatoolkit               11.1.1               h6406543_8    conda-forge
cudnn                     8.1.0.77             h90431f1_0    conda-forge
cupy                      8.6.0            py38h5546af9_0    conda-forge
curl                      7.71.1               hbc83047_1  
cutensor                  1.2.2.5              h96e36e3_3    conda-forge
cycler                    0.10.0                   py38_0  
cython                    0.29.21          py38he6710b0_0  
cytoolz                   0.11.0           py38h7b6447c_0  
dask                      2.30.0                     py_0  
dask-core                 2.30.0                     py_0  
dbus                      1.13.18              hb2f20db_0  
decorator                 4.4.2                      py_0  
defusedxml                0.6.0                      py_0  
diff-match-patch          20200713                   py_0  
distributed               2.30.1           py38h06a4308_0  
docutils                  0.16                     py38_1  
eigen                     3.3.7                hfd86e86_0  
eigen3                    3.3.7                         0    omnia
entrypoints               0.3                      py38_0  
et_xmlfile                1.0.1                   py_1001  
expat                     2.2.10               he6710b0_2  
fastcache                 1.1.0            py38h7b6447c_0  
fastrlock                 0.6                      pypi_0    pypi
ffmpeg                    4.3                  hf484d3e_0    pytorch
filelock                  3.0.12                     py_0  
flake8                    3.8.4                      py_0  
flask                     1.1.2                      py_0  
fontconfig                2.13.0               h9420a91_0  
freetype                  2.10.4               h5ab3b9f_0  
fribidi                   1.0.10               h7b6447c_0  
fsspec                    0.8.3                      py_0  
future                    0.18.2                   py38_1  
get_terminal_size         1.0.0                haa9412d_0  
gevent                    20.9.0           py38h7b6447c_0  
glib                      2.66.1               h92f7085_0  
glob2                     0.7                        py_0  
gmp                       6.1.2                h6c8ec71_1  
gmpy2                     2.0.8            py38hd5f6e3b_3  
gnutls                    3.6.13               h85f3911_1    conda-forge
googledrivedownloader     0.4                      pypi_0    pypi
graphite2                 1.3.14               h23475e2_0  
greenlet                  0.4.17           py38h7b6447c_0  
gst-plugins-base          1.14.0               hbbd80ab_1  
gstreamer                 1.14.0               hb31296c_0  
h5py                      2.10.0           py38h7918eee_0  
harfbuzz                  2.4.0                hca77d97_1  
hdf5                      1.10.4               hb1b8bf9_0  
heapdict                  1.0.1                      py_0  
html5lib                  1.1                        py_0  
icu                       58.2                 he6710b0_3  
idna                      2.10                       py_0  
imageio                   2.9.0                      py_0  
imagesize                 1.2.0                      py_0  
importlib-metadata        2.0.0                      py_1  
importlib_metadata        2.0.0                         1  
iniconfig                 1.1.1                      py_0  
intel-openmp              2020.2                      254  
intervaltree              3.1.0                      py_0  
ipykernel                 5.3.4            py38h5ca1d4c_0  
ipython                   7.19.0           py38hb070fc8_0  
ipython_genutils          0.2.0                    py38_0  
ipywidgets                7.5.1                      py_1  
isodate                   0.6.0                    pypi_0    pypi
isort                     5.6.4                      py_0  
itsdangerous              1.1.0                      py_0  
jbig                      2.1                  hdba287a_0  
jdcal                     1.4.1                      py_0  
jedi                      0.17.1                   py38_0  
jeepney                   0.5.0              pyhd3eb1b0_0  
jinja2                    2.11.2                     py_0  
joblib                    0.17.0                     py_0  
jpeg                      9b                   h024ee3a_2  
json5                     0.9.5                      py_0  
jsonpatch                 1.32                     pypi_0    pypi
jsonpointer               2.1                      pypi_0    pypi
jsonschema                3.2.0                      py_2  
jupyter                   1.0.0                    py38_7  
jupyter_client            6.1.7                      py_0  
jupyter_console           6.2.0                      py_0  
jupyter_core              4.6.3                    py38_0  
jupyterlab                2.2.6                      py_0  
jupyterlab_pygments       0.1.2                      py_0  
jupyterlab_server         1.2.0                      py_0  
keyring                   21.4.0                   py38_1  
kiwisolver                1.3.0            py38h2531618_0  
krb5                      1.18.2               h173b8e3_0  
lame                      3.100             h7f98852_1001    conda-forge
lazy-object-proxy         1.4.3            py38h7b6447c_0  
lcms2                     2.11                 h396b838_0  
ld_impl_linux-64          2.33.1               h53a641e_7  
libarchive                3.4.2                h62408e4_0  
libboost                  1.73.0              h37e3b65_11    anaconda
libcurl                   7.71.1               h20c2e04_1  
libedit                   3.1.20191231         h14c3975_1  
libffi                    3.3                  he6710b0_2  
libgcc-ng                 9.3.0               h2828fa1_19    conda-forge
libgfortran-ng            7.3.0                hdf63c60_0  
libgomp                   9.3.0               h2828fa1_19    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
liblief                   0.10.1               he6710b0_0  
libllvm10                 10.0.1               hbcb73fb_5  
libllvm9                  9.0.1                hf817b99_2    conda-forge
libpng                    1.6.37               hbc83047_0  
libsodium                 1.0.18               h7b6447c_0  
libspatialindex           1.9.3                he6710b0_0  
libssh2                   1.9.0                h1ba5d50_1  
libstdcxx-ng              9.3.0               h6de172a_19    conda-forge
libtiff                   4.1.0                h2733197_1  
libtool                   2.4.6             h7b6447c_1005  
libuuid                   1.0.3                h1bed415_2  
libuv                     1.41.0               h7f98852_0    conda-forge
libxcb                    1.14                 h7b6447c_0  
libxml2                   2.9.10               hb55368b_3  
libxslt                   1.1.34               hc22bd24_0  
llvmlite                  0.34.0           py38h269e1b5_4  
locket                    0.2.0                    py38_1  
lxml                      4.6.1            py38hefd8a0e_0  
lz4-c                     1.9.2                heb0550a_3  
lzo                       2.10                 h7b6447c_2  
markupsafe                1.1.1            py38h7b6447c_0  
matplotlib                3.3.2                         0  
matplotlib-base           3.3.2            py38h817c723_0  
mccabe                    0.6.1                    py38_1  
mistune                   0.8.4           py38h7b6447c_1000  
mkl                       2020.2                      256  
mkl-service               2.3.0            py38he904b0f_0  
mkl_fft                   1.2.0            py38h23d657b_0  
mkl_random                1.1.1            py38h0573a6f_0  
mock                      4.0.2                      py_0  
more-itertools            8.6.0              pyhd3eb1b0_0  
mpc                       1.1.0                h10f8cd9_1  
mpfr                      4.0.2                hb69a4c5_1  
mpmath                    1.1.0                    py38_0  
msgpack-python            1.0.0            py38hfd86e86_1  
multipledispatch          0.6.0                    py38_0  
nbclient                  0.5.1                      py_0  
nbconvert                 6.0.7                    py38_0  
nbformat                  5.0.8                      py_0  
nccl                      2.9.6.1              h97a9cb7_0    conda-forge
ncurses                   6.2                  he6710b0_1  
nest-asyncio              1.4.2              pyhd3eb1b0_0  
nettle                    3.6                  he412f7d_0    conda-forge
networkx                  2.5                        py_0  
ninja                     1.10.2               h4bd325d_0    conda-forge
nltk                      3.5                        py_0  
nose                      1.3.7                    py38_2  
notebook                  6.1.4                    py38_0  
numba                     0.51.2           py38h0573a6f_1  
numexpr                   2.7.1            py38h423224d_0  
numpy                     1.19.2           py38h54aff64_0  
numpy-base                1.19.2           py38hfa32c7d_0  
numpydoc                  1.1.0              pyhd3eb1b0_1  
olefile                   0.46                       py_0  
openh264                  2.1.1                h780b84a_0    conda-forge
openpyxl                  3.0.5                      py_0  
openssl                   1.1.1h               h7b6447c_0    anaconda
packaging                 20.4                       py_0  
pandas                    1.1.3            py38he6710b0_0  
pandoc                    2.11                 hb0f4dca_0  
pandocfilters             1.4.3            py38h06a4308_1  
pango                     1.45.3               hd140c19_0  
parso                     0.7.0                      py_0  
partd                     1.1.0                      py_0  
patchelf                  0.12                 he6710b0_0  
path                      15.0.0                   py38_0  
path.py                   12.5.0                        0  
pathlib2                  2.3.5                    py38_0  
pathtools                 0.1.2                      py_1  
patsy                     0.5.1                    py38_0  
pcre                      8.44                 he6710b0_0  
pep8                      1.7.1                    py38_0  
pexpect                   4.8.0                    py38_0  
pickleshare               0.7.5                 py38_1000  
pillow                    8.0.1            py38he98fc37_0  
pip                       20.2.4           py38h06a4308_0  
pixman                    0.40.0               h7b6447c_0  
pkginfo                   1.6.1            py38h06a4308_0  
pluggy                    0.13.1                   py38_0  
ply                       3.11                     py38_0  
plyfile                   0.7.3                    pypi_0    pypi
prometheus_client         0.8.0                      py_0  
prompt-toolkit            3.0.8                      py_0  
prompt_toolkit            3.0.8                         0  
psutil                    5.7.2            py38h7b6447c_0  
ptyprocess                0.6.0                    py38_0  
py                        1.9.0                      py_0  
py-boost                  1.73.0          py38h962f231_11    anaconda
py-lief                   0.10.1           py38h403a769_0  
pycodestyle               2.6.0                      py_0  
pycosat                   0.6.3            py38h7b6447c_1  
pycparser                 2.20                       py_2  
pycurl                    7.43.0.6         py38h1ba5d50_0  
pydocstyle                5.1.1                      py_0  
pyflakes                  2.2.0                      py_0  
pygments                  2.7.2              pyhd3eb1b0_0  
pylint                    2.6.0                    py38_0  
pynvrtc                   9.2                      pypi_0    pypi
pyodbc                    4.0.30           py38he6710b0_0  
pyopenssl                 19.1.0                     py_1  
pyparsing                 2.4.7                      py_0  
pyqt                      5.9.2            py38h05f1152_4  
pyrsistent                0.17.3           py38h7b6447c_0  
pysocks                   1.7.1                    py38_0  
pytables                  3.6.1            py38h9fd0a39_0  
pytest                    6.1.1                    py38_0  
python                    3.8.5                h7579374_1  
python-dateutil           2.8.1                      py_0  
python-igraph             0.9.1                    pypi_0    pypi
python-jsonrpc-server     0.4.0                      py_0  
python-language-server    0.35.1                     py_0  
python-libarchive-c       2.9                        py_0  
python-louvain            0.15                     pypi_0    pypi
python_abi                3.8                      1_cp38    conda-forge
pytorch                   1.8.1           py3.8_cuda11.1_cudnn8.0.5_0    pytorch
pytz                      2020.1                     py_0  
pywavelets                1.1.1            py38h7b6447c_2  
pyxdg                     0.27               pyhd3eb1b0_0  
pyyaml                    5.3.1            py38h7b6447c_1  
pyzmq                     19.0.2           py38he6710b0_1  
qdarkstyle                2.8.1                      py_0  
qt                        5.9.7                h5867ecd_1  
qtawesome                 1.0.1                      py_0  
qtconsole                 4.7.7                      py_0  
qtpy                      1.9.0                      py_0  
rdflib                    5.0.0                    pypi_0    pypi
readline                  8.0                  h7b6447c_0  
regex                     2020.10.15       py38h7b6447c_0  
requests                  2.24.0                     py_0  
ripgrep                   12.1.1                        0  
rope                      0.18.0                     py_0  
rtree                     0.9.4                    py38_1  
ruamel_yaml               0.15.87          py38h7b6447c_1  
scikit-image              0.17.2           py38hdf5156a_0  
scikit-learn              0.23.2           py38h0573a6f_0  
scipy                     1.5.2            py38h0b6359f_0  
seaborn                   0.11.0                     py_0  
secretstorage             3.1.2                    py38_0  
send2trash                1.5.0                    py38_0  
setuptools                50.3.1           py38h06a4308_1  
simplegeneric             0.8.1                    py38_2  
singledispatch            3.4.0.3                 py_1001  
sip                       4.19.13          py38he6710b0_0  
six                       1.15.0           py38h06a4308_0  
sklearn                   0.0                      pypi_0    pypi
snappy                    1.1.8                he1b5a44_3    conda-forge
snowballstemmer           2.0.0                      py_0  
sortedcollections         1.2.1                      py_0  
sortedcontainers          2.2.2                      py_0  
soupsieve                 2.0.1                      py_0  
sphinx                    3.2.1                      py_0  
sphinxcontrib             1.0                      py38_1  
sphinxcontrib-applehelp   1.0.2                      py_0  
sphinxcontrib-devhelp     1.0.2                      py_0  
sphinxcontrib-htmlhelp    1.0.3                      py_0  
sphinxcontrib-jsmath      1.0.1                      py_0  
sphinxcontrib-qthelp      1.0.3                      py_0  
sphinxcontrib-serializinghtml 1.1.4                      py_0  
sphinxcontrib-websupport  1.2.4                      py_0  
spyder                    4.1.5                    py38_0  
spyder-kernels            1.9.4                    py38_0  
sqlalchemy                1.3.20           py38h7b6447c_0  
sqlite                    3.33.0               h62c20be_0  
statsmodels               0.12.0           py38h7b6447c_0  
sympy                     1.6.2            py38h06a4308_1  
tbb                       2020.3               hfd86e86_0  
tblib                     1.7.0                      py_0  
terminado                 0.9.1                    py38_0  
testpath                  0.4.4                      py_0  
texttable                 1.6.3                    pypi_0    pypi
threadpoolctl             2.1.0              pyh5ca1d4c_0  
tifffile                  2020.10.1        py38hdd07704_2  
tk                        8.6.10               hbc83047_0  
toml                      0.10.1                     py_0  
toolz                     0.11.1                     py_0  
torch-cluster             1.5.9                    pypi_0    pypi
torch-geometric           1.7.0                    pypi_0    pypi
torch-scatter             2.0.6                    pypi_0    pypi
torch-sparse              0.6.9                    pypi_0    pypi
torch-spline-conv         1.2.1                    pypi_0    pypi
torchaudio                0.8.1                      py38    pytorch
torchfile                 0.1.0                    pypi_0    pypi
torchnet                  0.0.5.1                  pypi_0    pypi
torchvision               0.9.1                py38_cu111    pytorch
tornado                   6.0.4            py38h7b6447c_1  
tqdm                      4.50.2                     py_0  
traitlets                 5.0.5                      py_0  
transforms3d              0.3.1                    pypi_0    pypi
typing_extensions         3.7.4.3                    py_0  
ujson                     4.0.1            py38he6710b0_0  
unicodecsv                0.14.1                   py38_0  
unixodbc                  2.3.9                h7b6447c_0  
urllib3                   1.25.11                    py_0  
visdom                    0.1.8.9                  pypi_0    pypi
watchdog                  0.10.3                   py38_0  
wcwidth                   0.2.5                      py_0  
webencodings              0.5.1                    py38_1  
websocket-client          0.58.0                   pypi_0    pypi
werkzeug                  1.0.1                      py_0  
wheel                     0.35.1                     py_0  
widgetsnbextension        3.5.1                    py38_0  
wrapt                     1.11.2           py38h7b6447c_0  
wurlitzer                 2.0.1                    py38_0  
xlrd                      1.2.0                      py_0  
xlsxwriter                1.3.7                      py_0  
xlwt                      1.3.0                    py38_0  
xz                        5.2.5                h7b6447c_0  
yaml                      0.2.5                h7b6447c_0  
yapf                      0.30.0                     py_0  
zeromq                    4.3.3                he6710b0_3  
zict                      2.0.0                      py_0  
zipp                      3.4.0              pyhd3eb1b0_0  
zlib                      1.2.11               h7b6447c_3  
zope                      1.0                      py38_1  
zope.event                4.5.0                    py38_0  
zope.interface            5.1.2            py38h7b6447c_0  
zstd                      1.4.5                h9ceee32_0  

Details about conda and system ( conda info ):

$ conda info
     active environment : superpoint
    active env location : /home/anaconda3/envs/superpoint
            shell level : 2
       user config file : /home/.condarc
 populated config files : 
          conda version : 4.9.2
    conda-build version : 3.18.11
         python version : 3.8.3.final.0
       virtual packages : __cuda=11.0=0
                          __glibc=2.27=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/anaconda3/pkgs
                          /home/.conda/pkgs
       envs directories : /home/anaconda3/envs
                          /home/.conda/envs
               platform : linux-64
             user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.3 Linux/5.4.0-72-generic ubuntu/18.04.5 glibc/2.27
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Build CuPy for Windows?

I think cupy/cupy#3403 would not be an issue if CuPy is installed from conda-forge instead of PyPI. Unfortunately I don't think conda-forge provides the CUDA toolchain on Windows yet.

Support cuTENSOR

According to cuTENSOR license the .so and .h files are redistributable:

  1. Distribution. The following portions of the SDK are distributable under the Agreement: the runtimes files ending with .so and .h as part of your application.

I suppose the package should be added upstream. Then, we just add cutensor to our dependencies, and set CUTENSOR_PATH to $PREFIX prior to building.

I was able to build cuTENSOR support with our experimental self-hosted agent, but I don't know how to include its files in the package. (UPDATE) the module is not importable, see my comment below.

Make cuDNN/cuTENSOR/NCCL optional

Currently CuPy lists cuDNN as a requirement, but given cuDNN is large in size it's possibly a good idea to make it optional instead. A concrete use case is RAPIDS, it depends on CuPy but doesn't use cuDNN, which forces the inclusion of that library in official Docker containers, etc.

@leofang mentioned there may be a few things that need to be changed. Could we discuss those here? Do we need those changes in the CuPy repo or do they need to be here in the feedstock?

cc @kkraus14 @kmaehashi @jakirkham

cuGraph dependency

There is some discussion going on about using RAPIDS cuGraph for some of the graph operations that will be add to CuPy (mirroring APIs of this in SciPy) ( cupy/cupy#4219 ). One of the questions that comes out of this is how we handle the dependency for the cupy package. This depends a bit on how CuPy uses cuGraph (as such this is not totally flushed out). In any event am raising here for awareness/early discussion about how to handle this issue. Here are some thoughts on how this dependency gets managed:

  1. Reuse Conda package for cuGraph from RAPIDS
  2. Package cuGraph in conda-forge
  3. Use a vendored cuGraph from CuPy (maybe CuPy uses a git submodule? maybe it gets cloned and built in the recipe?)
  4. Make cuGraph an optional runtime dependency (using Python API, dlopen, or similar; this depends on how cuGraph is used by CuPy)
  5. ?

These are very rough ideas and likely subject to change, but hopefully this starts the discussion. Should add the typical response to adding packages from other channels in conda-forge is no this is not an option. IOW 1 is not likely feasible, but have listed it for completeness anyways. 2 likely has challenges as well as there is an open question of who would maintain this and may lead to duplicated effort (RAPIDS will likely still build this in its own channel anyways). 3 would increase the complexity of the build here (and possibly for CuPy wheels depending on how it is done). 4 may increase the complexity of code added to CuPy. If others have different suggestions on how to handle these issue, that would be welcome

cc @rlratzel @pentchev @anaruse @kmaehashi @leofang

cupy from conda forge doesnt work

Issue: cupy installed from conda forge doesnt work


Environment (conda list):
$ conda list

_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                      1_llvm    conda-forge
abseil-cpp                20210324.2           h9c3ff4c_0    conda-forge
absl-py                   0.13.0             pyhd8ed1ab_0    conda-forge
aiohttp                   3.7.4.post0      py38h497a2fe_0    conda-forge
aiohttp-cors              0.7.0                      py_0    conda-forge
aioredis                  1.3.1                      py_0    conda-forge
alabaster                 0.7.12                     py_0    conda-forge
alsa-lib                  1.2.3                h516909a_0    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
arrow-cpp                 4.0.1           py38h7d5ba57_2_cpu    conda-forge
astunparse                1.6.3              pyhd8ed1ab_0    conda-forge
async-timeout             3.0.1                   py_1000    conda-forge
atari_py                  0.2.9            py38hf01b267_0    conda-forge
attrs                     21.2.0             pyhd8ed1ab_0    conda-forge
aws-c-cal                 0.5.11               h95a6274_0    conda-forge
aws-c-common              0.6.2                h7f98852_0    conda-forge
aws-c-event-stream        0.2.7               h3541f99_13    conda-forge
aws-c-io                  0.10.5               hfb6a706_0    conda-forge
aws-checksums             0.1.11               ha31a3da_7    conda-forge
aws-sdk-cpp               1.8.186              hb4091e7_3    conda-forge
babel                     2.9.1              pyh44b312d_0    conda-forge
bidict                    0.21.2                     py_0    conda-forge
black                     21.5b2             pyhd8ed1ab_0    conda-forge
blas                      2.109                       mkl    conda-forge
blas-devel                3.9.0                     9_mkl    conda-forge
bleach                    3.3.0              pyh44b312d_0    conda-forge
blinker                   1.4                        py_1    conda-forge
blosc                     1.21.0               h9c3ff4c_0    conda-forge
bokeh                     2.3.2            py38h578d9bd_0    conda-forge
box2d-py                  2.3.8            py38h709712a_3    conda-forge
brotli                    1.0.9                h9c3ff4c_4    conda-forge
brotlipy                  0.7.0           py38h497a2fe_1001    conda-forge
brunsli                   0.1                  h9c3ff4c_0    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.17.1               h7f98852_1    conda-forge
ca-certificates           2021.5.30            ha878542_0    conda-forge
cachetools                4.2.2              pyhd8ed1ab_0    conda-forge
cairo                     1.16.0            h6cf1ce9_1008    conda-forge
cattrs                    1.7.1              pyhd8ed1ab_0    conda-forge
certifi                   2021.5.30        py38h578d9bd_0    conda-forge
cffi                      1.14.5           py38ha65f79e_0    conda-forge
cfitsio                   3.470                hb418390_7    conda-forge
chardet                   4.0.0            py38h578d9bd_1    conda-forge
charls                    2.2.0                h9c3ff4c_0    conda-forge
click                     8.0.1            py38h578d9bd_0    conda-forge
cloudpickle               1.6.0                      py_0    conda-forge
cmarkgfm                  0.5.3            py38h497a2fe_0    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
commonmark                0.9.1                      py_0    conda-forge
cryptography              3.4.7            py38ha5dfef3_0    conda-forge
cudatoolkit               11.1.74              h6bb024c_0    nvidia
cudnn                     8.2.0.53             h86fa8c9_0    conda-forge
cupy                      9.2.0            py38h5546af9_0    conda-forge
cutensor                  1.3.1.3              h97a9cb7_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
cython                    0.29.23          py38h709712a_1    conda-forge
cytoolz                   0.11.0           py38h497a2fe_3    conda-forge
dask                      2021.6.2           pyhd8ed1ab_0    conda-forge
dask-core                 2021.6.2           pyhd8ed1ab_0    conda-forge
dataclasses               0.8                pyhc8e2a94_1    conda-forge
dbus                      1.13.6               h48d8840_2    conda-forge
ddt                       1.4.1              pyh9f0ad1d_0    conda-forge
decorator                 5.0.9              pyhd8ed1ab_0    conda-forge
distributed               2021.6.2         py38h578d9bd_0    conda-forge
dm-tree                   0.1.5            py38h51da96c_2    conda-forge
docutils                  0.16             py38h578d9bd_3    conda-forge
expat                     2.4.1                h9c3ff4c_0    conda-forge
fastrlock                 0.6              py38h709712a_1    conda-forge
ffmpeg                    4.3                  hf484d3e_0    pytorch
filelock                  3.0.12             pyh9f0ad1d_0    conda-forge
flatbuffers               2.0.0                h9c3ff4c_0    conda-forge
fontconfig                2.13.1            hba837de_1005    conda-forge
freetype                  2.10.4               h0708190_1    conda-forge
fsspec                    2021.6.1           pyhd8ed1ab_0    conda-forge
future                    0.18.2           py38h578d9bd_3    conda-forge
gast                      0.3.3                      py_0    conda-forge
gettext                   0.19.8.1          h0b5b191_1005    conda-forge
gflags                    2.2.2             he1b5a44_1004    conda-forge
giflib                    5.2.1                h36c2ea0_2    conda-forge
glfw                      3.3.4                h7f98852_0    conda-forge
glib                      2.68.3               h9c3ff4c_0    conda-forge
glib-tools                2.68.3               h9c3ff4c_0    conda-forge
glog                      0.5.0                h48cff8f_0    conda-forge
gmp                       6.2.1                h58526e2_0    conda-forge
gnutls                    3.6.13               h85f3911_1    conda-forge
google-api-core           1.30.0             pyhd8ed1ab_0    conda-forge
google-auth               1.32.0             pyh6c4a22f_0    conda-forge
google-auth-oauthlib      0.4.1                      py_2    conda-forge
google-pasta              0.2.0              pyh8c360ce_0    conda-forge
googleapis-common-protos  1.53.0           py38h578d9bd_0    conda-forge
gputil                    1.4.0              pyh9f0ad1d_0    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
grpc-cpp                  1.38.1               h36ce80c_0    conda-forge
grpcio                    1.32.0           py38heead2fc_0    conda-forge
gst-plugins-base          1.18.4               hf529b03_2    conda-forge
gstreamer                 1.18.4               h76c114f_2    conda-forge
gym                       0.18.0                   pypi_0    pypi
gym-unity                 0.27.0                   pypi_0    pypi
h5py                      2.10.0          nompi_py38h9915d05_106    conda-forge
harfbuzz                  2.8.1                h83ec7ef_0    conda-forge
hdf5                      1.10.6          nompi_h6a2412b_1114    conda-forge
heapdict                  1.0.1                      py_0    conda-forge
hiredis                   1.1.0            py38h1e0a361_1    conda-forge
hypothesis                6.14.0             pyhd8ed1ab_0    conda-forge
icu                       68.1                 h58526e2_0    conda-forge
idna                      2.10               pyh9f0ad1d_0    conda-forge
ifcfg                     0.21                       py_0    conda-forge
imagecodecs               2021.6.8         py38hf154af1_0    conda-forge
imageio                   2.9.0                      py_0    conda-forge
imagesize                 1.2.0                      py_0    conda-forge
importlib-metadata        4.6.0            py38h578d9bd_0    conda-forge
importlib_metadata        4.6.0                hd8ed1ab_0    conda-forge
iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
jasper                    1.900.1           h07fcdf6_1006    conda-forge
jbig                      2.1               h7f98852_2003    conda-forge
jeepney                   0.6.0              pyhd8ed1ab_0    conda-forge
jinja2                    3.0.1              pyhd8ed1ab_0    conda-forge
joblib                    1.0.1              pyhd8ed1ab_0    conda-forge
jpeg                      9d                   h36c2ea0_0    conda-forge
jsonschema                3.2.0              pyhd8ed1ab_3    conda-forge
jxrlib                    1.1                  h7f98852_2    conda-forge
keras-applications        1.0.8                    pypi_0    pypi
keras-preprocessing       1.1.2                    pypi_0    pypi
keras-tuner               1.0.3                    pypi_0    pypi
keyring                   23.0.1           py38h578d9bd_0    conda-forge
kiwisolver                1.3.1            py38h1fd1430_1    conda-forge
krb5                      1.19.1               hcc1bbae_0    conda-forge
lame                      3.100             h7f98852_1001    conda-forge
lcms2                     2.12                 hddcbb42_0    conda-forge
ld_impl_linux-64          2.35.1               hea4e1c9_2    conda-forge
lerc                      2.2.1                h9c3ff4c_0    conda-forge
libaec                    1.0.5                h9c3ff4c_0    conda-forge
libblas                   3.9.0                     9_mkl    conda-forge
libcblas                  3.9.0                     9_mkl    conda-forge
libclang                  11.1.0          default_ha53f305_1    conda-forge
libcurl                   7.77.0               h2574ce0_0    conda-forge
libdeflate                1.7                  h7f98852_5    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libevent                  2.1.10               hcdb4288_3    conda-forge
libffi                    3.3                  h58526e2_2    conda-forge
libgcc-ng                 9.3.0               h2828fa1_19    conda-forge
libgfortran-ng            9.3.0               hff62375_19    conda-forge
libgfortran5              9.3.0               hff62375_19    conda-forge
libglib                   2.68.3               h3e27bee_0    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
liblapack                 3.9.0                     9_mkl    conda-forge
liblapacke                3.9.0                     9_mkl    conda-forge
libllvm11                 11.1.0               hf817b99_2    conda-forge
libnghttp2                1.43.0               h812cca2_0    conda-forge
libogg                    1.3.4                h7f98852_1    conda-forge
libopencv                 4.4.0                    py38_2    conda-forge
libopus                   1.3.1                h7f98852_1    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libpq                     13.3                 hd57d9b9_0    conda-forge
libprotobuf               3.16.0               h780b84a_0    conda-forge
libssh2                   1.9.0                ha56f1ee_6    conda-forge
libstdcxx-ng              9.3.0               h6de172a_19    conda-forge
libthrift                 0.14.2               he6d91bd_1    conda-forge
libtiff                   4.3.0                hf544144_1    conda-forge
libutf8proc               2.6.1                h7f98852_0    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libuv                     1.41.0               h7f98852_0    conda-forge
libvorbis                 1.3.7                h9c3ff4c_0    conda-forge
libwebp-base              1.2.0                h7f98852_2    conda-forge
libxcb                    1.13              h7f98852_1003    conda-forge
libxkbcommon              1.0.3                he3ba5ed_0    conda-forge
libxml2                   2.9.12               h72842e0_0    conda-forge
libzopfli                 1.0.3                h9c3ff4c_0    conda-forge
llvm-openmp               11.1.0               h4bd325d_1    conda-forge
locket                    0.2.0                      py_2    conda-forge
lz4                       3.1.3            py38hebdc3cf_0    conda-forge
lz4-c                     1.9.3                h9c3ff4c_0    conda-forge
markdown                  3.3.4              pyhd8ed1ab_0    conda-forge
markdown-it-py            1.1.0              pyhd8ed1ab_0    conda-forge
markupsafe                2.0.1            py38h497a2fe_0    conda-forge
matplotlib                3.4.2            py38h578d9bd_0    conda-forge
matplotlib-base           3.4.2            py38hcc49a3a_0    conda-forge
mdit-py-plugins           0.2.8              pyhd8ed1ab_0    conda-forge
mkl                       2021.2.0           h726a3e6_389    conda-forge
mkl-devel                 2021.2.0           ha770c72_390    conda-forge
mkl-include               2021.2.0           h726a3e6_389    conda-forge
mlagents                  0.27.0                   pypi_0    pypi
mlagents-envs             0.27.0                   pypi_0    pypi
more-itertools            8.8.0              pyhd8ed1ab_0    conda-forge
msgpack-python            1.0.2            py38h1fd1430_1    conda-forge
multidict                 5.1.0            py38h497a2fe_1    conda-forge
mypy_extensions           0.4.3            py38h578d9bd_3    conda-forge
mysql-common              8.0.25               ha770c72_2    conda-forge
mysql-libs                8.0.25               hfa10184_2    conda-forge
myst-parser               0.15.1             pyhd8ed1ab_0    conda-forge
navsim                    2.8.1                    pypi_0    pypi
nccl                      2.9.9.1              h97a9cb7_0    conda-forge
ncurses                   6.2                  h58526e2_4    conda-forge
nettle                    3.6                  he412f7d_0    conda-forge
networkx                  2.5                        py_0    conda-forge
ninja                     1.10.2               h4bd325d_0    conda-forge
nspr                      4.30                 h9c3ff4c_0    conda-forge
nss                       3.67                 hb5efdd6_0    conda-forge
numpy                     1.21.0           py38h9894fe3_0    conda-forge
oauthlib                  3.1.1              pyhd8ed1ab_0    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
onnx                      1.9.0            py38h93f1957_1    conda-forge
opencensus                0.7.13             pyhd8ed1ab_0    conda-forge
opencensus-context        0.1.2            py38h578d9bd_4    conda-forge
opencv                    4.4.0                    py38_2    conda-forge
opencv-python             4.5.2.54                 pypi_0    pypi
openh264                  2.1.1                h780b84a_0    conda-forge
openjpeg                  2.4.0                hb52868f_1    conda-forge
openssl                   1.1.1k               h7f98852_0    conda-forge
opt-einsum                3.0.0                      py_0    conda-forge
orc                       1.6.8                h58a87f1_0    conda-forge
packaging                 20.9               pyh44b312d_0    conda-forge
pandas                    1.2.5            py38h1abd341_0    conda-forge
parquet-cpp               1.5.1                         2    conda-forge
partd                     1.2.0              pyhd8ed1ab_0    conda-forge
pathspec                  0.8.1              pyhd3deb0d_0    conda-forge
patsy                     0.5.1                      py_0    conda-forge
pcre                      8.45                 h9c3ff4c_0    conda-forge
pillow                    7.2.0            py38h9776b28_2    conda-forge
pip                       21.1.3             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
pkginfo                   1.7.0              pyhd8ed1ab_0    conda-forge
pluggy                    0.13.1           py38h578d9bd_4    conda-forge
pooch                     1.4.0              pyhd8ed1ab_0    conda-forge
prometheus_client         0.11.0             pyhd8ed1ab_0    conda-forge
protobuf                  3.16.0           py38h709712a_0    conda-forge
psutil                    5.8.0            py38h497a2fe_1    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
py                        1.10.0             pyhd3deb0d_0    conda-forge
py-opencv                 4.4.0            py38h23f93f0_2    conda-forge
pyaml                     20.4.0             pyh9f0ad1d_0    conda-forge
pyarrow                   4.0.1           py38hc9229eb_2_cpu    conda-forge
pyasn1                    0.4.8                      py_0    conda-forge
pyasn1-modules            0.2.7                      py_0    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pydantic                  1.8.2            py38h497a2fe_0    conda-forge
pyglet                    1.5.0            py38h32f6830_1    conda-forge
pygments                  2.9.0              pyhd8ed1ab_0    conda-forge
pyjwt                     2.1.0              pyhd8ed1ab_0    conda-forge
pyopenssl                 20.0.1             pyhd8ed1ab_0    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyqt                      5.12.3           py38h578d9bd_7    conda-forge
pyqt-impl                 5.12.3           py38h7400c14_7    conda-forge
pyqt5-sip                 4.19.18          py38h709712a_7    conda-forge
pyqtchart                 5.12             py38h7400c14_7    conda-forge
pyqtwebengine             5.12.1           py38h7400c14_7    conda-forge
pyrsistent                0.17.3           py38h497a2fe_2    conda-forge
pysocks                   1.7.1            py38h578d9bd_3    conda-forge
pytest                    6.2.4            py38h578d9bd_0    conda-forge
python                    3.8.10          h49503c6_1_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python-snappy             0.6.0            py38h49bdff1_0    conda-forge
python_abi                3.8                      2_cp38    conda-forge
pytorch                   1.8.1           py3.8_cuda11.1_cudnn8.0.5_0    pytorch
pytz                      2021.1             pyhd8ed1ab_0    conda-forge
pyu2f                     0.1.5              pyhd8ed1ab_0    conda-forge
pywavelets                1.1.1            py38h5c078b8_3    conda-forge
pyyaml                    5.4.1            py38h497a2fe_0    conda-forge
qt                        5.12.9               hda022c4_4    conda-forge
ray                       2.0.0.dev0               pypi_0    pypi
re2                       2021.06.01           h9c3ff4c_0    conda-forge
readline                  8.1                  h46c0cb4_0    conda-forge
readme_renderer           27.0               pyh9f0ad1d_0    conda-forge
recommonmark              0.7.1              pyhd8ed1ab_0    conda-forge
redis-py                  3.5.3              pyh9f0ad1d_0    conda-forge
regex                     2021.4.4         py38h497a2fe_0    conda-forge
requests                  2.25.1             pyhd3deb0d_0    conda-forge
requests-oauthlib         1.3.0              pyh9f0ad1d_0    conda-forge
requests-toolbelt         0.9.1                      py_0    conda-forge
rfc3986                   1.5.0              pyhd8ed1ab_0    conda-forge
rsa                       4.7.2              pyh44b312d_0    conda-forge
s2n                       1.0.10               h9b69904_0    conda-forge
scikit-fmm                2021.2.2         py38h51da96c_0    conda-forge
scikit-image              0.18.1           py38h51da96c_0    conda-forge
scikit-learn              0.24.2           py38hdc147b9_0    conda-forge
scikit-optimize           0.8.1              pyh9f0ad1d_0    conda-forge
scikit-posthocs           0.6.7                    pypi_0    pypi
scipy                     1.7.0            py38h7b17777_0    conda-forge
seaborn                   0.11.1               hd8ed1ab_1    conda-forge
seaborn-base              0.11.1             pyhd8ed1ab_1    conda-forge
secretstorage             3.3.1            py38h578d9bd_0    conda-forge
setuptools                49.6.0           py38h578d9bd_3    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
snappy                    1.1.8                he1b5a44_3    conda-forge
snowballstemmer           2.1.0              pyhd8ed1ab_0    conda-forge
sortedcontainers          2.4.0              pyhd8ed1ab_0    conda-forge
sphinx                    4.0.2              pyh6c4a22f_1    conda-forge
sphinx_rtd_theme          0.5.2              pyhd8ed1ab_1    conda-forge
sphinxcontrib-applehelp   1.0.2                      py_0    conda-forge
sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
sphinxcontrib-htmlhelp    2.0.0              pyhd8ed1ab_0    conda-forge
sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
sphinxcontrib-serializinghtml 1.1.5              pyhd8ed1ab_0    conda-forge
sqlite                    3.36.0               h9cd32fc_0    conda-forge
stable-baselines3         1.0                      pypi_0    pypi
statsmodels               0.12.2           py38h5c078b8_0    conda-forge
tabulate                  0.8.9              pyhd8ed1ab_0    conda-forge
tbb                       2021.2.0             h4bd325d_1    conda-forge
tblib                     1.7.0              pyhd8ed1ab_0    conda-forge
tensorboard               2.5.0              pyhd8ed1ab_0    conda-forge
tensorboard-data-server   0.6.0            py38h2b97feb_0    conda-forge
tensorboard-plugin-wit    1.8.0              pyh44b312d_0    conda-forge
tensorboardx              2.2                pyhd8ed1ab_0    conda-forge
tensorflow                2.5.0                    pypi_0    pypi
tensorflow-estimator      2.5.0                    pypi_0    pypi
termcolor                 1.1.0                      py_2    conda-forge
terminaltables            3.1.0                      py_0    conda-forge
threadpoolctl             2.1.0              pyh5ca1d4c_0    conda-forge
tifffile                  2021.6.14          pyhd8ed1ab_0    conda-forge
tk                        8.6.10               h21135ba_1    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
toolz                     0.11.1                     py_0    conda-forge
torchsummary              1.5.1                    pypi_0    pypi
tornado                   6.1              py38h497a2fe_1    conda-forge
tqdm                      4.61.1             pyhd8ed1ab_0    conda-forge
twine                     3.4.1              pyhd8ed1ab_0    conda-forge
typed-ast                 1.4.3            py38h497a2fe_0    conda-forge
typing-extensions         3.10.0.0             hd8ed1ab_0    conda-forge
typing_extensions         3.10.0.0           pyha770c72_0    conda-forge
urllib3                   1.26.6             pyhd8ed1ab_0    conda-forge
webencodings              0.5.1                      py_1    conda-forge
werkzeug                  2.0.1              pyhd8ed1ab_0    conda-forge
wheel                     0.36.2             pyhd3deb0d_0    conda-forge
wrapt                     1.12.1           py38h497a2fe_3    conda-forge
xorg-fixesproto           5.0               h7f98852_1002    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.7.2                h7f98852_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxcursor           1.2.0                h7f98852_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h7f98852_1    conda-forge
xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge
xorg-libxinerama          1.1.4             h9c3ff4c_1001    conda-forge
xorg-libxrandr            1.5.2                h7f98852_1    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-randrproto           1.5.0             h7f98852_1001    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h7f98852_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
yaml                      0.2.5                h516909a_0    conda-forge
yarl                      1.6.3            py38h497a2fe_1    conda-forge
zfp                       0.5.5                h9c3ff4c_5    conda-forge
zict                      2.0.0                      py_0    conda-forge
zipp                      3.4.1              pyhd8ed1ab_0    conda-forge
zlib                      1.2.11            h516909a_1010    conda-forge
zstd                      1.5.0                ha95c52a_0    conda-forge

Details about conda and system ( conda info ):
$ conda info

_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                      1_llvm    conda-forge
abseil-cpp                20210324.2           h9c3ff4c_0    conda-forge
absl-py                   0.13.0             pyhd8ed1ab_0    conda-forge
aiohttp                   3.7.4.post0      py38h497a2fe_0    conda-forge
aiohttp-cors              0.7.0                      py_0    conda-forge
aioredis                  1.3.1                      py_0    conda-forge
alabaster                 0.7.12                     py_0    conda-forge
alsa-lib                  1.2.3                h516909a_0    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
arrow-cpp                 4.0.1           py38h7d5ba57_2_cpu    conda-forge
astunparse                1.6.3              pyhd8ed1ab_0    conda-forge
async-timeout             3.0.1                   py_1000    conda-forge
atari_py                  0.2.9            py38hf01b267_0    conda-forge
attrs                     21.2.0             pyhd8ed1ab_0    conda-forge
aws-c-cal                 0.5.11               h95a6274_0    conda-forge
aws-c-common              0.6.2                h7f98852_0    conda-forge
aws-c-event-stream        0.2.7               h3541f99_13    conda-forge
aws-c-io                  0.10.5               hfb6a706_0    conda-forge
aws-checksums             0.1.11               ha31a3da_7    conda-forge
aws-sdk-cpp               1.8.186              hb4091e7_3    conda-forge
babel                     2.9.1              pyh44b312d_0    conda-forge
bidict                    0.21.2                     py_0    conda-forge
black                     21.5b2             pyhd8ed1ab_0    conda-forge
blas                      2.109                       mkl    conda-forge
blas-devel                3.9.0                     9_mkl    conda-forge
bleach                    3.3.0              pyh44b312d_0    conda-forge
blinker                   1.4                        py_1    conda-forge
blosc                     1.21.0               h9c3ff4c_0    conda-forge
bokeh                     2.3.2            py38h578d9bd_0    conda-forge
box2d-py                  2.3.8            py38h709712a_3    conda-forge
brotli                    1.0.9                h9c3ff4c_4    conda-forge
brotlipy                  0.7.0           py38h497a2fe_1001    conda-forge
brunsli                   0.1                  h9c3ff4c_0    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.17.1               h7f98852_1    conda-forge
ca-certificates           2021.5.30            ha878542_0    conda-forge
cachetools                4.2.2              pyhd8ed1ab_0    conda-forge
cairo                     1.16.0            h6cf1ce9_1008    conda-forge
cattrs                    1.7.1              pyhd8ed1ab_0    conda-forge
certifi                   2021.5.30        py38h578d9bd_0    conda-forge
cffi                      1.14.5           py38ha65f79e_0    conda-forge
cfitsio                   3.470                hb418390_7    conda-forge
chardet                   4.0.0            py38h578d9bd_1    conda-forge
charls                    2.2.0                h9c3ff4c_0    conda-forge
click                     8.0.1            py38h578d9bd_0    conda-forge
cloudpickle               1.6.0                      py_0    conda-forge
cmarkgfm                  0.5.3            py38h497a2fe_0    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
commonmark                0.9.1                      py_0    conda-forge
cryptography              3.4.7            py38ha5dfef3_0    conda-forge
cudatoolkit               11.1.74              h6bb024c_0    nvidia
cudnn                     8.2.0.53             h86fa8c9_0    conda-forge
cupy                      9.2.0            py38h5546af9_0    conda-forge
cutensor                  1.3.1.3              h97a9cb7_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
cython                    0.29.23          py38h709712a_1    conda-forge
cytoolz                   0.11.0           py38h497a2fe_3    conda-forge
dask                      2021.6.2           pyhd8ed1ab_0    conda-forge
dask-core                 2021.6.2           pyhd8ed1ab_0    conda-forge
dataclasses               0.8                pyhc8e2a94_1    conda-forge
dbus                      1.13.6               h48d8840_2    conda-forge
ddt                       1.4.1              pyh9f0ad1d_0    conda-forge
decorator                 5.0.9              pyhd8ed1ab_0    conda-forge
distributed               2021.6.2         py38h578d9bd_0    conda-forge
dm-tree                   0.1.5            py38h51da96c_2    conda-forge
docutils                  0.16             py38h578d9bd_3    conda-forge
expat                     2.4.1                h9c3ff4c_0    conda-forge
fastrlock                 0.6              py38h709712a_1    conda-forge
ffmpeg                    4.3                  hf484d3e_0    pytorch
filelock                  3.0.12             pyh9f0ad1d_0    conda-forge
flatbuffers               2.0.0                h9c3ff4c_0    conda-forge
fontconfig                2.13.1            hba837de_1005    conda-forge
freetype                  2.10.4               h0708190_1    conda-forge
fsspec                    2021.6.1           pyhd8ed1ab_0    conda-forge
future                    0.18.2           py38h578d9bd_3    conda-forge
gast                      0.3.3                      py_0    conda-forge
gettext                   0.19.8.1          h0b5b191_1005    conda-forge
gflags                    2.2.2             he1b5a44_1004    conda-forge
giflib                    5.2.1                h36c2ea0_2    conda-forge
glfw                      3.3.4                h7f98852_0    conda-forge
glib                      2.68.3               h9c3ff4c_0    conda-forge
glib-tools                2.68.3               h9c3ff4c_0    conda-forge
glog                      0.5.0                h48cff8f_0    conda-forge
gmp                       6.2.1                h58526e2_0    conda-forge
gnutls                    3.6.13               h85f3911_1    conda-forge
google-api-core           1.30.0             pyhd8ed1ab_0    conda-forge
google-auth               1.32.0             pyh6c4a22f_0    conda-forge
google-auth-oauthlib      0.4.1                      py_2    conda-forge
google-pasta              0.2.0              pyh8c360ce_0    conda-forge
googleapis-common-protos  1.53.0           py38h578d9bd_0    conda-forge
gputil                    1.4.0              pyh9f0ad1d_0    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
grpc-cpp                  1.38.1               h36ce80c_0    conda-forge
grpcio                    1.32.0           py38heead2fc_0    conda-forge
gst-plugins-base          1.18.4               hf529b03_2    conda-forge
gstreamer                 1.18.4               h76c114f_2    conda-forge
gym                       0.18.0                   pypi_0    pypi
gym-unity                 0.27.0                   pypi_0    pypi
h5py                      2.10.0          nompi_py38h9915d05_106    conda-forge
harfbuzz                  2.8.1                h83ec7ef_0    conda-forge
hdf5                      1.10.6          nompi_h6a2412b_1114    conda-forge
heapdict                  1.0.1                      py_0    conda-forge
hiredis                   1.1.0            py38h1e0a361_1    conda-forge
hypothesis                6.14.0             pyhd8ed1ab_0    conda-forge
icu                       68.1                 h58526e2_0    conda-forge
idna                      2.10               pyh9f0ad1d_0    conda-forge
ifcfg                     0.21                       py_0    conda-forge
imagecodecs               2021.6.8         py38hf154af1_0    conda-forge
imageio                   2.9.0                      py_0    conda-forge
imagesize                 1.2.0                      py_0    conda-forge
importlib-metadata        4.6.0            py38h578d9bd_0    conda-forge
importlib_metadata        4.6.0                hd8ed1ab_0    conda-forge
iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
jasper                    1.900.1           h07fcdf6_1006    conda-forge
jbig                      2.1               h7f98852_2003    conda-forge
jeepney                   0.6.0              pyhd8ed1ab_0    conda-forge
jinja2                    3.0.1              pyhd8ed1ab_0    conda-forge
joblib                    1.0.1              pyhd8ed1ab_0    conda-forge
jpeg                      9d                   h36c2ea0_0    conda-forge
jsonschema                3.2.0              pyhd8ed1ab_3    conda-forge
jxrlib                    1.1                  h7f98852_2    conda-forge
keras-applications        1.0.8                    pypi_0    pypi
keras-preprocessing       1.1.2                    pypi_0    pypi
keras-tuner               1.0.3                    pypi_0    pypi
keyring                   23.0.1           py38h578d9bd_0    conda-forge
kiwisolver                1.3.1            py38h1fd1430_1    conda-forge
krb5                      1.19.1               hcc1bbae_0    conda-forge
lame                      3.100             h7f98852_1001    conda-forge
lcms2                     2.12                 hddcbb42_0    conda-forge
ld_impl_linux-64          2.35.1               hea4e1c9_2    conda-forge
lerc                      2.2.1                h9c3ff4c_0    conda-forge
libaec                    1.0.5                h9c3ff4c_0    conda-forge
libblas                   3.9.0                     9_mkl    conda-forge
libcblas                  3.9.0                     9_mkl    conda-forge
libclang                  11.1.0          default_ha53f305_1    conda-forge
libcurl                   7.77.0               h2574ce0_0    conda-forge
libdeflate                1.7                  h7f98852_5    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libevent                  2.1.10               hcdb4288_3    conda-forge
libffi                    3.3                  h58526e2_2    conda-forge
libgcc-ng                 9.3.0               h2828fa1_19    conda-forge
libgfortran-ng            9.3.0               hff62375_19    conda-forge
libgfortran5              9.3.0               hff62375_19    conda-forge
libglib                   2.68.3               h3e27bee_0    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
liblapack                 3.9.0                     9_mkl    conda-forge
liblapacke                3.9.0                     9_mkl    conda-forge
libllvm11                 11.1.0               hf817b99_2    conda-forge
libnghttp2                1.43.0               h812cca2_0    conda-forge
libogg                    1.3.4                h7f98852_1    conda-forge
libopencv                 4.4.0                    py38_2    conda-forge
libopus                   1.3.1                h7f98852_1    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libpq                     13.3                 hd57d9b9_0    conda-forge
libprotobuf               3.16.0               h780b84a_0    conda-forge
libssh2                   1.9.0                ha56f1ee_6    conda-forge
libstdcxx-ng              9.3.0               h6de172a_19    conda-forge
libthrift                 0.14.2               he6d91bd_1    conda-forge
libtiff                   4.3.0                hf544144_1    conda-forge
libutf8proc               2.6.1                h7f98852_0    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libuv                     1.41.0               h7f98852_0    conda-forge
libvorbis                 1.3.7                h9c3ff4c_0    conda-forge
libwebp-base              1.2.0                h7f98852_2    conda-forge
libxcb                    1.13              h7f98852_1003    conda-forge
libxkbcommon              1.0.3                he3ba5ed_0    conda-forge
libxml2                   2.9.12               h72842e0_0    conda-forge
libzopfli                 1.0.3                h9c3ff4c_0    conda-forge
llvm-openmp               11.1.0               h4bd325d_1    conda-forge
locket                    0.2.0                      py_2    conda-forge
lz4                       3.1.3            py38hebdc3cf_0    conda-forge
lz4-c                     1.9.3                h9c3ff4c_0    conda-forge
markdown                  3.3.4              pyhd8ed1ab_0    conda-forge
markdown-it-py            1.1.0              pyhd8ed1ab_0    conda-forge
markupsafe                2.0.1            py38h497a2fe_0    conda-forge
matplotlib                3.4.2            py38h578d9bd_0    conda-forge
matplotlib-base           3.4.2            py38hcc49a3a_0    conda-forge
mdit-py-plugins           0.2.8              pyhd8ed1ab_0    conda-forge
mkl                       2021.2.0           h726a3e6_389    conda-forge
mkl-devel                 2021.2.0           ha770c72_390    conda-forge
mkl-include               2021.2.0           h726a3e6_389    conda-forge
mlagents                  0.27.0                   pypi_0    pypi
mlagents-envs             0.27.0                   pypi_0    pypi
more-itertools            8.8.0              pyhd8ed1ab_0    conda-forge
msgpack-python            1.0.2            py38h1fd1430_1    conda-forge
multidict                 5.1.0            py38h497a2fe_1    conda-forge
mypy_extensions           0.4.3            py38h578d9bd_3    conda-forge
mysql-common              8.0.25               ha770c72_2    conda-forge
mysql-libs                8.0.25               hfa10184_2    conda-forge
myst-parser               0.15.1             pyhd8ed1ab_0    conda-forge
navsim                    2.8.1                    pypi_0    pypi
nccl                      2.9.9.1              h97a9cb7_0    conda-forge
ncurses                   6.2                  h58526e2_4    conda-forge
nettle                    3.6                  he412f7d_0    conda-forge
networkx                  2.5                        py_0    conda-forge
ninja                     1.10.2               h4bd325d_0    conda-forge
nspr                      4.30                 h9c3ff4c_0    conda-forge
nss                       3.67                 hb5efdd6_0    conda-forge
numpy                     1.21.0           py38h9894fe3_0    conda-forge
oauthlib                  3.1.1              pyhd8ed1ab_0    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
onnx                      1.9.0            py38h93f1957_1    conda-forge
opencensus                0.7.13             pyhd8ed1ab_0    conda-forge
opencensus-context        0.1.2            py38h578d9bd_4    conda-forge
opencv                    4.4.0                    py38_2    conda-forge
opencv-python             4.5.2.54                 pypi_0    pypi
openh264                  2.1.1                h780b84a_0    conda-forge
openjpeg                  2.4.0                hb52868f_1    conda-forge
openssl                   1.1.1k               h7f98852_0    conda-forge
opt-einsum                3.0.0                      py_0    conda-forge
orc                       1.6.8                h58a87f1_0    conda-forge
packaging                 20.9               pyh44b312d_0    conda-forge
pandas                    1.2.5            py38h1abd341_0    conda-forge
parquet-cpp               1.5.1                         2    conda-forge
partd                     1.2.0              pyhd8ed1ab_0    conda-forge
pathspec                  0.8.1              pyhd3deb0d_0    conda-forge
patsy                     0.5.1                      py_0    conda-forge
pcre                      8.45                 h9c3ff4c_0    conda-forge
pillow                    7.2.0            py38h9776b28_2    conda-forge
pip                       21.1.3             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
pkginfo                   1.7.0              pyhd8ed1ab_0    conda-forge
pluggy                    0.13.1           py38h578d9bd_4    conda-forge
pooch                     1.4.0              pyhd8ed1ab_0    conda-forge
prometheus_client         0.11.0             pyhd8ed1ab_0    conda-forge
protobuf                  3.16.0           py38h709712a_0    conda-forge
psutil                    5.8.0            py38h497a2fe_1    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
py                        1.10.0             pyhd3deb0d_0    conda-forge
py-opencv                 4.4.0            py38h23f93f0_2    conda-forge
pyaml                     20.4.0             pyh9f0ad1d_0    conda-forge
pyarrow                   4.0.1           py38hc9229eb_2_cpu    conda-forge
pyasn1                    0.4.8                      py_0    conda-forge
pyasn1-modules            0.2.7                      py_0    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pydantic                  1.8.2            py38h497a2fe_0    conda-forge
pyglet                    1.5.0            py38h32f6830_1    conda-forge
pygments                  2.9.0              pyhd8ed1ab_0    conda-forge
pyjwt                     2.1.0              pyhd8ed1ab_0    conda-forge
pyopenssl                 20.0.1             pyhd8ed1ab_0    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyqt                      5.12.3           py38h578d9bd_7    conda-forge
pyqt-impl                 5.12.3           py38h7400c14_7    conda-forge
pyqt5-sip                 4.19.18          py38h709712a_7    conda-forge
pyqtchart                 5.12             py38h7400c14_7    conda-forge
pyqtwebengine             5.12.1           py38h7400c14_7    conda-forge
pyrsistent                0.17.3           py38h497a2fe_2    conda-forge
pysocks                   1.7.1            py38h578d9bd_3    conda-forge
pytest                    6.2.4            py38h578d9bd_0    conda-forge
python                    3.8.10          h49503c6_1_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python-snappy             0.6.0            py38h49bdff1_0    conda-forge
python_abi                3.8                      2_cp38    conda-forge
pytorch                   1.8.1           py3.8_cuda11.1_cudnn8.0.5_0    pytorch
pytz                      2021.1             pyhd8ed1ab_0    conda-forge
pyu2f                     0.1.5              pyhd8ed1ab_0    conda-forge
pywavelets                1.1.1            py38h5c078b8_3    conda-forge
pyyaml                    5.4.1            py38h497a2fe_0    conda-forge
qt                        5.12.9               hda022c4_4    conda-forge
ray                       2.0.0.dev0               pypi_0    pypi
re2                       2021.06.01           h9c3ff4c_0    conda-forge
readline                  8.1                  h46c0cb4_0    conda-forge
readme_renderer           27.0               pyh9f0ad1d_0    conda-forge
recommonmark              0.7.1              pyhd8ed1ab_0    conda-forge
redis-py                  3.5.3              pyh9f0ad1d_0    conda-forge
regex                     2021.4.4         py38h497a2fe_0    conda-forge
requests                  2.25.1             pyhd3deb0d_0    conda-forge
requests-oauthlib         1.3.0              pyh9f0ad1d_0    conda-forge
requests-toolbelt         0.9.1                      py_0    conda-forge
rfc3986                   1.5.0              pyhd8ed1ab_0    conda-forge
rsa                       4.7.2              pyh44b312d_0    conda-forge
s2n                       1.0.10               h9b69904_0    conda-forge
scikit-fmm                2021.2.2         py38h51da96c_0    conda-forge
scikit-image              0.18.1           py38h51da96c_0    conda-forge
scikit-learn              0.24.2           py38hdc147b9_0    conda-forge
scikit-optimize           0.8.1              pyh9f0ad1d_0    conda-forge
scikit-posthocs           0.6.7                    pypi_0    pypi
scipy                     1.7.0            py38h7b17777_0    conda-forge
seaborn                   0.11.1               hd8ed1ab_1    conda-forge
seaborn-base              0.11.1             pyhd8ed1ab_1    conda-forge
secretstorage             3.3.1            py38h578d9bd_0    conda-forge
setuptools                49.6.0           py38h578d9bd_3    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
snappy                    1.1.8                he1b5a44_3    conda-forge
snowballstemmer           2.1.0              pyhd8ed1ab_0    conda-forge
sortedcontainers          2.4.0              pyhd8ed1ab_0    conda-forge
sphinx                    4.0.2              pyh6c4a22f_1    conda-forge
sphinx_rtd_theme          0.5.2              pyhd8ed1ab_1    conda-forge
sphinxcontrib-applehelp   1.0.2                      py_0    conda-forge
sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
sphinxcontrib-htmlhelp    2.0.0              pyhd8ed1ab_0    conda-forge
sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
sphinxcontrib-serializinghtml 1.1.5              pyhd8ed1ab_0    conda-forge
sqlite                    3.36.0               h9cd32fc_0    conda-forge
stable-baselines3         1.0                      pypi_0    pypi
statsmodels               0.12.2           py38h5c078b8_0    conda-forge
tabulate                  0.8.9              pyhd8ed1ab_0    conda-forge
tbb                       2021.2.0             h4bd325d_1    conda-forge
tblib                     1.7.0              pyhd8ed1ab_0    conda-forge
tensorboard               2.5.0              pyhd8ed1ab_0    conda-forge
tensorboard-data-server   0.6.0            py38h2b97feb_0    conda-forge
tensorboard-plugin-wit    1.8.0              pyh44b312d_0    conda-forge
tensorboardx              2.2                pyhd8ed1ab_0    conda-forge
tensorflow                2.5.0                    pypi_0    pypi
tensorflow-estimator      2.5.0                    pypi_0    pypi
termcolor                 1.1.0                      py_2    conda-forge
terminaltables            3.1.0                      py_0    conda-forge
threadpoolctl             2.1.0              pyh5ca1d4c_0    conda-forge
tifffile                  2021.6.14          pyhd8ed1ab_0    conda-forge
tk                        8.6.10               h21135ba_1    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
toolz                     0.11.1                     py_0    conda-forge
torchsummary              1.5.1                    pypi_0    pypi
tornado                   6.1              py38h497a2fe_1    conda-forge
tqdm                      4.61.1             pyhd8ed1ab_0    conda-forge
twine                     3.4.1              pyhd8ed1ab_0    conda-forge
typed-ast                 1.4.3            py38h497a2fe_0    conda-forge
typing-extensions         3.10.0.0             hd8ed1ab_0    conda-forge
typing_extensions         3.10.0.0           pyha770c72_0    conda-forge
urllib3                   1.26.6             pyhd8ed1ab_0    conda-forge
webencodings              0.5.1                      py_1    conda-forge
werkzeug                  2.0.1              pyhd8ed1ab_0    conda-forge
wheel                     0.36.2             pyhd3deb0d_0    conda-forge
wrapt                     1.12.1           py38h497a2fe_3    conda-forge
xorg-fixesproto           5.0               h7f98852_1002    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.7.2                h7f98852_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxcursor           1.2.0                h7f98852_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h7f98852_1    conda-forge
xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge
xorg-libxinerama          1.1.4             h9c3ff4c_1001    conda-forge
xorg-libxrandr            1.5.2                h7f98852_1    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-randrproto           1.5.0             h7f98852_1001    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h7f98852_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
yaml                      0.2.5                h516909a_0    conda-forge
yarl                      1.6.3            py38h497a2fe_1    conda-forge
zfp                       0.5.5                h9c3ff4c_5    conda-forge
zict                      2.0.0                      py_0    conda-forge
zipp                      3.4.1              pyhd8ed1ab_0    conda-forge
zlib                      1.2.11            h516909a_1010    conda-forge
zstd                      1.5.0                ha95c52a_0    conda-forge

Build CuPy against ROCm?

This issue won't be resolvable in the foreseeable future (at least I don't think so -- lots of extra work and time investment are needed), but it's still worth being kept track.

CuPy recently adds experimental support for ROCm (targeting AMD GPUs): https://docs-cupy.chainer.org/en/latest/install_rocm.html.

Now, there's a roctools from Numba: https://anaconda.org/numba/roctools, but based on the Numba issue tracker and the download times, I doubt it's been extensively tested. Moreover, it doesn't provide the full ROCm software stack, just some LLVM bindings. Users still need to install the ROCm environment themselves: http://numba.pydata.org/numba-doc/latest/roc/overview.html#installation.

For CuPy + ROCm to work in conda, I imagine we need the following things to work:

  • a ROCm compiler stack supported by Anaconda (as NVCC is now)
  • a ROCm counterpart for cudatoolkit (can roctools be reused here?)
  • some docker images that support ROCm
  • some ROCm-enabled CI infrastructure for building, testing and shipping the recipe

Disclaimer: I know nothing about ROCm. ๐Ÿ™‚

Build failures on CUDA 10.1

Currently CUDA 10.1 builds are failing. Here are the CI jobs. Logs for the 3 failure are also attached below.

This appears to be caused by some of the CUDA headers being relocated. This is discussed a bit in issue ( https://gitlab.com/nvidia/container-images/cuda/issues/54 ). The change appears to be part of CUDA 10.1 itself. For example cuBLAS went through this relocation as explained in the CUDA Toolkit 10.1 release notes.

With this release, on Linux systems, the cuBLAS libraries listed below are now installed in the /usr/lib/<arch>-linux-gnu/ or /usr/lib64/ directories as shared and static libraries. Their interfaces are available in the /usr/include directory

As a result we will need to adjust the build to handle these relocations.


4_linux linux_cuda_compiler_version10.1python2.7.txt
5_linux linux_cuda_compiler_version10.1python3.6.txt
6_linux linux_cuda_compiler_version10.1python3.7.txt

Build for Windows + CUDA 11.2

Currently, this combination is disabled:

# TODO(leofang): fix the Thrust compiling error (C3615) for Windows + CUDA 11.2
skip: true # [(not win64 and not linux64) or cuda_compiler_version in (undefined, "None") or (win64 and cuda_compiler_version == "11.2")]

because of a compiler error, see cupy/cupy#4984. If it's a simple fix and is fixed in time, we can backport it to v8.6.0; otherwise, we'll just wait until v9.0.0 (hopefully we fix it by then).

Invalid spec: =1.2.2.5 error when trying to install cupy from conda-forge

Issue:
I get a mysterious Invalid spec error when trying to install from from conda-forge channel
$ conda install -v -c conda-forge cupy
Fetching package metadata .............
An unexpected error has occurred.
Please consider posting the following information to the
conda GitHub issue tracker at:

https://github.com/conda/conda/issues

Current conda install:

           platform : linux-64
      conda version : 4.3.30
   conda is private : False
  conda-env version : 4.3.30
conda-build version : 2.0.2
     python version : 2.7.13.final.0
   requests version : 2.19.1
   root environment : /venvs/anaconda  (read only)
default environment : /mnt/ix2/Experimental_tools/bonito_suzuki
   envs directories : /home/billylau/.conda/envs
                      /venvs/anaconda/envs
      package cache : /venvs/anaconda/pkgs
                      /home/billylau/.conda/pkgs
       channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                      https://conda.anaconda.org/conda-forge/noarch
                      https://repo.continuum.io/pkgs/main/linux-64
                      https://repo.continuum.io/pkgs/main/noarch
                      https://repo.continuum.io/pkgs/free/linux-64
                      https://repo.continuum.io/pkgs/free/noarch
                      https://repo.continuum.io/pkgs/r/linux-64
                      https://repo.continuum.io/pkgs/r/noarch
                      https://repo.continuum.io/pkgs/pro/linux-64
                      https://repo.continuum.io/pkgs/pro/noarch
        config file : /home/billylau/.condarc
         netrc file : None
       offline mode : False
         user-agent : conda/4.3.30 requests/2.19.1 CPython/2.7.13 Linux/5.4.0-72-generic debian/bullseye/sid glibc/2.31    
            UID:GID : 1348:1348

$ /mnt/ix2/Experimental_tools/bonito_suzuki/bin/conda install -v -c conda-forge cupy

Traceback (most recent call last):
  File "/venvs/anaconda/lib/python2.7/site-packages/conda/exceptions.py", line 640, in conda_exception_handler
    return_value = func(*args, **kwargs)
  File "/venvs/anaconda/lib/python2.7/site-packages/conda/cli/main.py", line 140, in _main
    exit_code = args.func(args, p)
  File "/venvs/anaconda/lib/python2.7/site-packages/conda/cli/main_install.py", line 80, in execute
    install(args, parser, 'install')
  File "/venvs/anaconda/lib/python2.7/site-packages/conda/cli/install.py", line 261, in install
    channel_priority_map=_channel_priority_map, is_update=isupdate)
  File "/venvs/anaconda/lib/python2.7/site-packages/conda/plan.py", line 489, in install_actions_list
    for specs_by_prefix in required_solves]
  File "/venvs/anaconda/lib/python2.7/site-packages/conda/plan.py", line 626, in get_actions_for_dists
    add_defaults_to_specs(r, linked, specs, prefix)
  File "/venvs/anaconda/lib/python2.7/site-packages/conda/plan.py", line 384, in add_defaults_to_specs
    depends_on = {s for s in mspecs if r.depends_on(s, name)}
  File "/venvs/anaconda/lib/python2.7/site-packages/conda/plan.py", line 384, in <setcomp>
    depends_on = {s for s in mspecs if r.depends_on(s, name)}
  File "/venvs/anaconda/lib/python2.7/site-packages/conda/resolve.py", line 524, in depends_on
    return depends_on_(MatchSpec(spec))
  File "/venvs/anaconda/lib/python2.7/site-packages/conda/resolve.py", line 522, in depends_on_
    for fn in self.find_matches(spec)
  File "/venvs/anaconda/lib/python2.7/site-packages/conda/resolve.py", line 523, in <genexpr>
    for ms in self.ms_depends(fn))
  File "/venvs/anaconda/lib/python2.7/site-packages/conda/resolve.py", line 505, in ms_depends
    deps = [MatchSpec(d) for d in rec.get('depends', [])]
  File "/venvs/anaconda/lib/python2.7/site-packages/conda/resolve.py", line 63, in __new__
    vspec = VersionSpec(parts[1])
  File "/venvs/anaconda/lib/python2.7/site-packages/conda/version.py", line 345, in __new__
    raise InvalidSpecError(spec)
InvalidSpecError: Invalid spec: =1.2.2.5

Environment (conda list):
$ conda list
$ conda list
# packages in environment at /mnt/ix2/Experimental_tools/bonito_suzuki:
#
_libgcc_mutex             0.1                        main  
blas                      1.0                         mkl  
bzip2                     1.0.8                h7b6447c_0  
ca-certificates           2021.4.13            h06a4308_1  
certifi                   2020.12.5        py37h06a4308_0  
cudatoolkit               11.1.74              h6bb024c_0    nvidia
ffmpeg                    4.3                  hf484d3e_0    pytorch
freetype                  2.10.4               h5ab3b9f_0  
gmp                       6.2.1                h2531618_2  
gnutls                    3.6.15               he1e5248_0  
intel-openmp              2021.2.0           h06a4308_610  
jpeg                      9b                   h024ee3a_2  
lame                      3.100                h7b6447c_0  
lcms2                     2.12                 h3be6417_0  
ld_impl_linux-64          2.33.1               h53a641e_7  
libffi                    3.3                  he6710b0_2  
libgcc-ng                 9.1.0                hdf63c60_0  
libiconv                  1.15                 h63c8f33_5  
libidn2                   2.3.0                h27cfd23_0  
libpng                    1.6.37               hbc83047_0  
libstdcxx-ng              9.1.0                hdf63c60_0  
libtasn1                  4.16.0               h27cfd23_0  
libtiff                   4.1.0                h2733197_1  
libunistring              0.9.10               h27cfd23_0  
libuv                     1.40.0               h7b6447c_0  
lz4-c                     1.9.3                h2531618_0  
mkl                       2021.2.0           h06a4308_296  
mkl-service               2.3.0            py37h27cfd23_1  
mkl_fft                   1.3.0            py37h42c9631_2  
mkl_random                1.2.1            py37ha9443f7_2  
ncurses                   6.2                  he6710b0_1  
nettle                    3.7.2                hbbd107a_1  
ninja                     1.10.2               hff7bd54_1  
numpy                     1.20.1           py37h93e21f0_0  
numpy-base                1.20.1           py37h7d8b39e_0  
olefile                   0.46                       py_0  
openh264                  2.1.0                hd408876_0  
openssl                   1.1.1k               h27cfd23_0  
pillow                    8.2.0            py37he98fc37_0  
pip                       21.0.1           py37h06a4308_0  
python                    3.7.10               hdb3f193_0  
pytorch                   1.8.1           py3.7_cuda11.1_cudnn8.0.5_0    pytorch
readline                  8.1                  h27cfd23_0  
setuptools                52.0.0           py37h06a4308_0  
six                       1.15.0             pyhd3eb1b0_0  
sqlite                    3.35.4               hdfb4753_0  
tk                        8.6.10               hbc83047_0  
torchaudio                0.8.1                      py37    pytorch
torchvision               0.9.1                py37_cu111    pytorch
typing_extensions         3.7.4.3            pyha847dfd_0  
wheel                     0.36.2             pyhd3eb1b0_0  
xz                        5.2.5                h7b6447c_0  
zlib                      1.2.11               h7b6447c_3  
zstd                      1.4.9                haebb681_0  

Details about conda and system ( conda info ):
$ conda info
$ conda info
Current conda install:

               platform : linux-64
          conda version : 4.3.30
       conda is private : False
      conda-env version : 4.3.30
    conda-build version : 2.0.2
         python version : 2.7.13.final.0
       requests version : 2.19.1
       root environment : /venvs/anaconda  (read only)
    default environment : /mnt/ix2/Experimental_tools/bonito_suzuki
       envs directories : /home/billylau/.conda/envs
                          /venvs/anaconda/envs
          package cache : /venvs/anaconda/pkgs
                          /home/billylau/.conda/pkgs
           channel URLs : https://repo.continuum.io/pkgs/main/linux-64
                          https://repo.continuum.io/pkgs/main/noarch
                          https://repo.continuum.io/pkgs/free/linux-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/r/linux-64
                          https://repo.continuum.io/pkgs/r/noarch
                          https://repo.continuum.io/pkgs/pro/linux-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : /home/billylau/.condarc
             netrc file : None
           offline mode : False
             user-agent : conda/4.3.30 requests/2.19.1 CPython/2.7.13 Linux/5.4.0-72-generic debian/bullseye/sid glibc/2.31    
                UID:GID : 1348:1348

cuTENSOR-enabled builds are not picked up by default for CUDA < 11

Requesting CUDA 11.0 would pick up cutensor automatically even if it's not requested explicitly:

$ conda create -n test -c conda-forge python=3.8 cupy cudatoolkit=11.0
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.8.3
  latest version: 4.9.2

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: /home/leofang/miniconda3/envs/test

  added / updated specs:
    - cudatoolkit=11.0
    - cupy
    - python=3.8


The following NEW packages will be INSTALLED:

  _libgcc_mutex      conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge
  _openmp_mutex      conda-forge/linux-64::_openmp_mutex-4.5-1_gnu
  ca-certificates    conda-forge/linux-64::ca-certificates-2020.12.5-ha878542_0
  certifi            conda-forge/linux-64::certifi-2020.12.5-py38h578d9bd_1
  cudatoolkit        conda-forge/linux-64::cudatoolkit-11.0.3-h15472ef_6
  cudnn              conda-forge/linux-64::cudnn-8.0.5.39-ha5ca753_1
  cupy               conda-forge/linux-64::cupy-8.4.0-py38h8c8895c_0
  cutensor           conda-forge/linux-64::cutensor-1.2.2.5-h96e36e3_2
  fastrlock          conda-forge/linux-64::fastrlock-0.5-py38h709712a_2
  ld_impl_linux-64   conda-forge/linux-64::ld_impl_linux-64-2.35.1-hea4e1c9_2
  libblas            conda-forge/linux-64::libblas-3.9.0-7_openblas
  libcblas           conda-forge/linux-64::libcblas-3.9.0-7_openblas
  libffi             conda-forge/linux-64::libffi-3.3-h58526e2_2
  libgcc-ng          conda-forge/linux-64::libgcc-ng-9.3.0-h2828fa1_18
  libgfortran-ng     conda-forge/linux-64::libgfortran-ng-9.3.0-hff62375_18
  libgfortran5       conda-forge/linux-64::libgfortran5-9.3.0-hff62375_18
  libgomp            conda-forge/linux-64::libgomp-9.3.0-h2828fa1_18
  liblapack          conda-forge/linux-64::liblapack-3.9.0-7_openblas
  libopenblas        conda-forge/linux-64::libopenblas-0.3.12-pthreads_h4812303_1
  libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-9.3.0-h6de172a_18
  nccl               conda-forge/linux-64::nccl-2.8.3.1-h96e36e3_0
  ncurses            conda-forge/linux-64::ncurses-6.2-h58526e2_4
  numpy              conda-forge/linux-64::numpy-1.20.0-py38h18fd61f_0
  openssl            conda-forge/linux-64::openssl-1.1.1i-h7f98852_0
  pip                conda-forge/noarch::pip-21.0.1-pyhd8ed1ab_0
  python             conda-forge/linux-64::python-3.8.6-hffdb5ce_5_cpython
  python_abi         conda-forge/linux-64::python_abi-3.8-1_cp38
  readline           conda-forge/linux-64::readline-8.0-he28a2e2_2
  setuptools         conda-forge/linux-64::setuptools-49.6.0-py38h578d9bd_3
  six                conda-forge/noarch::six-1.15.0-pyh9f0ad1d_0
  sqlite             conda-forge/linux-64::sqlite-3.34.0-h74cdb3f_0
  tk                 conda-forge/linux-64::tk-8.6.10-h21135ba_1
  wheel              conda-forge/noarch::wheel-0.36.2-pyhd3deb0d_0
  xz                 conda-forge/linux-64::xz-5.2.5-h516909a_1
  zlib               conda-forge/linux-64::zlib-1.2.11-h516909a_1010

But, for CUDA < 11 (say 10.2) it does not:

$ conda create -n test -c conda-forge python=3.8 cupy cudatoolkit=10.2
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.8.3
  latest version: 4.9.2

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: /home/leofang/miniconda3/envs/test

  added / updated specs:
    - cudatoolkit=10.2
    - cupy
    - python=3.8


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    cupy-8.4.0                 |   py38h7fa8657_0        34.4 MB  conda-forge
    ------------------------------------------------------------
                                           Total:        34.4 MB

The following NEW packages will be INSTALLED:

  _libgcc_mutex      conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge
  _openmp_mutex      conda-forge/linux-64::_openmp_mutex-4.5-1_gnu
  ca-certificates    conda-forge/linux-64::ca-certificates-2020.12.5-ha878542_0
  certifi            conda-forge/linux-64::certifi-2020.12.5-py38h578d9bd_1
  cudatoolkit        conda-forge/linux-64::cudatoolkit-10.2.89-h8f6ccaa_6
  cudnn              conda-forge/linux-64::cudnn-7.6.5.32-h01f27c4_1
  cupy               conda-forge/linux-64::cupy-8.4.0-py38h7fa8657_0
  fastrlock          conda-forge/linux-64::fastrlock-0.5-py38h709712a_2
  ld_impl_linux-64   conda-forge/linux-64::ld_impl_linux-64-2.35.1-hea4e1c9_2
  libblas            conda-forge/linux-64::libblas-3.9.0-7_openblas
  libcblas           conda-forge/linux-64::libcblas-3.9.0-7_openblas
  libffi             conda-forge/linux-64::libffi-3.3-h58526e2_2
  libgcc-ng          conda-forge/linux-64::libgcc-ng-9.3.0-h2828fa1_18
  libgfortran-ng     conda-forge/linux-64::libgfortran-ng-9.3.0-hff62375_18
  libgfortran5       conda-forge/linux-64::libgfortran5-9.3.0-hff62375_18
  libgomp            conda-forge/linux-64::libgomp-9.3.0-h2828fa1_18
  liblapack          conda-forge/linux-64::liblapack-3.9.0-7_openblas
  libopenblas        conda-forge/linux-64::libopenblas-0.3.12-pthreads_h4812303_1
  libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-9.3.0-h6de172a_18
  nccl               conda-forge/linux-64::nccl-2.8.3.1-h1a5f58c_0
  ncurses            conda-forge/linux-64::ncurses-6.2-h58526e2_4
  numpy              conda-forge/linux-64::numpy-1.20.0-py38h18fd61f_0
  openssl            conda-forge/linux-64::openssl-1.1.1i-h7f98852_0
  pip                conda-forge/noarch::pip-21.0.1-pyhd8ed1ab_0
  python             conda-forge/linux-64::python-3.8.6-hffdb5ce_5_cpython
  python_abi         conda-forge/linux-64::python_abi-3.8-1_cp38
  readline           conda-forge/linux-64::readline-8.0-he28a2e2_2
  setuptools         conda-forge/linux-64::setuptools-49.6.0-py38h578d9bd_3
  six                conda-forge/noarch::six-1.15.0-pyh9f0ad1d_0
  sqlite             conda-forge/linux-64::sqlite-3.34.0-h74cdb3f_0
  tk                 conda-forge/linux-64::tk-8.6.10-h21135ba_1
  wheel              conda-forge/noarch::wheel-0.36.2-pyhd3deb0d_0
  xz                 conda-forge/linux-64::xz-5.2.5-h516909a_1
  zlib               conda-forge/linux-64::zlib-1.2.11-h516909a_1010

...unless cutensor is explicitly called out:

$ conda create -n test -c conda-forge python=3.8 cupy cudatoolkit=10.2 cutensor
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.8.3
  latest version: 4.9.2

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: /home/leofang/miniconda3/envs/test

  added / updated specs:
    - cudatoolkit=10.2
    - cupy
    - cutensor
    - python=3.8


The following NEW packages will be INSTALLED:

  _libgcc_mutex      conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge
  _openmp_mutex      conda-forge/linux-64::_openmp_mutex-4.5-1_gnu
  ca-certificates    conda-forge/linux-64::ca-certificates-2020.12.5-ha878542_0
  certifi            conda-forge/linux-64::certifi-2020.12.5-py38h578d9bd_1
  cudatoolkit        conda-forge/linux-64::cudatoolkit-10.2.89-h8f6ccaa_6
  cudnn              conda-forge/linux-64::cudnn-7.6.5.32-h01f27c4_1
  cupy               conda-forge/linux-64::cupy-8.4.0-py38h6754262_0
  cutensor           conda-forge/linux-64::cutensor-1.2.2.5-h1a5f58c_2
  fastrlock          conda-forge/linux-64::fastrlock-0.5-py38h709712a_2
  ld_impl_linux-64   conda-forge/linux-64::ld_impl_linux-64-2.35.1-hea4e1c9_2
  libblas            conda-forge/linux-64::libblas-3.9.0-7_openblas
  libcblas           conda-forge/linux-64::libcblas-3.9.0-7_openblas
  libffi             conda-forge/linux-64::libffi-3.3-h58526e2_2
  libgcc-ng          conda-forge/linux-64::libgcc-ng-9.3.0-h2828fa1_18
  libgfortran-ng     conda-forge/linux-64::libgfortran-ng-9.3.0-hff62375_18
  libgfortran5       conda-forge/linux-64::libgfortran5-9.3.0-hff62375_18
  libgomp            conda-forge/linux-64::libgomp-9.3.0-h2828fa1_18
  liblapack          conda-forge/linux-64::liblapack-3.9.0-7_openblas
  libopenblas        conda-forge/linux-64::libopenblas-0.3.12-pthreads_h4812303_1
  libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-9.3.0-h6de172a_18
  nccl               conda-forge/linux-64::nccl-2.8.3.1-h1a5f58c_0
  ncurses            conda-forge/linux-64::ncurses-6.2-h58526e2_4
  numpy              conda-forge/linux-64::numpy-1.20.0-py38h18fd61f_0
  openssl            conda-forge/linux-64::openssl-1.1.1i-h7f98852_0
  pip                conda-forge/noarch::pip-21.0.1-pyhd8ed1ab_0
  python             conda-forge/linux-64::python-3.8.6-hffdb5ce_5_cpython
  python_abi         conda-forge/linux-64::python_abi-3.8-1_cp38
  readline           conda-forge/linux-64::readline-8.0-he28a2e2_2
  setuptools         conda-forge/linux-64::setuptools-49.6.0-py38h578d9bd_3
  six                conda-forge/noarch::six-1.15.0-pyh9f0ad1d_0
  sqlite             conda-forge/linux-64::sqlite-3.34.0-h74cdb3f_0
  tk                 conda-forge/linux-64::tk-8.6.10-h21135ba_1
  wheel              conda-forge/noarch::wheel-0.36.2-pyhd3deb0d_0
  xz                 conda-forge/linux-64::xz-5.2.5-h516909a_1
  zlib               conda-forge/linux-64::zlib-1.2.11-h516909a_1010

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.