add more QOL

This commit is contained in:
Concedo 2023-05-17 00:11:28 +08:00
parent 94ef3e81cf
commit 417711be46
6 changed files with 17 additions and 2 deletions

View file

@ -1073,7 +1073,8 @@ 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);