-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Good First Issue][Bug]: ov::serialize(model) does not report when file writing fails #23190
Comments
.take |
Thank you for looking into this issue! Please let us know if you have any questions or require any help. |
Hi |
@mishra-18 I propose the problem is that openvino/src/core/src/pass/serialize.cpp Lines 1232 to 1237 in cd1eac8
|
Hi @vurusovs, Thanks for taking a look.
Also, I think |
Looks fine! Let's create PR where we will discuss final solution. See you on review 😄 |
PR: #23281 |
@mlukasze |
Context
The ChatGLM application tries to write modified model into disk:
https://github.com/wenyi5608/openvino.genai/blob/fcadd455b485db5ce1330e487077c99283bb3638/llm/chatglm_cpp/chatglm.cpp#L387
When the disk is full, the ov::serialize fails and file size is smaller than expected. However, it does not show any error message for that.
What needs to be done?
To prepare proper error message to inform user about a problem
Example Pull Requests
No response
Resources
Contact points
@olpipi @praasz
Ticket
CVS-128429
The text was updated successfully, but these errors were encountered: