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 Runtime Error: operation not supported at /data/home/username/diffvg/scene.cpp:35 #62

Open
Jugg1er opened this issue Apr 13, 2023 · 2 comments

Comments

@Jugg1er
Copy link

Jugg1er commented Apr 13, 2023

I ran DiffVG in my project and I got an error with only one line of message:
CUDA Runtime Error: operation not supported at /data/home/username/diffvg/scene.cpp:35

Here's my CUDA info returned by command nvcc -V:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Wed_Jul_22_19:09:09_PDT_2020
Cuda compilation tools, release 11.0, V11.0.221
Build cuda_11.0_bu.TC445_37.28845127_0

@ludysama
Copy link

最好仿着app里的例子来写,目前我用着只有直接优化可学习的坐标是能gpu反传梯度的,如果这个坐标由网络得到,就会报错,只能用.cpu()操作先迁到cpu上才行。 你可以试试

@syguan96
Copy link

Hi @Jugg1er , have you solved this problem?

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