Skip to content

Commit 1249358

Browse files
Silence clip tokenizer warning. (comfyanonymous#8934)
1 parent 86e8f8d commit 1249358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comfy/sd1_tokenizer/tokenizer_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"single_word": false
1919
},
2020
"errors": "replace",
21-
"model_max_length": 77,
21+
"model_max_length": 8192,
2222
"name_or_path": "openai/clip-vit-large-patch14",
2323
"pad_token": "<|endoftext|>",
2424
"special_tokens_map_file": "./special_tokens_map.json",

0 commit comments

Comments
 (0)