Skip to content

Commit

Permalink
[intel-npu] Adding python bindings for npu_dynamic_quantization
Browse files Browse the repository at this point in the history
  • Loading branch information
csoka committed Jan 10, 2025
1 parent 86c7d5d commit ab343cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,4 +335,5 @@ void regmodule_properties(py::module m) {
wrap_property_RW(m_intel_npu, ov::intel_npu::max_tiles, "max_tiles");
wrap_property_RW(m_intel_npu, ov::intel_npu::bypass_umd_caching, "bypass_umd_caching");
wrap_property_RW(m_intel_npu, ov::intel_npu::defer_weights_load, "defer_weights_load");
wrap_property_RW(m_intel_npu, ov::intel_npu::compiler_dynamic_quantization, "compiler_dynamic_quantization");
}
5 changes: 5 additions & 0 deletions src/bindings/python/tests/test_runtime/test_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,11 @@ def test_properties_ro(ov_property_ro, expected_value):
"NPU_DEFER_WEIGHTS_LOAD",
((True, True),),
),
(
intel_npu.compiler_dynamic_quantization,
"NPU_COMPILER_DYNAMIC_QUANTIZATION",
((True, True),),
),
],
)
def test_properties_rw(ov_property_rw, expected_value, test_values):
Expand Down

0 comments on commit ab343cc

Please sign in to comment.