Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segment Anything fails to run on OpenVINO GPU #140

Open
shiyi9801 opened this issue Feb 17, 2025 · 0 comments
Open

Segment Anything fails to run on OpenVINO GPU #140

shiyi9801 opened this issue Feb 17, 2025 · 0 comments
Labels
bug Something isn't working ov-ep segment-anything

Comments

@shiyi9801
Copy link
Owner

shiyi9801 commented Feb 17, 2025

This issue can only be reproduced on LNL.

It fails when creating session for SAM ViT-B Encoder (FP16), error log:

[17992:20852:0217/145021.268:ERROR:graph_impl_ort.cc(224)] : [WebNN] Failed to create session from model: Exception during initialization: D:\onnxruntime\onnxruntime\core\providers\openvino\backend_manager.cc:163 __cdecl onnxruntime::openvino_ep::BackendManager::BackendManager(const struct onnxruntime::openvino_ep::GlobalContext &,const struct onnxruntime::Node &,const class onnxruntime::GraphViewer &,const struct onnxruntime::logging::Logger &,class onnxruntime::openvino_ep::EPCtxHandler &) D:\onnxruntime\onnxruntime\core\providers\openvino\ov_interface.cc:106 class onnxruntime::openvino_ep::OVExeNetwork __cdecl onnxruntime::openvino_ep::OVCore::CompileModel(const class std::basic_string<char,struct std::char_traits,class std::allocator > &,class std::basic_string<char,struct std::char_traits,class std::allocator > &,class std::map<class std::basic_string<char,struct std::char_traits,class std::allocator >,class ov::Any,struct std::less<class std::basic_string<char,struct std::char_traits,class std::allocator > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits,class std::allocator > const ,class ov::Any> > > &,const class std::basic_string<char,struct std::char_traits,class std::allocator > &) [OpenVINO-EP] Exception while Loading Network for graph: OpenVINOExecutionProvider_OpenVINO-EP-subgraph_44_0Exception from src/inference/src/cpp/core.cpp:142:
Exception from src/inference/src/dev/plugin.cpp:53:
Check 'false' failed at src/plugins/intel_gpu/src/plugin/program_builder.cpp:185:
[GPU] ProgramBuilder build failed!
Exception from src/plugins/intel_gpu/src/graph/include\primitive_type_base.h:59:
[GPU] Can't choose implementation for gemm:/image_encoder/blocks.0/attn/Einsum_transpose_29 node (type=gemm)
[GPU] Original name: /image_encoder/blocks.0/attn/Einsum_transpose_29
[GPU] Original type: Gemm
[GPU] Reason: could not create a primitive descriptor for a matmul primitive

@shiyi9801 shiyi9801 added bug Something isn't working segment-anything labels Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ov-ep segment-anything
Projects
None yet
Development

No branches or pull requests

2 participants