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

CUDA solver failure #4

Closed
andreaferretti opened this issue Jun 17, 2022 · 2 comments
Closed

CUDA solver failure #4

andreaferretti opened this issue Jun 17, 2022 · 2 comments

Comments

@andreaferretti
Copy link

Hi, I tried the CelebA example from the README, using your environment and the provided images, but I get the error

ERROR - main.py - 2022-06-17 10:28:39,626 - Traceback (most recent call last):
  File "/home/wizard/dev/ddrm/main.py", line 164, in main
    runner.sample()
  File "/home/wizard/dev/ddrm/runners/diffusion.py", line 163, in sample
    self.sample_sequence(model, cls_fn)
  File "/home/wizard/dev/ddrm/runners/diffusion.py", line 237, in sample_sequence
    H_funcs = SuperResolution(config.data.channels, config.data.image_size, blur_by, self.device)
  File "/home/wizard/dev/ddrm/functions/svd_replacement.py", line 179, in __init__
    self.U_small, self.singulars_small, self.V_small = torch.svd(H, some=False)
RuntimeError: cusolver error: CUSOLVER_STATUS_EXECUTION_FAILED, when calling `cusolverDnSgesvdj( handle, jobz, econ, m, n, A, lda, S, U, ldu, V, ldv, static_cast<float*>(dataPtr.get()), lwork, info, params)`

Probably there is a mismatch between the CUDA versions. Which CUDA did you use for your experiments?

@bahjat-kawar
Copy link
Owner

Hello Andrea,
We used CUDA version 11 in our experiments. Please refer to the provided environment file for more details.

@andreaferretti
Copy link
Author

In case anyone else incurs in this issue: it is related to a combination of CUDA version installed locally and the CUDA version used in the provided environment file. See here for details

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

2 participants