Skip to content

Commit

Permalink
Extend network precision with u4, i4 for L0 backend (openvinotool…
Browse files Browse the repository at this point in the history
…kit#24432)

### Details:
 - *Update `zero_infer_request.cpp` with `u4` and `i4`* for intel_npu.
 - *...*

### Tickets:
 - *E#121561*
  • Loading branch information
StefaniaHergane authored May 22, 2024
1 parent e7c60bb commit 63e043b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/plugins/intel_npu/src/backend/src/zero_infer_request.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,10 @@ void ZeroInferRequest::check_network_precision(const ov::element::Type_t precisi
break;
case ov::element::Type_t::f16:
break;
case ov::element::Type_t::u4:
break;
case ov::element::Type_t::i4:
break;
case ov::element::Type_t::u8:
break;
case ov::element::Type_t::i8:
Expand All @@ -400,7 +404,7 @@ void ZeroInferRequest::check_network_precision(const ov::element::Type_t precisi
break;
default:
OPENVINO_THROW("Unsupported tensor precision: " + ov::element::Type(precision).get_type_name() +
"! Supported precisions: FP32, FP16, U8, I8, U16, I16, U32, I32, U64, I64");
"! Supported precisions: FP32, FP16, U4, I4, U8, I8, U16, I16, U32, I32, U64, I64");
}
}

Expand Down

0 comments on commit 63e043b

Please sign in to comment.