Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime dependency issue on CUDA 10.0 #79

Open
sleebapaul opened this issue Apr 14, 2019 · 2 comments
Open

Runtime dependency issue on CUDA 10.0 #79

sleebapaul opened this issue Apr 14, 2019 · 2 comments

Comments

@sleebapaul
Copy link

Did anyone try to reproduce the code in Azure ML Pipeline? It has a default Conda environment with CUDA 10.0 version.

On research, I found that,

  • pynvrtc library doesn't even have an update on CUDA latest version. So mostly, I can't migrate the code to the latest version of CUDA even if I modify the header files in smooth_filter.py.

And why there is a tight coupling between CUDA 9.1 and the code? Any help is greatly appreciated.

@Adlinga
Copy link

Adlinga commented Jul 8, 2019

To solve this try
0) check your CUDA paths in the system enviroment

  1. In smooth_filter.py:
    Change path in line 6 to your CUDA directory. For me it was
    #include "C:/NVIDIA/CUDA/10/include/math_functions.h"
  2. In smooth_filter.py:
    Change line 336 to ptx = program.compile()
  3. In your Anaconda or python path find ...\Lib\site-packages\pynvrtc and there interface.py.
    In interface.py:
    Change line 96 to def_lib_name = 'nvrtc64_100_0.dll'
  4. Enjoy!

@jverygood
Copy link

jverygood commented Nov 2, 2019

If you are using CUDA10.0 under Ubuntu, you should also modify the
export LD_LIBRARY_PATH=${ANACONDA}/lib:${CUDA_PATH}/bin64:$LD_LIBRARY_PATH
to
export LD_LIBRARY_PATH=${ANACONDA}/lib:${CUDA_PATH}/lib64 :$LD_LIBRARY_PATH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants