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

Inconsistency in x_mask Logic Between T2IFinalLayer and STDiTBlock Leading to Potential Information Leakage #719

Open
fanzhongyi opened this issue Oct 10, 2024 · 0 comments

Comments

@fanzhongyi
Copy link

Thank you for this impressive open-source work! I've noticed an inconsistency in the application logic of x_mask between the T2IFinalLayer and the STDiTBlock. Since this operation is adapted from PixArt, I believe the underlying design logic (i.e., isolation) is sound. However, the implementation in T2IFinalLayer leads to the temporal variable x being overwritten, resulting in information leakage from t to t0.

I am unsure if this behavior is intentional or if it’s a typo that has led to a bug. Additionally, I'm unclear about the implications of this issue. While it only appears in the final layer, it is also where the leakage occurs closest to the output. I look forward to your insights on this matter. Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant