ci : bump ty to 0.0.78 (#28548)

* bump ty to 0.0.78

* type fixes

* more type fixes

* add --exit-zero-on-warning

* remove Callable again
This commit is contained in:
Sigbjørn Skjæret
2026-09-07 21:10:06 +02:00
committed by GitHub
parent f114f91f9e
commit 67672dc5b7
7 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class MuseGlimmerModel(TextModel):
from transformers import AutoTokenizer
tok = AutoTokenizer.from_pretrained(self.dir_model)
eot_id = tok.convert_tokens_to_ids("<|eot|>")
eot_id = tok.convert_tokens_to_ids("<|eot|>") # ty: ignore[unresolved-attribute]
if isinstance(eot_id, int) and eot_id >= 0:
self.gguf_writer.add_eot_token_id(eot_id)