File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -312,6 +312,7 @@ add_library(ggml OBJECT
312
312
target_include_directories (ggml PUBLIC . )
313
313
target_compile_features (ggml PUBLIC c_std_11 ) # don't bump
314
314
target_link_libraries (ggml PUBLIC Threads::Threads ${LLAMA_EXTRA_LIBS} )
315
+
315
316
if (BUILD_SHARED_LIBS )
316
317
set_target_properties (ggml PROPERTIES POSITION_INDEPENDENT_CODE ON )
317
318
endif ()
@@ -324,6 +325,7 @@ add_library(llama
324
325
target_include_directories (llama PUBLIC . )
325
326
target_compile_features (llama PUBLIC cxx_std_11 ) # don't bump
326
327
target_link_libraries (llama PRIVATE ggml ${LLAMA_EXTRA_LIBS} )
328
+
327
329
if (BUILD_SHARED_LIBS )
328
330
set_target_properties (llama PROPERTIES POSITION_INDEPENDENT_CODE ON )
329
331
target_compile_definitions (llama PRIVATE LLAMA_SHARED LLAMA_BUILD )
Original file line number Diff line number Diff line change @@ -7992,6 +7992,9 @@ static void ggml_compute_forward_mul_mat_q_f32(
7992
7992
else if (type == GGML_TYPE_Q4_2 ) {
7993
7993
dequantize_row_q_cuda = dequantize_row_q4_2_cuda ;
7994
7994
}
7995
+ else if (type == GGML_TYPE_Q4_3 ) {
7996
+ dequantize_row_q_cuda = dequantize_row_q4_3_cuda ;
7997
+ }
7995
7998
else {
7996
7999
GGML_ASSERT (false);
7997
8000
}
You can’t perform that action at this time.
0 commit comments