diff --git a/mindspore/ccsrc/runtime/hardware/device_context_manager.cc b/mindspore/ccsrc/runtime/hardware/device_context_manager.cc index 26d57407556..724d9442ec5 100644 --- a/mindspore/ccsrc/runtime/hardware/device_context_manager.cc +++ b/mindspore/ccsrc/runtime/hardware/device_context_manager.cc @@ -103,7 +103,7 @@ bool PluginLoader::GetPluginPath(std::string *file_path) { #ifndef _WIN32 auto plugin_so_path = cur_so_path.substr(0, pos) + "/plugin"; #else - auto plugin_so_path = cur_so_path.substr(0, pos); + auto plugin_so_path = cur_so_path.substr(0, pos) + "\\bin"; #endif if (plugin_so_path.size() >= PATH_MAX) { MS_LOG(INFO) << "Current path [" << plugin_so_path << "] is invalid.";