You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我想使用cpu运行inference.py,但一直报错,除了采用规定CUDA_VISIBLE_DEVICES=-1的方式,是否有其他方式可以直接更改相关代码从而能够在cpu上正常运行。
这是现在的报错:RuntimeError: CUDA error: out of memory
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.
补充信息
No response
The text was updated successfully, but these errors were encountered:
Question
我想使用cpu运行inference.py,但一直报错,除了采用规定CUDA_VISIBLE_DEVICES=-1的方式,是否有其他方式可以直接更改相关代码从而能够在cpu上正常运行。
这是现在的报错:RuntimeError: CUDA error: out of memory
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.
补充信息
No response
The text was updated successfully, but these errors were encountered: