File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ func grpcModelOpts(c config.BackendConfig) *pb.ModelOptions {
99
99
mmap = * c .MMap
100
100
}
101
101
102
- ctxSize := 1024
102
+ ctxSize := 4096
103
103
if c .ContextSize != nil {
104
104
ctxSize = * c .ContextSize
105
105
}
Original file line number Diff line number Diff line change @@ -304,9 +304,6 @@ func (cfg *BackendConfig) SetDefaults(opts ...ConfigLoaderOption) {
304
304
defaultTFZ := 1.0
305
305
defaultZero := 0
306
306
307
- // Try to offload all GPU layers (if GPU is found)
308
- defaultHigh := 99999999
309
-
310
307
trueV := true
311
308
falseV := false
312
309
@@ -366,9 +363,6 @@ func (cfg *BackendConfig) SetDefaults(opts ...ConfigLoaderOption) {
366
363
if cfg .MirostatTAU == nil {
367
364
cfg .MirostatTAU = & defaultMirostatTAU
368
365
}
369
- if cfg .NGPULayers == nil {
370
- cfg .NGPULayers = & defaultHigh
371
- }
372
366
373
367
if cfg .LowVRAM == nil {
374
368
cfg .LowVRAM = & falseV
You can’t perform that action at this time.
0 commit comments