kohya-ss / kohya-ss/sd-scripts

Commit "Update T5 attention mask handling in FLUX" results in an increase of tens of GB of video memory usage when using --apply_t5_attn_mask

Open
#1,510 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.2k
Forks
1.2k
Avg merge
11m
Merged PRs (30d)
2

Description

Commit "Update T5 attention mask handling in FLUX" results in an increase of tens of GB of video memory usage when using --apply_t5_attn_mask.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing FLUX usage with --apply_t5_attn_mask and comparing video memory before and after the cited T5 attention mask change. Trace the attention-mask handling reached by that option; done means the command no longer incurs the reported tens-of-GB increase in video memory.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.