Skip to content

Commit

Permalink
[GPU Plugin] Fix the same cache hashID generated with different prope…
Browse files Browse the repository at this point in the history
…rty setting (openvinotoolkit#26243)

update properties list that affect the compilation process of GPU.
### Details:
 - Append property `ov::hint::performance_mode` 
 - Append property `ov::hint::dynamic_quantization_group_size`

### Tickets:
 - 150566

---------

Co-authored-by: Chen Peter <[email protected]>
  • Loading branch information
yangwang201911 and peterchen-intel authored Aug 27, 2024
1 parent ecb08d4 commit a641d91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plugins/intel_gpu/src/plugin/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,11 +510,13 @@ ov::Any Plugin::get_metric(const std::string& name, const ov::AnyMap& options) c
}

std::vector<ov::PropertyName> Plugin::get_caching_properties() const {
static const std::vector<ov::PropertyName> caching_properties = {
static const std::vector<ov::PropertyName> caching_properties = {
ov::PropertyName{ov::device::architecture.name(), PropertyMutability::RO},
ov::PropertyName{ov::intel_gpu::execution_units_count.name(), PropertyMutability::RO},
ov::PropertyName{ov::hint::inference_precision.name(), PropertyMutability::RW},
ov::PropertyName{ov::hint::execution_mode.name(), PropertyMutability::RW},
ov::PropertyName{ov::hint::performance_mode.name(), PropertyMutability::RW},
ov::PropertyName{ov::hint::dynamic_quantization_group_size.name(), PropertyMutability::RW},
};

return caching_properties;
Expand Down

0 comments on commit a641d91

Please sign in to comment.