Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update sd3 seqlen to 154 max for t5 #1190

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion helpers/configuration/cmd_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -2314,7 +2314,7 @@ def parse_cmdline_args(input_args=None, exit_on_error: bool = False):
args.pretrained_vae_model_name_or_path = None
args.disable_compel = True

t5_max_length = 256
t5_max_length = 154
if args.model_family == "sd3" and (
args.tokenizer_max_length is None
or int(args.tokenizer_max_length) > t5_max_length
Expand Down
Loading