We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4e7fa2d + 97eef84 commit ae237ccCopy full SHA for ae237cc
helpers/models/hidream/model.py
@@ -308,6 +308,7 @@ def check_user_config(self):
308
raise ValueError(
309
f"{self.NAME} does not support fp8-quanto. Please use fp8-torchao or int8 precision level instead."
310
)
311
+ t5_max_length = 128
312
if self.config.tokenizer_max_length is None or self.config.tokenizer_max_length == 0:
313
logger.warning(
314
f"Setting T5 XXL tokeniser max length to {t5_max_length} for {self.NAME}."
0 commit comments