Error[1]: [executionContext.cpp::handleTrainStationRunnerPhase1::146] Error Code 1: Cuda Runtime (operation not permitted when stream is capturing) #3011
Labels
duplicate
This issue or pull request already exists
Description
When I build trt plan by
trtexec --useCudaGraph --onnx=test.onnx --verbose --fp16
, it raise follow error:If I shut off Cuda graphs in trtexec cmd, it no any errors. From cuda doc, I find
all CUDA objects need to be initialized and on the GPU prior to recording a graph, it is not allowed to create or transfer a cuda object inside a recorded graph
. For onnx graph to plan,What specific situations( op) can cause this error ? Thanks.
Environment
TensorRT Version:v8510
NVIDIA GPU:Orin
The text was updated successfully, but these errors were encountered: