mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Model: Small cleanup
This commit is contained in:
@@ -176,8 +176,6 @@ class InferenceModel:
|
||||
global current_model
|
||||
current_model = self
|
||||
|
||||
print(self.raw_generate("Hi guys,", 20).__dict__)
|
||||
|
||||
def _post_load(self) -> None:
|
||||
"""Post load hook. Called after `_load()`."""
|
||||
|
||||
|
@@ -266,7 +266,7 @@ class HFMTJInferenceModel(HFInferenceModel):
|
||||
soft_tokens = self.get_soft_tokens()
|
||||
|
||||
dynamic_inference = kwargs.get("tpu_dynamic_inference", False)
|
||||
print(f"DYNAMIC_INFERENCE={dynamic_inference} KWARGS={kwargs}")
|
||||
logger.info(f"dynamic_inference={dynamic_inference}")
|
||||
|
||||
if not dynamic_inference:
|
||||
genout = tpool.execute(
|
||||
|
Reference in New Issue
Block a user