Skip to content

Commit 449717f

Browse files
committed
ggml-ci: wa for unknown host issue
1 parent c263ca7 commit 449717f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/test-quantize-fns.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,15 @@ int main(int argc, char * argv[]) {
168168

169169
const float vec_dot_error = dot_product_error(qfns, test_size, test_data.data(), test_data2.data());
170170
const float max_allowed_error = type == GGML_TYPE_Q2_K || type == GGML_TYPE_IQ2_XS || type == GGML_TYPE_IQ2_XXS ||
171-
type == GGML_TYPE_IQ3_XXS || type == GGML_TYPE_IQ3_S || type == GGML_TYPE_IQ2_S
171+
type == GGML_TYPE_IQ3_XXS
172+
#if !defined(__INTEL_LLVM_COMPILER)
173+
|| type == GGML_TYPE_IQ3_S || type == GGML_TYPE_IQ2_S
174+
#endif
172175
? MAX_DOT_PRODUCT_ERROR_LOWBIT
173176
: type == GGML_TYPE_TQ1_0 || type == GGML_TYPE_TQ2_0
177+
#if defined(__INTEL_LLVM_COMPILER)
178+
|| type == GGML_TYPE_IQ3_S || type == GGML_TYPE_IQ2_S
179+
#endif
174180
? MAX_DOT_PRODUCT_ERROR_TERNARY
175181
: MAX_DOT_PRODUCT_ERROR;
176182
failed = !(vec_dot_error < max_allowed_error);

0 commit comments

Comments
 (0)