Improve logging & add logit cap (#471)
This commit is contained in:
1 parent
44c998fcb5
commit
2cea6146d8
12 files changed
+106
-24
No files matched your search
@@ -6,6 +6,9 @@ class FSMCache(BaseCache):
|
||||
def __init__(self, tokenizer_path, tokenizer_args_dict, enable=True):
|
||||
super().__init__(enable=enable)
|
||||
|
||||
if tokenizer_path.endswith(".json"):
|
||||
return
|
||||
|
||||
from importlib.metadata import version
|
||||
|
||||
if version("outlines") >= "0.0.35":
|
||||
|
||||
Reference in new issue
Block a user