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

RuntimeError: MAGMA gesdd : the updating process of SBDSDC did not converge #13

Closed
t0mst0ne opened this issue Feb 23, 2018 · 1 comment · May be fixed by #99
Closed

RuntimeError: MAGMA gesdd : the updating process of SBDSDC did not converge #13

t0mst0ne opened this issue Feb 23, 2018 · 1 comment · May be fixed by #99

Comments

@t0mst0ne
Copy link

t0mst0ne commented Feb 23, 2018

Enviroment: build from docker

sudo docker run --runtime=nvidia -v /GITHUB/FastPhotoStyle:/home -i -t fastphotostyle:v1.0 /bin/bash

The pytorch found the GPU
torch.cuda.get_device_name(0) => 'GeForce .....'

python demo.py => I Got the error below, does that mean the code didn't use cuda mostly ?

#######################################################
Intel MKL ERROR: Parameter 4 was incorrect on entry to SLASCL.

Intel MKL ERROR: Parameter 4 was incorrect on entry to SLASCL.
Traceback (most recent call last):
File "demo.py", line 68, in
stylized_img = p_wct.transform(cont_img, styl_img, cont_seg, styl_seg)
File "/home/photo_wct.py", line 47, in transform
csF3 = self.__feature_wct(cF3, sF3, cont_seg, styl_seg)
File "/home/photo_wct.py", line 119, in __feature_wct
tmp_target_feature = self.__wct_core(cont_feat_view, styl_feat_view)
File "/home/photo_wct.py", line 154, in __wct_core
c_u, c_e, c_v = torch.svd(contentConv, some=False)
RuntimeError: MAGMA gesdd : the updating process of SBDSDC did not converge (error: 14) at /opt/conda/conda-bld/pytorch_1518238581238/work/torch/lib/THC/generic/THCTensorMathMagma.cu:325

@t0mst0ne
Copy link
Author

solved -> Possible environment problem

change the environment to cuda9.0 and correspond cudnn , nvidia-smi 390.30
Ubutun 17.10 , using Docker
Hardware : 1080 Ti

Its OK now without error , thanks

phmalek added a commit to phmalek/FastPhotoStyle that referenced this issue May 12, 2020
`torch.svd` cannot handle infinties.
closes NVIDIA#13, closes NVIDIA#97
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

Successfully merging a pull request may close this issue.

1 participant