Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
atorodius
5y ago
0 comments
Share
Wouldnt this be fixed by CUDA_LAUNCH_BLOCKING=1? Or putting a bunch of torch.cuda.synchronizes in the suspected lines.
undefined | Better HN
0 comments
default
newest
oldest
whimsicalism
5y ago
lol whoops yeah that would definitely solve the problem. I wasn't familiar with `CUDA_LAUNCH_BLOCKING` but `torch.cuda.synchronizes` does work.
j
/
k
navigate · click thread line to collapse