umer1995's picture
Fun CN: fp8 stream DiT + local bnb4 TE + xlarge (no bf16 host dump / no remote TE)
f0a4e91 verified
Raw
History Blame Contribute Delete
1.12 kB
from .cfg_optimization import cfg_skip
from .discrete_sampler import DiscreteSampling
from .fm_solvers import FlowDPMSolverMultistepScheduler
from .fm_solvers_unipc import FlowUniPCMultistepScheduler
from .fp8_optimization import (autocast_model_forward,
convert_model_weight_to_float8,
convert_weight_dtype_wrapper,
replace_parameters_by_name)
from .group_offload import (register_auto_device_hook,
safe_enable_group_offload,
safe_remove_group_offloading)
from .lora_utils import (convert_peft_lora_to_kohya_lora, create_network,
merge_lora, unmerge_lora)
from .trigflow_sampler import (RectifiedFlow_TrigFlowWrapper,
sample_trigflow_timesteps)
from .utils import (calculate_dimensions, filter_kwargs, get_autocast_dtype,
get_image_latent, get_image_to_video_latent,
get_video_to_video_latent, save_videos_grid,
save_videos_with_audio_grid)