Wei Li
Wei Li
I seem to have encountered the same problem. No matter how I restart VSCode or update the clangd server, I can't solve the problem.
After I deleted all the configuration data files of VSCode and reinstalled the VSCode and clangd extension, it seemed to work normally again. ^_^ ^_^
the CUDA version installed is cuda-11.6, the PyTorch vesion = 1.13.0. And install PyTorch way as official command 'pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116'. 
OK, thanks! Let me have a try later.