Package Details: python-cupy 13.1.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-04-19 08:20 (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 »

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.

reikdas commented on 2020-11-17 13:08 (UTC)

I get a bunch of errors when trying to import cupy.

[reik@reik-msi ~]$ python
Python 3.8.6 (default, Sep 30 2020, 04:00:38) 
[GCC 10.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cupy
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/cupy/__init__.py", line 20, in <module>
    from cupy import core  # NOQA
  File "/usr/lib/python3.8/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 "/usr/lib/python3.8/site-packages/cupy/cuda/__init__.py", line 5, in <module>
    from cupy.cuda import compiler  # NOQA
  File "/usr/lib/python3.8/site-packages/cupy/cuda/compiler.py", line 10, in <module>
    from cupy.cuda import device
  File "cupy/cuda/device.pyx", line 9, in init cupy.cuda.device
ImportError: libcusolver.so.11: 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 "/usr/lib/python3.8/site-packages/cupy/__init__.py", line 41, 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: libcusolver.so.11: cannot open shared object file: No such file or directory
>>> quit()

I have CUDA 11.

leomao commented on 2020-10-20 11:03 (UTC)

Hi @sl1pkn07, thanks for pointing out this. I have updated the PKGBUILD.

sl1pkn07 commented on 2020-10-17 16:47 (UTC) (edited on 2020-10-17 17:31 (UTC) by sl1pkn07)

seems need pass -std=c++14 to compiler. builds sput tons of warnings about it

aviso: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  129 |   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);

greetings

edit: sed 's|++11|++14|g' -i cupy_setup_build.py

https://github.com/cupy/cupy/blob/de71f558c053f81482308f8c5fbb989072179851/cupy_setup_build.py#L911