Skip to content

Issue with Cupy #11

@alqurri

Description

@alqurri

I tried to install cuoy with diffrent version of pytorch but always getting error:

Building wheels for collected packages: cupy
  Building wheel for cupy (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /scratch/aqa6122/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xl7e_n4q/cupy_72f7497b9bf348c79a0c3ab09cc6875f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xl7e_n4q/cupy_72f7497b9bf348c79a0c3ab09cc6875f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-wyvwgmv8
       cwd: /tmp/pip-install-xl7e_n4q/cupy_72f7497b9bf348c79a0c3ab09cc6875f/
  Complete output (6612 lines):

  -------- Configuring Module: cuda --------
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  In file included from /tmp/tmpv09ei3ac/a.cpp:7:
  /usr/local/cuda/include/cusparse.h:434:46: warning: ‘csric02Info_t’ is deprecated [-Wdeprecated-declarations]
   cusparseCreateCsric02Info(csric02Info_t* info);
                                                ^
  /usr/local/cuda/include/cusparse.h:438:46: warning: ‘csric02Info_t’ is deprecated [-Wdeprecated-declarations]
   cusparseDestroyCsric02Info(csric02Info_t info);
                                                ^
  /usr/local/cuda/include/cusparse.h:442:46: warning: ‘bsric02Info_t’ is deprecated [-Wdeprecated-declarations]
   cusparseCreateBsric02Info(bsric02Info_t* info);
                                                ^
  /usr/local/cuda/include/cusparse.h:446:46: warning: ‘bsric02Info_t’ is deprecated [-Wdeprecated-declarations]
   cusparseDestroyBsric02Info(bsric02Info_t info);
                                                ^
  /usr/local/cuda/include/cusparse.h:450:48: warning: ‘csrilu02Info_t’ is deprecated [-Wdeprecated-declarations]
   cusparseCreateCsrilu02Info(csrilu02Info_t* info);
                                                  ^
  /usr/local/cuda/include/cusparse.h:454:48: warning: ‘csrilu02Info_t’ is deprecated [-Wdeprecated-declarations]
   cusparseDestroyCsrilu02Info(csrilu02Info_t info);
                                                  ^
  /usr/local/cuda/include/cusparse.h:458:48: warning: ‘bsrilu02Info_t’ is deprecated [-Wdeprecated-declarations]
   cusparseCreateBsrilu02Info(bsrilu02Info_t* info);
                                                  ^
  /usr/local/cuda/include/cusparse.h:462:48: warning: ‘bsrilu02Info_t’ is deprecated [-Wdeprecated-declarations]
   cusparseDestroyBsrilu02Info(bsrilu02Info_t info);
                                                  ^
  /usr/local/cuda/include/cusparse.h:466:44: warning: ‘bsrsv2Info_t’ is deprecated [-Wdeprecated-declarations]
   cusparseCreateBsrsv2Info(bsrsv2Info_t* info);
                                              ^
  /usr/local/cuda/include/cusparse.h:470:44: warning: ‘bsrsv2Info_t’ is deprecated [-Wdeprecated-declarations]
   cusparseDestroyBsrsv2Info(bsrsv2Info_t info);
                                              ^
  /usr/local/cuda/include/cusparse.h:474:44: warning: ‘bsrsm2Info_t’ is deprecated [-Wdeprecated-declarations]
   cusparseCreateBsrsm2Info(bsrsm2Info_t* info);
                                              ^
  /usr/local/cuda/include/cusparse.h:478:44: warning: ‘bsrsm2Info_t’ is deprecated [-Wdeprecated-declarations]
   cusparseDestroyBsrsm2Info(bsrsm2Info_t info);
                                              ^
  /usr/local/cuda/include/cusparse.h:482:48: warning: ‘csru2csrInfo_t’ is deprecated [-Wdeprecated-declarations]
   cusparseCreateCsru2csrInfo(csru2csrInfo_t* info);
                                                  ^
  /usr/local/cuda/include/cusparse.h:486:48: warning: ‘csru2csrInfo_t’ is deprecated [-Wdeprecated-declarations]
   cusparseDestroyCsru2csrInfo(csru2csrInfo_t info);
                                                  ^
  /usr/local/cuda/include/cusparse.h:490:50: warning: ‘cusparseColorInfo_t’ is deprecated [-Wdeprecated-declarations]
   cusparseCreateColorInfo(cusparseColorInfo_t* info);
                                                    ^
  /usr/local/cuda/include/cusparse.h:494:50: warning: ‘cusparseColorInfo_t’ is deprecated [-Wdeprecated-declarations]
   cusparseDestroyColorInfo(cusparseColorInfo_t info);
                                                ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions