pytorch异常记录与处理

RuntimeError: CUDA error: device-side assert triggered CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

RuntimeError: CUDA error: device-side assert triggered

block: [0,0,0], thread: [11,0,0] Assertion input_val >= zero && input_val <= one failed

posted @ 2023-10-07 20:01  Xu_Lin  阅读(356)  评论(0编辑  收藏  举报