#Troubleshoot #GPU #DeepLearning #Pytorch
Error message:
RuntimeError: CUDA error: an illegal memory access was encountered
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.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
Search
- CUDA error: an illegal memory access was encountered error when inference · Issue #3848 · ultralytics/ultralytics · GitHub 에 따르면 free되었는데 access한 경우라고 함
Solution
GPU를 다른것 쓰니까 해결됨. 정확히는 알 수 없으나, GPU 메모리 문제였던 것 같다.
'Troubleshoots' 카테고리의 다른 글
| VSCode (Remote SSH) The remote host may not meet VS Code Server (2) | 2023.12.07 |
|---|---|
| cannot import name 'url_quote' from 'werkzeug.urls' (0) | 2023.11.29 |