Package Details: python-cupy 13.3.0-1

Git Clone URL: https://aur.archlinux.org/python-cupy.git (read-only, click to copy)
Package Base: python-cupy
Description: NumPy-like API accelerated with CUDA
Upstream URL: https://cupy.dev
Licenses: MIT
Submitter: leomao
Maintainer: petronny (AutoUpdateBot)
Last Packager: AutoUpdateBot
Votes: 5
Popularity: 0.000000
First Submitted: 2019-01-03 11:58 (UTC)
Last Updated: 2024-08-22 08:18 (UTC)

Pinned Comments

petronny commented on 2023-01-29 09:52 (UTC)

Prebuilt binary can be found in the arch4edu repository.

Latest Comments

1 2 Next › Last »

whitecatkeke commented on 2024-08-28 21:18 (UTC)

I can't seem to compile it. Any help would be appreciated. I have had trouble compiling this package for a few months. Error code:

"error: command '/usr/bin/gcc' failed with exit code 1 ==> ERROR: A failure occurred in build(). Aborting... -> error making: python-cupy-exit status 4 -> Failed to install the following packages. Manual intervention is required: python-cupy - exit status 4"

redponike commented on 2024-06-23 19:56 (UTC) (edited on 2024-06-23 19:58 (UTC) by redponike)

Build is failing because cuDNN 8.8 or 8.9 is needed. Current cuDNN version is 9.1.1 in the official repository.

It might be noteworthy to mention that there are talks to drop cuDNN support altogether in the future. See issue 8215.

cupy_backends/cuda/libs/cudnn.cpp:2339:71: error: ‘cudnnRNNPaddingMode_t’ was not declared in this scope; did you mean ‘cudnnPaddingMode_t’?
 2339 | static CYTHON_INLINE PyObject* __Pyx_PyInt_From_cudnnRNNPaddingMode_t(cudnnRNNPaddingMode_t value);
      |                                                                       ^~~~~~~~~~~~~~~~~~~~~
      |                                                                       cudnnPaddingMode_t

TwentyoneThree commented on 2024-06-19 10:47 (UTC) (edited on 2024-06-19 10:48 (UTC) by TwentyoneThree)

Build on up-to-date Arch Linux system fails with:

[...]
g++ -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto build/temp.linux-x86_64-cpython-312/cupyx/cudnn.o -L/opt/cuda/lib64 -L/opt/cuda/lib -L/usr/lib -lcudnn -o build/lib.linux-x86_64-cpython-312/cupyx/cudnn.cpython-312-x86_64-linux-gnu.so -Wl,--disable-new-dtags,-rpath,/opt/cuda/lib64,-rpath,/opt/cuda/lib
g++ -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto build/temp.linux-x86_64-cpython-312/cupy/_core/dlpack.o -L/opt/cuda/lib64 -L/opt/cuda/lib -L/usr/lib -o build/lib.linux-x86_64-cpython-312/cupy/_core/dlpack.cpython-312-x86_64-linux-gnu.so -Wl,--disable-new-dtags,-rpath,/opt/cuda/lib64,-rpath,/opt/cuda/lib
error: command '/usr/bin/gcc' failed with exit code 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-cupy-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
python-cupy - exit status 4

petronny commented on 2023-01-29 09:52 (UTC)

Prebuilt binary can be found in the arch4edu repository.

Moebius14 commented on 2023-01-26 01:20 (UTC) (edited on 2023-05-26 22:10 (UTC) by Moebius14)

UPDATE: Nevermind, thanks to arch4edu repo posted by @petronny everything works perfect and flawless. Thanks, petronny! You helped a lot!

# OLD COMMENT
# Can't build, always get this error:
# error: cannot convert ‘const cusparseLtMatmulAlgSelection_t’ to ‘const cusparseLtMatmulPlan_t
# Tried the C++14 fix but did't help... :/

gleira commented on 2023-01-11 20:23 (UTC) (edited on 2023-01-11 20:24 (UTC) by gleira)

I can't build this package, I don't know if I'm doing something wrong.

==> Validating source files with md5sums...
v11.4.0.tar.gz ... FAILED
c3cceac115c072fb63df1836ff46d8c60d9eb304.tar.gz ... Passed
4a37de0be4639f222c6565ebd0654cb922b5180e.tar.gz ... Passed
==> ERROR: One or more files did not pass the validity check!

Regards

sl1pkn07 commented on 2021-09-01 16:00 (UTC)

oh. sorry. my fault.

greetings

leomao commented on 2021-09-01 12:06 (UTC)

@sl1pkn07 I think those are just warnings. Can you check if the package is built or not? I also have those messages, but my package is built properly.

leomao commented on 2020-11-17 13:23 (UTC)

Hi @reikdas, I cannot reproduce your issue. Maybe you can try to recompile the package first.