fix autofit_tax_mb type error (#1897)

This commit is contained in:
Wagner Bruna 2025-12-23 00:31:09 -03:00 committed by GitHub
parent 62e6956def
commit 86a094c559
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1495,7 +1495,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 = calulated_gpu_overhead
inputs.autofit_tax_mb = int(calulated_gpu_overhead)
inputs.gpulayers = args.gpulayers
if args.overridenativecontext and args.overridenativecontext>0:
inputs.overridenativecontext = args.overridenativecontext