This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Race-condition and crash with SymbolBlock on GPU #18765
Comments
Solved. Change the last row to |
@chinakook thanks for providing a workaround. I think it's still a bug |
Simpler reproducible example for latest master:
It fails with
However, the following will work:
|
leezu
changed the title
Severe Bug with nn.SymbolBlock
Race-condition and crash with SymbolBlock on GPU
Jul 21, 2020
Backtrace
@ptrendx do you think this is a bug in fused op or in the engine? |
1 task
does adding |
@eric-haibin-lin Yes, it does. |
As I've tested, #18768 can solve this problem. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Severe Bug with nn.SymbolBlock when ctx=mx.gpu(0), cpu is OK.
Error Message
malloc or free or Segmentation fault error may appears randomly
To Reproduce
Environment
The text was updated successfully, but these errors were encountered: