Skip to content

Commit

Permalink
[PTQ] Disable MMAP (#1994)
Browse files Browse the repository at this point in the history
### Changes

- Disabled MMAP

### Reason for changes

- Failures on Windows
  • Loading branch information
KodiaqQ authored Jul 24, 2023
1 parent 704b136 commit 59f64bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nncf/openvino/pot/quantization/quantize_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def _convert_compressed_model_to_openvino_model(model: pot.graph.nx_model.Compre
xml_path = paths[0]["model"]
bin_path = paths[0]["weights"]
ie = ov.Core()
ie.set_property({"ENABLE_MMAP": "NO"})
ov_model = ie.read_model(xml_path, bin_path)
return ov_model

Expand Down

0 comments on commit 59f64bb

Please sign in to comment.