mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-07 09:02:04 +00:00
fixed autofit
This commit is contained in:
parent
82d562ad7b
commit
58d8635827
1 changed files with 1 additions and 1 deletions
|
|
@ -1504,7 +1504,7 @@ def load_model(model_filename):
|
|||
inputs.quant_k = inputs.quant_v = 0
|
||||
inputs.batchsize = args.batchsize
|
||||
inputs.autofit = args.autofit
|
||||
inputs.autofit_tax_mb = int(calulated_gpu_overhead)
|
||||
inputs.autofit_tax_mb = int(calulated_gpu_overhead/(1024*1024))
|
||||
inputs.gpulayers = args.gpulayers
|
||||
if args.overridenativecontext and args.overridenativecontext>0:
|
||||
inputs.overridenativecontext = args.overridenativecontext
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue