Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[NPU][WS] Remove NPU_WEIGHTLESS_BLOB property (#35513)

Stefania Herganea5c5f6733496
diff --git a/src/plugins/intel_npu/src/al/include/intel_npu/config/options.hpp b/src/plugins/intel_npu/src/al/include/intel_npu/config/options.hpp
index 80a4d481ff6..d38968eaff2 100644
--- a/src/plugins/intel_npu/src/al/include/intel_npu/config/options.hpp
+++ b/src/plugins/intel_npu/src/al/include/intel_npu/config/options.hpp
@@ -1393,20 +1393,6 @@ struct ENABLE_WEIGHTLESS final : OptionBase<ENABLE_WEIGHTLESS, bool> {
}
};
-struct WEIGHTLESS_BLOB final : OptionBase<WEIGHTLESS_BLOB, bool> {
- static std::string_view key() {
- return ov::intel_npu::weightless_blob.name();
- }
-
- static bool defaultValue() {
- return false;
- }
-
- static OptionMode mode() {
- return OptionMode::CompileTime;
- }
-};
-
struct SEPARATE_WEIGHTS_VERSION final : OptionBase<SEPARATE_WEIGHTS_VERSION, ov::intel_npu::WSVersion> {
static std::string_view key() {
return ov::intel_npu::separate_weights_version.name();
diff --git a/src/plugins/intel_npu/src/al/include/intel_npu/npu_private_properties.hpp b/src/plugins/intel_npu/src/al/include/intel_npu/npu_private_properties.hpp
index 9d5de026c07..d39e98b22b1 100644
--- a/src/plugins/intel_npu/src/al/include/intel_npu/npu_private_properties.hpp
+++ b/src/plugins/intel_npu/src/al/include/intel_npu/npu_private_properties.hpp
@@ -338,16 +338,6 @@ static constexpr ov::Property<BatchMode> batch_mode{"NPU_BATCH_MODE"};
*/
static constexpr ov::Property<WSVersion> separate_weights_version{"NPU_SEPARATE_WEIGHTS_VERSION"};
-/**
- * @brief [Only for NPU Plugin]
- * Type: bool. Default is "false".
- *
- * This option enables/disables the "weights separation" feature. If enabled, the result of compilation will be a binary
- * object stripped of a significant amount of weights. Before running the model, these weights need to be provided by
- * external means.
- */
-static constexpr ov::Property<bool> weightless_blob{"NPU_WEIGHTLESS_BLOB"};
-
/**
* @brief [Only for NPU Plugin]
* Type: enum. Default is "AUTO".