[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
Please register or sign in to comment