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

How to slove the issue? #1

Open
huang1024rui opened this issue Jan 19, 2022 · 0 comments
Open

How to slove the issue? #1

huang1024rui opened this issue Jan 19, 2022 · 0 comments

Comments

@huang1024rui
Copy link

When running the ./cuda/test.ipynd, the PyCharm cannot make the GPInterp from the
gp_interp_cuda = load('gp_interp_cuda', ['gp_interp_cuda.cpp', 'gp_interp_cuda_kernel.cu'], extra_cflags=['-O2'],verbose=True).
How can I sloved it?

Traceback (most recent call last):
  File "D:/PyCharm/PyCharm_Project/non_uniform/cuda/non-uniform.py", line 3, in <module>
    gp_interp_cuda = load('gp_interp_cuda', ['gp_interp_cuda.cpp', 'gp_interp_cuda_kernel.cu'], extra_cflags=['-O2'],verbose=True)
  File "J:\Anaconda\envs\tf-gpu\lib\site-packages\torch\utils\cpp_extension.py", line 1085, in load
    return _jit_compile(
  File "J:\Anaconda\envs\tf-gpu\lib\site-packages\torch\utils\cpp_extension.py", line 1323, in _jit_compile
    return _import_module_from_library(name, build_directory, is_python_module)
  File "J:\Anaconda\envs\tf-gpu\lib\site-packages\torch\utils\cpp_extension.py", line 1706, in _import_module_from_library
    module = importlib.util.module_from_spec(spec)
  File "<frozen importlib._bootstrap>", line 556, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 1166, in create_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed while importing gp_interp_cuda: The specified module could not be found.
@huang1024rui huang1024rui changed the title How to sloved it How to slove the issue? Jan 19, 2022
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

1 participant