mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix accidental parameters overwrite
This commit is contained in:
BIN
aria2c.exe
Normal file
BIN
aria2c.exe
Normal file
Binary file not shown.
@@ -26,7 +26,7 @@ class model_backend(HFTorchInferenceModel):
|
|||||||
return
|
return
|
||||||
|
|
||||||
def get_requested_parameters(self, model_name, model_path, menu_path, parameters = {}):
|
def get_requested_parameters(self, model_name, model_path, menu_path, parameters = {}):
|
||||||
requested_parameters = super().get_requested_parameters(model_name, model_path, menu_path, parameters = {})
|
requested_parameters = super().get_requested_parameters(model_name, model_path, menu_path, parameters)
|
||||||
dependency_exists = importlib.util.find_spec("bitsandbytes")
|
dependency_exists = importlib.util.find_spec("bitsandbytes")
|
||||||
if dependency_exists:
|
if dependency_exists:
|
||||||
requested_parameters.append({
|
requested_parameters.append({
|
||||||
|
2
vscode.cmd
Normal file
2
vscode.cmd
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
@echo off
|
||||||
|
commandline "C:\Program Files\Microsoft VS Code\code" .
|
Reference in New Issue
Block a user