Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GPU] fix issue: use debug variable without GPU_DEBUG_IF #28077

Open
wants to merge 3 commits into from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ DynamicQuantizeFullyConnected::DynamicQuantizeFullyConnected(uint64_t group_size
config.scale_dt = element::f16;
config.group_sizes = shape_group_size;

if (debug_config->dynamic_quantize_asym) {
GPU_DEBUG_IF (debug_config->dynamic_quantize_asym) {
config.quantization_type = QuantizationType::Asymmetric;
config.quantization_dt = element::u8;
config.zp_dt = element::u8; // it supports u8 only now
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ void TransformationsPipeline::apply(std::shared_ptr<ov::Model> func) {
}

// AZP does not support 8bit weight
if (debug_config->dynamic_quantize_asym
GPU_DEBUG_IF (debug_config->dynamic_quantize_asym
&& (root->get_input_element_type(1) == ov::element::i8 || root->get_input_element_type(1) == ov::element::u8)) {
GPU_DEBUG_TRACE << root->get_friendly_name() << " dyn_quan is turned off: asym quantization does not support 8bit weight" << std::endl;
return true;
Expand Down
Loading