MCPcopy Create free account

hub / github.com/black-forest-labs/flux / functions

Functions217 in github.com/black-forest-labs/flux

Methodhuman_readable_size
(size)
src/flux/trt/engine/base_engine.py:76
Functionincrement_counter
()
demo_st.py:141
Functionmain
( device: str = "cuda" if torch.cuda.is_available() else "cpu", offload: bool = False, output_dir:
demo_st.py:58
Functionmain
( device: str = "cuda" if torch.cuda.is_available() else "cpu", offload: bool = False, output_dir:
demo_st_fill.py:148
Functionmain
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
Functionmain
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
Functionmain
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
Functionmain
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
Functionmain
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
Methodmodule_to_engine_class
(self)
src/flux/trt/trt_manager.py:48
Functionregister_config
Decorator to register a configuration class with specific flag conditions.
src/flux/trt/trt_config/base_trt_config.py:255
Methodreset
(self, name: str)
src/flux/trt/engine/base_engine.py:54
Methodset_lora_scale
(self, scale: float)
src/flux/model.py:140
Methodshared_device_memory
(self)
src/flux/trt/engine/base_engine.py:72
Methodto
(self, device: str | torch.device)
src/flux/trt/engine/base_engine.py:126
Functionupdate_img2img
(do_img2img)
demo_gr.py:219
Methodyes_no_logit_processor
Sets all tokens but yes/no to the minimum.
src/flux/content_filters.py:78
← previous201–217 of 217, ranked by callers