Commit 9114927
committed
ov-master-rebase: vision model divide-by-zero and tokenizer DLL loading in build-master
Two runtime bugs fixed for build-master (ENABLE_NEW_ARCH_OPS=OFF):
1. Vision model INT4 quantization (divide-by-zero crash):
The shared SafetensorsWeightFinalizer applied INT4_ASYM quantization to both
text and vision models. Vision encoder weights must NOT be quantized - INT4
weights cause STATUS_INTEGER_DIVIDE_BY_ZERO (0xC0000094) in the CPU plugin
during vision inference. Fix: use a separate non-quantizing finalizer for
create_qwen3_omni_vision_model.
2. Tokenizer DLL not found (core.cpp:193 exception):
The tokenizers_dll_name CMake variable was only defined inside the
if(ENABLE_NEW_ARCH_OPS) guard block. When ENABLE_NEW_ARCH_OPS=OFF, the
post-build copy for the always-built targets (modeling_qwen3_omni,
modeling_qwen3_omni_tts_min) used an empty variable, so openvino_tokenizers.dll
was never copied next to the exe. Fix: define tokenizers_dll_name before the
always-built targets section.1 parent f45b4dd commit 9114927
File tree
2 files changed
+17
-1
lines changed- src/cpp/src/modeling/samples
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
51 | 62 | | |
52 | 63 | | |
53 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
691 | 696 | | |
692 | 697 | | |
693 | 698 | | |
694 | 699 | | |
695 | 700 | | |
696 | 701 | | |
697 | 702 | | |
698 | | - | |
| 703 | + | |
699 | 704 | | |
700 | 705 | | |
701 | 706 | | |
| |||
0 commit comments