feat: use bitsqueeze as communication compression library to replace the previous quantization/k_quantization/sparsity. Also add a new argument call comm_compression_threshold to allow user can set a threshold for compression (good for only compress prefilling tokens)
This commit is contained in:
@@ -2116,6 +2116,7 @@ struct llama_context_params llama_context_params_from_gpt_params(const gpt_param
|
||||
}
|
||||
|
||||
cparams.comm_sparse_percentage = params.comm_sparse_percentage;
|
||||
cparams.comm_compression_threshold = params.comm_compression_threshold;
|
||||
|
||||
cparams.n_ctx = params.n_ctx;
|
||||
cparams.n_predict = params.n_predict;
|
||||
|
||||
Reference in New Issue
Block a user