Skip to content

Commit 7ebc9db

Browse files
committed
fix non remote context path
1 parent d399f78 commit 7ebc9db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cpp/src/visual_language/embedding_model.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ std::unique_ptr<ov::genai::CircularBufferQueue<ov::genai::EmbeddingsRequest>> in
2727
context = compiled.get_context();
2828
} catch (const ov::Exception&) {
2929
req.remote_tensor = req.cpu_tensor;
30+
return req;
3031
}
3132
req.remote_tensor = context.create_tensor(ov::element::f32, req.cpu_tensor.get_shape());
3233
return req;

0 commit comments

Comments
 (0)