Skip to content

Commit 4ebe493

Browse files
authored
[GPU] resample supports bsv16_fsv32 (#30204)
### Details: - For yolo v5m b16 case, resample should run in bsv16_fsv32. It was missing in supported layout. - Allow OneDNN asym_dyn_quan for i8 weight case. (not related to resample, but a minor change) ### Tickets: - 166362
1 parent 1ee4259 commit 4ebe493

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

Diff for: src/plugins/intel_gpu/src/graph/impls/ocl/resample.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ attach_resample_impl::attach_resample_impl() {
185185
format::b_fs_yx_fsv16,
186186
format::b_fs_yx_fsv32,
187187
format::bs_fs_yx_bsv16_fsv16,
188+
format::bs_fs_yx_bsv16_fsv32,
188189
format::bs_fs_yx_bsv32_fsv16,
189190
format::bs_fs_yx_bsv32_fsv32,
190191

Diff for: src/plugins/intel_gpu/src/plugin/transformations_pipeline.cpp

-8
Original file line numberDiff line numberDiff line change
@@ -1203,14 +1203,6 @@ void TransformationsPipeline::apply(std::shared_ptr<ov::Model> func) {
12031203
return true;
12041204
}
12051205

1206-
// AZP does not support 8bit weight
1207-
// XXX: This is currently wrapped as GPU_DEBUG_IF as dynamic_quantize_asym is not exposed through public API.
1208-
GPU_DEBUG_IF(asymmetric_dyn_quant
1209-
&& (root->get_input_element_type(1) == ov::element::i8 || root->get_input_element_type(1) == ov::element::u8)) {
1210-
GPU_DEBUG_TRACE << root->get_friendly_name() << " dyn_quan is turned off: asym quantization does not support 8bit weight" << std::endl;
1211-
return true;
1212-
}
1213-
12141206
// AZP does not support grouped size dyn-quan
12151207
GPU_DEBUG_IF(asymmetric_dyn_quant && (dynamic_quantization_group_size != UINT64_MAX)) {
12161208
GPU_DEBUG_TRACE << root->get_friendly_name() << " dyn_quan is turned off: asym quantization does not support grouped quantization" <<

0 commit comments

Comments
 (0)