mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-02-23 22:54:10 +00:00
WIP
This commit is contained in:
@@ -3746,9 +3746,6 @@ static void launch_mul_mat_q_id(ggml_backend_cuda_context & ctx, const mmq_args_
|
||||
const int ntzw = args.nchannels_y * args.nsamples_y;
|
||||
const dim3 block_nums_xy_tiling(nty, ntx, ntzw);
|
||||
|
||||
if (args.nchannels_y % args.nchannels_x) {
|
||||
printf("Oops: args.nchannels_y = %d, args.nchannels_x = %d\n", args.nchannels_y, args.nchannels_x);
|
||||
}
|
||||
GGML_ASSERT(args.nchannels_y % args.nchannels_x == 0);
|
||||
GGML_ASSERT(args.nsamples_y % args.nsamples_x == 0);
|
||||
const int channel_ratio = args.nchannels_y / args.nchannels_x;
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
#include "mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q4_0);
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q4_1);
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q5_0);
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q5_1);
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q8_0);
|
||||
DECL_MMQ_CASE(GGML_TYPE_MXFP4);
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q2_K);
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q3_K);
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q4_K);
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q5_K);
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q6_K);
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ2_XXS);
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ2_XS);
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ2_S);
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ3_XXS);
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ3_S);
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ1_S);
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ4_NL);
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ4_XS);
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ1_S);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ2_S);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ2_XS);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ2_XXS);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ3_S);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ3_XXS);
|
||||
@@ -0,0 +1,4 @@
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ4_NL);
|
||||
DECL_MMQ_CASE(GGML_TYPE_MXFP4);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_IQ4_XS);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q2_K);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q3_K);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q4_0);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q4_1);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q4_K);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q5_0);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q5_1);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q5_K);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q6_K);
|
||||
@@ -0,0 +1,5 @@
|
||||
// This file has been autogenerated by generate_cu_files.py, do not edit manually.
|
||||
|
||||
#include "../mmq_id_common.cuh"
|
||||
|
||||
DECL_MMQ_CASE(GGML_TYPE_Q8_0);
|
||||
Reference in New Issue
Block a user