mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-13 02:10:39 +02:00
wip cleanup before big merge
This commit is contained in:
@@ -1080,7 +1080,6 @@ static void llama_model_load_internal(
|
||||
const int n_gpu = std::min(n_gpu_layers, int(hparams.n_layer));
|
||||
if(GetQuantsUnshuffled())
|
||||
{
|
||||
SetGPULayers(n_gpu);
|
||||
|
||||
fprintf(stderr, "%s: [opencl] offloading %d layers to GPU\n", __func__, n_gpu);
|
||||
|
||||
|
||||
@@ -333,7 +333,6 @@ ModelLoadResult gpt2_model_load(const std::string & fname, gpt2_model & model, g
|
||||
// const int n_gpu = std::min(gpulayers, int(hparams.n_layer));
|
||||
// if(GetQuantsUnshuffled())
|
||||
// {
|
||||
// SetGPULayers(n_gpu);
|
||||
|
||||
// fprintf(stderr, "%s: [opencl] offloading %d layers to GPU\n", __func__, n_gpu);
|
||||
|
||||
|
||||
@@ -336,7 +336,6 @@ ModelLoadResult gptj_model_load(const std::string & fname, gptj_model & model, g
|
||||
// const int n_gpu = std::min(gpulayers, int(hparams.n_layer));
|
||||
// if(GetQuantsUnshuffled())
|
||||
// {
|
||||
// SetGPULayers(n_gpu);
|
||||
|
||||
// fprintf(stderr, "%s: [opencl] offloading %d layers to GPU\n", __func__, n_gpu);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user