pip install --upgrade cupy 综上所述,如果你遇到module 'cupy.cuda' has no attribute 'compile_with_cache'错误,很可能是因为你的Cupy版本高于v10,而你的代码还在尝试使用已被移除的compile_with_cache方法。你应该更新你的代码,使用cupy.RawKernel来替代compile_with_cache方法,或者考虑升级你的Cupy库。
cupy/cupyPublic NotificationsYou must be signed in to change notification settings Fork880 Star9.9k Code Issues550 Pull requests93 Actions Projects3 Wiki Security Insights Additional navigation options New issue Closed Description watertianyi emcastillo commentedon Nov 16, 2020 ...