解释RuntimeError: CUDA error: device-side assert triggered
时间: 2023-10-12 15:05:14 浏览: 224
pytorch模型提示超出内存RuntimeError: CUDA out of memory.
5星 · 资源好评率100%
RuntimeError: CUDA error: device-side assert triggered是一个CUDA错误,表示在GPU端触发了一些断言错误。这种错误通常发生在CUDA内核调用期间,并且可能由于异步报告错误而导致堆栈跟踪不准确。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [解决:RuntimeError: CUDA error: device-side assert triggered](https://blog.csdn.net/wotianxiu/article/details/130126332)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *3* [RuntimeError: CUDA error: device-side assert triggered](https://blog.csdn.net/yeeanna/article/details/129111182)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文