-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FATAL ERROR: Symbol "__nv_tanhf"not found : when using Flux in GPU (not much more details) #36845
Comments
It's probably an issue for whatever you use to generate the GPU code. |
@yuyichao, Thank you. I use If so, what other ways are there to generate GPU code? Any advice on what to look for to find the bug? |
I'm not familar with the GPU stack so I can't give you help about that. All what I'm saying is that the issue you obsereve is not a julia bug. It's a bug for whereever your |
Did you end up figuring this out? I'm getting something very similar, except the function it can't find is I've tried using various versions of the system CUDA with various driver combinations, plus the artifacts CUDA, but nothing makes a difference. It looks like it can't find a definition for the square root function, but it seems to be able to find everything else, which is very confusing to me. |
This likely means you are executing GPU code on the CPU. |
Make sure you have everything up to date, specially CUDA (I think that was the reason I was getting that message). Do |
Thank you both for your replies. I made sure everything was up to date, but that didn't fix the issue for me. I'm fairly certain the issue I was having is the same as the one documented here: JuliaGPU/CUDA.jl#228, which also supports @vchuravy 's comment. Like the poster in that thread, I had a doubly-wrapped |
So I'm using Flux to train an encoder, while the decoder has already been trained, i.e., the weights in the decoder are fixed.
I'm running on a GPU of 24GB. The training data is composed by 12000 images of 28x28x1. I'm not sure if it crashes in CPU
The function where my code crashes is (though this same function I use for other NN):
where:
The stacktrace I'm getting is:
However, I checked and every function runs without any issue, including the gradient. I have no clue what is happening. HELP!
I guess with this info is not enough, but I honestly don't know what other relevant info I should provide. Please, let me know.
Thank you.
The text was updated successfully, but these errors were encountered: