mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Pull upstream changes, fix conflict
This commit is contained in:
@@ -251,7 +251,7 @@ class model_backend(HFTorchInferenceModel):
|
||||
|
||||
|
||||
if utils.koboldai_vars.hascuda:
|
||||
if self.usegpu:
|
||||
if self.usegpu or self.nobreakmodel:
|
||||
# Use just VRAM
|
||||
self.model = self.model.half().to(utils.koboldai_vars.gpu_device)
|
||||
elif self.breakmodel:
|
||||
|
Reference in New Issue
Block a user