More cleaning

This commit is contained in:
somebody
2023-05-28 13:22:32 -05:00
parent 14241fc156
commit ed0728188a
3 changed files with 48 additions and 11 deletions

View File

@@ -238,6 +238,7 @@ class model_backend(HFTorchInferenceModel):
shutil.rmtree("cache/")
self.patch_embedding()
lazy_loader.post_load_cleanup()
self.model.kai_model = self
utils.koboldai_vars.modeldim = self.get_hidden_size()