Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions sdk_v2/cpp/src/catalog/static_catalog_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ class StaticCatalogClient : public ICatalogClient {
for (const auto& [device, eps] : devices_to_eps) {
for (const auto& ep : eps) {
allowed.emplace(to_lower(device), to_lower(ep));

// CudaPluginExecutionProvider is the ORT registration name for the
// downloadable CUDA plugin EP, but catalog models are tagged with
// CUDAExecutionProvider. Add the canonical name as an alias so
// plugin-EP machines can see and load CUDA catalog models.
Comment thread
prathikr marked this conversation as resolved.
if (to_lower(ep) == "cudapluginexecutionprovider") {
allowed.emplace(to_lower(device), "cudaexecutionprovider");
}
}
}

Expand Down
Loading