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 {
9999 mmap = * c .MMap
100100 }
101101
102- ctxSize := 1024
102+ ctxSize := 4096
103103 if c .ContextSize != nil {
104104 ctxSize = * c .ContextSize
105105 }
Original file line number Diff line number Diff line change @@ -304,9 +304,6 @@ func (cfg *BackendConfig) SetDefaults(opts ...ConfigLoaderOption) {
304304 defaultTFZ := 1.0
305305 defaultZero := 0
306306
307- // Try to offload all GPU layers (if GPU is found)
308- defaultHigh := 99999999
309-
310307 trueV := true
311308 falseV := false
312309
@@ -366,9 +363,6 @@ func (cfg *BackendConfig) SetDefaults(opts ...ConfigLoaderOption) {
366363 if cfg .MirostatTAU == nil {
367364 cfg .MirostatTAU = & defaultMirostatTAU
368365 }
369- if cfg .NGPULayers == nil {
370- cfg .NGPULayers = & defaultHigh
371- }
372366
373367 if cfg .LowVRAM == nil {
374368 cfg .LowVRAM = & falseV
You can’t perform that action at this time.
0 commit comments