Merge pull request #211870 from r-ryantm/auto-update/python310Packages.cupy

python310Packages.cupy: 11.4.0 -> 11.5.0
This commit is contained in:
Fabian Affolter 2023-01-22 16:11:14 +01:00 committed by GitHub
commit 75f57351e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,29 @@
{ lib, buildPythonPackage
, fetchPypi, isPy3k, cython
, fastrlock, numpy, six, wheel, pytestCheckHook, mock, setuptools
{ lib
, buildPythonPackage
, fetchPypi
, cython
, fastrlock
, numpy
, wheel
, pytestCheckHook
, mock
, setuptools
, cudaPackages
, addOpenGLRunpath
, pythonOlder
}:
let
inherit (cudaPackages) cudatoolkit cudnn cutensor nccl;
in buildPythonPackage rec {
pname = "cupy";
version = "11.4.0";
disabled = !isPy3k;
version = "11.5.0";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-A9UrJibgKjorRtcUwc0D5wLI/jORX8ym7Y3lxTmWT0k=";
hash = "sha256-S8hWW97SLMibIQ/Z+0il1TFvMHAeErsjhSpgMU4fn24=";
};
# See https://docs.cupy.dev/en/v10.2.0/reference/environment.html. Seting both
@ -42,7 +51,6 @@ in buildPythonPackage rec {
nccl
fastrlock
numpy
six
setuptools
wheel
];
@ -67,6 +75,7 @@ in buildPythonPackage rec {
meta = with lib; {
description = "A NumPy-compatible matrix library accelerated by CUDA";
homepage = "https://cupy.chainer.org/";
changelog = "https://github.com/cupy/cupy/releases/tag/v${version}";
license = licenses.mit;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ hyphon81 ];