Closed VldmrB closed 10 months ago
Otherwise, json sometimes fails to parse the contents e.g.
json
File "E:\exllamav2_ui\exllamav2\model_init.py", line 101, in init tokenizer = ExLlamaV2Tokenizer(config) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\exllamav2_ui\exllamav2\tokenizer.py", line 77, in __init__ tokenizer_json = json.load(f) ^^^^^^^^^^^^ File "C:\Program Files\Python311\Lib\json\__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^ UnicodeDecodeError: 'cp932' codec can't decode byte 0x81 in position 812: illegal multibyte sequence
Not sure if this could be necessary anywhere else, didn't have any other files fail to load.
This doesn't seem to break anything on Linux, so if it fixes stuff in Windows for whatever reason, why not. :+1:
Otherwise,
json
sometimes fails to parse the contents e.g.Not sure if this could be necessary anywhere else, didn't have any other files fail to load.