Skip to content

Commit

Permalink
NPUW Deref: NPU plugin - drop the reference to ov::Model
Browse files Browse the repository at this point in the history
  • Loading branch information
dmatveev committed Nov 27, 2024
1 parent 5eceef3 commit b8b54be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ class CompiledModel final : public ICompiledModel {

void configure_stream_executors();

const std::shared_ptr<const ov::Model> _model;
Config _config;
Logger _logger;
const std::shared_ptr<IDevice> _device;
Expand Down
3 changes: 1 addition & 2 deletions src/plugins/intel_npu/src/plugin/src/compiled_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ CompiledModel::CompiledModel(const std::shared_ptr<const ov::Model>& model,
const std::shared_ptr<IGraph>& graph,
const Config& config)
: ICompiledModel(model, plugin),
_model(model),
_config(config),
_logger("CompiledModel", config.get<LOG_LEVEL>()),
_device(device),
Expand Down Expand Up @@ -77,7 +76,7 @@ void CompiledModel::export_model(std::ostream& stream) const {
}

std::shared_ptr<const ov::Model> CompiledModel::get_runtime_model() const {
return _model;
OPENVINO_NOT_IMPLEMENTED;
}

void CompiledModel::set_property(const ov::AnyMap& properties) {
Expand Down

0 comments on commit b8b54be

Please sign in to comment.