mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02:00
runner.go: Remove unused arguments
Now that server.cpp is gone, we don't need to keep passing arguments that were only ignored and only kept for compatibility.
This commit is contained in:
parent
6cd566872b
commit
a909417602
5 changed files with 1 additions and 15 deletions
|
@ -236,7 +236,7 @@ type Runner struct {
|
|||
NumGPU int `json:"num_gpu,omitempty"`
|
||||
MainGPU int `json:"main_gpu,omitempty"`
|
||||
LowVRAM bool `json:"low_vram,omitempty"`
|
||||
F16KV bool `json:"f16_kv,omitempty"`
|
||||
F16KV bool `json:"f16_kv,omitempty"` // Deprecated: This option is ignored
|
||||
LogitsAll bool `json:"logits_all,omitempty"`
|
||||
VocabOnly bool `json:"vocab_only,omitempty"`
|
||||
UseMMap *bool `json:"use_mmap,omitempty"`
|
||||
|
@ -613,7 +613,6 @@ func DefaultOptions() Options {
|
|||
NumGPU: -1, // -1 here indicates that NumGPU should be set dynamically
|
||||
NumThread: 0, // let the runtime decide
|
||||
LowVRAM: false,
|
||||
F16KV: true,
|
||||
UseMLock: false,
|
||||
UseMMap: nil,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue