Unverified Commit 21f3a609 authored by Joseph Huber's avatar Joseph Huber Committed by GitHub
Browse files

[Offload] Only initialize a plugin if it is needed (#92765)

Summary:
Initializing the plugins requires initializing the runtime like CUDA or
HSA. This has a considerable overhead on most platforms, so we should
only actually initialize a plugin if it is needed by any image that is
loaded.
parent 7e476eb1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment