-
Notifications
You must be signed in to change notification settings - Fork 495
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
CUDNN_STATUS_MAPPING_ERROR when using fl::Module from a different thread #73
Comments
Just noticed, this simple code causes the same error: #include "flashlight/autograd/backend/cuda/CudnnUtils.h"
int main(int argc, char *argv[])
{
auto handle = fl::getCudnnHandle();
} Error:
It fails on System info:
|
Invocation of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using wav2letter that based on Flashlight.
I'm trying to embed wav2letter decoder (
fl::Sequential
) in gRPC service and use it simultaneously in concurrent requests. All works fine when I have a sequential version (i.e. only one request per time). But when I try to run decoding request in a separate thread I gotCUDNN_STATUS_MAPPING_ERROR
error.Normal output
Output when doing forward in a different thread
MWE sources (CLICK ME!)
server.h
server.cc
model.h
model.cc
main.cpp
How to do
forward
from different threads? Is there a way to sharefl::Sequential
between different threads?The text was updated successfully, but these errors were encountered: