-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PyOV] Replace
std::stringstream
with std::fstream
in `import_mod…
…el` (#25724) ### Details: - The current implementation breaks when the model size is > 2gb - `std::fstream` does not limit the model size - Tested in https://github.com/openvinotoolkit/openvino/blob/master/src/bindings/python/tests/test_runtime/test_compiled_model.py#L57 - The fix has been verified ### TODO: - Should we simulate > 2gb model case in tests? ### Tickets: - EISW-130771
- Loading branch information
Showing
1 changed file
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters