Skip to content

Conversation

@bghira
Copy link
Owner

@bghira bghira commented Jan 17, 2026

This pull request updates documentation across multiple languages to introduce new configuration options and clarify advanced features for data loading and model training. The most significant changes are the addition of the disable_multiline_split option for caption handling in dataloaders, new options for customizing text encoder layers in FLUX.2 models, enhancements for model metadata, expanded validation strategies using datasets, and detailed CREPA regularization scheduling controls.

Data Loader Options:

  • Added disable_multiline_split option to dataloader documentation in English (DATALOADER.md), Spanish (DATALOADER.es.md), Portuguese (DATALOADER.pt-BR.md), Hindi (DATALOADER.hi.md), Japanese (DATALOADER.ja.md), and Chinese (DATALOADER.zh.md). This option prevents splitting captions by newlines, useful for preserving intentional line breaks. Updated example configs to include this option. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]

Model Training Options:

  • Added --custom_text_encoder_intermediary_layers option to Spanish (OPTIONS.es.md) and Hindi (OPTIONS.hi.md) documentation, allowing users to override which hidden state layers are extracted from the text encoder for FLUX.2 models. Includes format, defaults, usage notes, and warnings about cache invalidation. [1] [2]

  • Added --modelspec_comment option to Spanish (OPTIONS.es.md) documentation, enabling embedding custom comments into model metadata, visible in external viewers. Supports environment variable substitution and multiple lines. Updated CLI usage and options reference. [1] [2] [3]

Validation and Conditioning:

  • Documented new validation strategies in Spanish (OPTIONS.es.md): --validation_using_datasets for img2img validation using training dataset images, and --eval_dataset_id for selecting a specific dataset for evaluation. Includes detailed explanations of conditioning modes, dataset types, and how these options interact.

CREPA Regularization Scheduling:

  • Expanded documentation for CREPA regularization in Spanish (OPTIONS.es.md) with new options: --crepa_scheduler, --crepa_warmup_steps, --crepa_decay_steps, --crepa_lambda_end, --crepa_power, --crepa_cutoff_step, --crepa_similarity_threshold, --crepa_similarity_ema_decay, and --crepa_threshold_mode. Includes configuration examples and usage notes for advanced scheduling and stopping criteria. [1] [2]

bghira added 30 commits January 15, 2026 15:21
flux2 klein-4b and klein-9b model_flavour options
re-export ModelRegistry for video model auto-trim
comfyui lora format fixes for flux2 layer names
add --disable_multiline_split global and dataset-specific option
fix error during cls check against LazyModelClass
…i-for-flux2

add flux2 to list of models that have a "Real CFG" option available
…ency-list

modelspec: use global caption list instead of validation prompt records for tag frequency metadata
add validation_guidance_real to Flux2 pipeline
ltx2: add more layers to exclude from lower precision, following upstream LTX-2 repo
bghira added 19 commits January 16, 2026 11:28
…ption

allow blank value for metadata_backend to behave as a null value
add --modelspec_comment option and parsing for env var contents within it
…nderstandable

clean up negative impact option labels and remove duplicated field registry items
fix disable_multiline_split mapping filtering
…log warning instead of blowing up and fallback; filter null entries after mapping
…eline

flux2: add text2img pipeline as img2img pipeline for validation_using_datasets
fix name assignment from metadata; validate before appending config; log warning instead of blowing up and fallback; filter null entries after mapping
add extensive CREPA scheduling and thresholding options
…-cond-datasets

clarification and fixes for flux2 and other i2i model validation setup
…z_image

remove z-image references, unify on z_image
@bghira bghira merged commit d1bc070 into release Jan 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants