mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
First concept of model plugins with a conceptual UI.
Completely breaks UI2 model loading.
This commit is contained in:
@@ -169,6 +169,15 @@ class InferenceModel:
|
||||
]
|
||||
self.tokenizer = None
|
||||
self.capabilties = ModelCapabilities()
|
||||
|
||||
def is_valid(self, model_name, model_path, menu_path, vram):
|
||||
return True
|
||||
|
||||
def requested_parameters(self, model_name, model_path, menu_path, vram):
|
||||
return {}
|
||||
|
||||
def define_input_parameters(self):
|
||||
return
|
||||
|
||||
def load(self, save_model: bool = False, initial_load: bool = False) -> None:
|
||||
"""User-facing load function. Do not override this; try `_load()` instead."""
|
||||
|
Reference in New Issue
Block a user