[HW Accel Support]: "Memcpy nodes are added to the graph main_graph for CUDAExecutionProvider." when using large model for LPR and setting the device to GPU #20478
Replies: 2 comments 2 replies
-
|
This is not a problematic message |
Beta Was this translation helpful? Give feedback.
-
|
The warning message you're seeing is expected behavior when explicitly setting When using the Your original configuration was likely already running on the GPU: lpr:
enabled: true
model_size: largeThe warning doesn't indicate a problem - it's just informing you that the model has some operations that can't be fully optimized for GPU execution. This is normal for many ONNX models when using CUDA. The LPR feature should still function correctly and benefit from GPU acceleration for the operations that can be accelerated. If you want to avoid the warning message, you can remove the explicit 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
I have a Nvidia GPU, and I want to run LPR on it. I'm using a Frigate+ model. I've had it working with this config:
However, I wasn't really sure if this was running on the GPU (it should according to docs), or if it was falling back to the CPU. So I've tried pointing it to the GPU explicitly, with this config:
As soon as I do that, I see this message in the logs:
[W:onnxruntime:, transformer_memcpy.cc:74 ApplyImpl] 2 Memcpy nodes are added to the graph main_graph for CUDAExecutionProvider. It might have negative impact on performance (including unable to run CUDA graph). Set session_options.log_severity_level=1 to see the detail logs before this message.Version
0.16.1-e664cb2
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
[{"return_code":0,"stderr":"","stdout":{"programs":[],"stream_groups":[],"streams":[{"codec_long_name":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","width":2560,"height":1920,"avg_frame_rate":"0/0"},{"codec_long_name":"AAC (Advanced Audio Coding)","avg_frame_rate":"0/0"}]}}]Install method
Proxmox via Docker
Object Detector
Coral
Network connection
Wired
Camera make and model
Reolink E2 Outdoor
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions