mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix legacy model loading
This commit is contained in:
@@ -17,6 +17,9 @@ from modeling import logits_processors
|
||||
|
||||
import utils
|
||||
|
||||
class SuperLegacyModelError(RuntimeError):
|
||||
pass
|
||||
|
||||
# We only want to use logit manipulations and such on our core text model
|
||||
class use_core_manipulations:
|
||||
"""Use in a `with` block to patch functions for core story model sampling."""
|
||||
|
Reference in New Issue
Block a user