Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/black-forest-labs/flux2
/ functions
Functions
110 in github.com/black-forest-labs/flux2
⨍
Functions
110
◇
Types & classes
27
Function
listed_prc
( x: list[Tensor], t_coord: list[Tensor] | None = None, )
src/flux2/sampling.py:123
Function
load_mistral_small_embedder
(device: str | torch.device = "cuda")
src/flux2/text_encoder.py:431
Function
main
( model_name: str | None = None, single_eval: bool = False, prompt: str | None = None, debug_m
scripts/cli.py:244
Function
prc_img
(x: Tensor, t_coord: Tensor | None = None)
src/flux2/sampling.py:141
Function
prc_txt
(x: Tensor, t_coord: Tensor | None = None)
src/flux2/sampling.py:93
Method
test_image
(self, image: Image.Image | str | Path | torch.Tensor)
src/flux2/text_encoder.py:264
Method
test_txt
(self, txt: str)
src/flux2/text_encoder.py:327
Method
upsample_prompt
Upsample prompts using the model's generate method. Args: txt: List of input prompts to upsample img: Option
src/flux2/text_encoder.py:143
Function
vanilla_guidance
(x: torch.Tensor, cfg_val: float)
src/flux2/sampling.py:358
Method
yes_no_logit_processor
Sets all tokens but yes/no to the minimum.
src/flux2/text_encoder.py:250
← previous
101–110 of 110, ranked by callers