error building Prosit library

support
error building Prosit library bin fang  2020-08-28
 
pwiz.Skyline.Model.Prosit.PrositException: Status(StatusCode=Unknown, Detail="CUDNN_STATUS_BAD_PARAM
in external/org_tensorflow/tensorflow/stream_executor/cuda/cuda_dnn.cc(1249): 'cudnnSetTensorNdDescriptor( tensor_desc.get(), data_type, sizeof(dims) / sizeof(dims[0]), dims, strides)'
     [[{{node encoder1/CudnnRNN}} = CudnnRNN[T=DT_FLOAT, direction="unidirectional", dropout=0, input_mode="linear_input", is_training=true, rnn_mode="gru", seed=87654321, seed2=0, _device="/job:localhost/replica:0/task:0/device:GPU:0"](encoder1/transpose, encoder1/ExpandDims_1, encoder1/Const, encoder1/concat)]]
     [[{{node out/Reshape/_55}} = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_605_out/Reshape", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]()]]") ---> Grpc.Core.RpcException: Status(StatusCode=Unknown, Detail="CUDNN_STATUS_BAD_PARAM
in external/org_tensorflow/tensorflow/stream_executor/cuda/cuda_dnn.cc(1249): 'cudnnSetTensorNdDescriptor( tensor_desc.get(), data_type, sizeof(dims) / sizeof(dims[0]), dims, strides)'
     [[{{node encoder1/CudnnRNN}} = CudnnRNN[T=DT_FLOAT, direction="unidirectional", dropout=0, input_mode="linear_input", is_training=true, rnn_mode="gru", seed=87654321, seed2=0, _device="/job:localhost/replica:0/task:0/device:GPU:0"](encoder1/transpose, encoder1/ExpandDims_1, encoder1/Const, encoder1/concat)]]
     [[{{node out/Reshape/_55}} = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_605_out/Reshape", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]()]]")
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Grpc.Core.Internal.AsyncCall`2.UnaryCall(TRequest msg)
   at Grpc.Core.DefaultCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
   at Grpc.Core.Interceptors.InterceptingCallInvoker.<BlockingUnaryCall>b__3_0[TRequest,TResponse](TRequest req, ClientInterceptorContext`2 ctx)
   at Grpc.Core.ClientBase.ClientBaseConfiguration.ClientBaseConfigurationInterceptor.BlockingUnaryCall[TRequest,TResponse](TRequest request, ClientInterceptorContext`2 context, BlockingUnaryCallContinuation`2 continuation)
   at Grpc.Core.Interceptors.InterceptingCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
   at Tensorflow.Serving.PredictionService.PredictionServiceClient.Predict(PredictRequest request, CallOptions options) in C:\proj\skyline_20_1_x64\pwiz_tools\Skyline\ProtocolBuffers\GeneratedCode\PredictionServiceGrpc.cs:line 96
   at Tensorflow.Serving.PredictionService.PredictionServiceClient.Predict(PredictRequest request, Metadata headers, Nullable`1 deadline, CancellationToken cancellationToken) in C:\proj\skyline_20_1_x64\pwiz_tools\Skyline\ProtocolBuffers\GeneratedCode\PredictionServiceGrpc.cs:line 86
   at pwiz.Skyline.Model.Prosit.Models.PrositModel`6.Predict(PredictionServiceClient predictionClient, TPrositIn inputData, CancellationToken token) in C:\proj\skyline_20_1_x64\pwiz_tools\Skyline\Model\Prosit\Models\PrositModel.cs:line 230
   --- End of inner exception stack trace ---
   at pwiz.Skyline.Model.Prosit.Models.PrositModel`6.Predict(PredictionServiceClient predictionClient, TPrositIn inputData, CancellationToken token) in C:\proj\skyline_20_1_x64\pwiz_tools\Skyline\Model\Prosit\Models\PrositModel.cs:line 234
   at pwiz.Skyline.Model.Prosit.Models.PrositModel`6.PredictBatches(PredictionServiceClient predictionClient, IProgressMonitor progressMonitor, IProgressStatus& progressStatus, SrmSettings settings, IList`1 inputs, CancellationToken token) in C:\proj\skyline_20_1_x64\pwiz_tools\Skyline\Model\Prosit\Models\PrositModel.cs:line 314
   at pwiz.Skyline.Model.Prosit.PrositLibraryBuilder.BuildLibraryOrThrow(IProgressMonitor progress, IProgressStatus& progressStatus) in C:\proj\skyline_20_1_x64\pwiz_tools\Skyline\Model\Prosit\PrositLibraryBuilder.cs:line 113
   at pwiz.Skyline.Model.Prosit.PrositLibraryBuilder.BuildLibrary(IProgressMonitor progress) in C:\proj\skyline_20_1_x64\pwiz_tools\Skyline\Model\Prosit\PrositLibraryBuilder.cs:line 69
 
 
Brendan MacLean responded:  2020-09-10
Hi Bin,
Did this persist? If so, please provide the Skyline document you are using to build the library. Use File > Share to create a ZIP file containing all of the relevant files. If it is small enough < 50 MB, you can post it on this thread. Otherwise you can use our file drop point:

https://skyline.ms/files.url

To post the file and then provide its name in your next post to this thread.

If it did not persist, then it must have been some kind of disconnect between Skyline and the Prosit prediction server.

--Brendan