Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/black-forest-labs/flux
/ functions
Functions
217 in github.com/black-forest-labs/flux
⨍
Functions
217
◇
Types & classes
54
Method
human_readable_size
(size)
src/flux/trt/engine/base_engine.py:76
Function
increment_counter
()
demo_st.py:141
Function
main
( device: str = "cuda" if torch.cuda.is_available() else "cpu", offload: bool = False, output_dir:
demo_st.py:58
Function
main
( device: str = "cuda" if torch.cuda.is_available() else "cpu", offload: bool = False, output_dir:
demo_st_fill.py:148
Function
main
Sample the flux model. Either interactively (set `--loop`) or run for a single image. Args: name: Name of the model to load
src/flux/cli.py:103
Function
main
Sample the flux model. Either interactively (set `--loop`) or run for a single image. This demo assumes that the conditioning image and mask
src/flux/cli_fill.py:175
Function
main
Sample the flux model. Either interactively (set `--loop`) or run for a single image. Args: height: height of the sample in pixe
src/flux/cli_kontext.py:150
Function
main
Sample the flux model. Either interactively (set `--loop`) or run for a single image. Args: height: height of the sample in pixe
src/flux/cli_control.py:162
Function
main
Sample the flux model. Either interactively (set `--loop`) or run for a single image. Args: name: Name of the base model to use
src/flux/cli_redux.py:139
Method
module_to_engine_class
(self)
src/flux/trt/trt_manager.py:48
Function
register_config
Decorator to register a configuration class with specific flag conditions.
src/flux/trt/trt_config/base_trt_config.py:255
Method
reset
(self, name: str)
src/flux/trt/engine/base_engine.py:54
Method
set_lora_scale
(self, scale: float)
src/flux/model.py:140
Method
shared_device_memory
(self)
src/flux/trt/engine/base_engine.py:72
Method
to
(self, device: str | torch.device)
src/flux/trt/engine/base_engine.py:126
Function
update_img2img
(do_img2img)
demo_gr.py:219
Method
yes_no_logit_processor
Sets all tokens but yes/no to the minimum.
src/flux/content_filters.py:78
← previous
201–217 of 217, ranked by callers