MCPcopy Create free account
hub / github.com/modelscope/DiffSynth-Studio / FLUX.1-dev.py

File FLUX.1-dev.py

examples/flux/model_training/validate_full/FLUX.1-dev.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import torch
2from diffsynth.pipelines.flux_image_new import FluxImagePipeline, ModelConfig
3from diffsynth import load_state_dict
4

Callers

nothing calls this directly

Calls 4

load_state_dictFunction · 0.90
ModelConfigClass · 0.85
saveMethod · 0.80
from_pretrainedMethod · 0.45

Tested by

no test coverage detected