huggingface / huggingface/diffusers

Flux 2: The shape of the latent argument is undocumented

Open
#12,755 2 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Python
Stars
34.5k
Forks
7.3k
Avg merge
3d 3h
Merged PRs (30d)
91

Description

The shape of the `latent` argument is not, as users might guess, `(1, 16, h//8, w//8)`, but `(1, 128, h//16, w//16)`.

This should be documented.

Contributor guide

Open the contributing guide

Research direction

The issue names the Flux `latent` argument but no file or test. Start by locating the Flux API or documentation entry point that describes this argument, confirm the stated shape against the surrounding usage, and consider the work done when the `(1, 128, h//16, w//16)` shape is documented clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
documentation, machine-learning
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.