graph LR
ReFL_Base_Training_Orchestrator["ReFL Base Training Orchestrator"]
SDXL_Training_Orchestrator["SDXL Training Orchestrator"]
SDXL_LoRA_Training_Orchestrator["SDXL LoRA Training Orchestrator"]
Training_Configuration_Utilities["Training Configuration Utilities"]
SDXL_Training_Orchestrator -- "specializes" --> ReFL_Base_Training_Orchestrator
SDXL_LoRA_Training_Orchestrator -- "specializes" --> SDXL_Training_Orchestrator
ReFL_Base_Training_Orchestrator -- "depends on" --> Training_Configuration_Utilities
SDXL_Training_Orchestrator -- "depends on" --> Training_Configuration_Utilities
SDXL_LoRA_Training_Orchestrator -- "depends on" --> Training_Configuration_Utilities
Training_Configuration_Utilities -- "supports" --> ReFL_Base_Training_Orchestrator
Training_Configuration_Utilities -- "supports" --> SDXL_Training_Orchestrator
Training_Configuration_Utilities -- "supports" --> SDXL_LoRA_Training_Orchestrator
The Training Orchestration & Configuration subsystem is central to initiating, configuring, and managing the overall training process within the ImageReward project, including distributed training setup and command-line argument handling.
Manages the fundamental training process for the ImageReward model, including data preparation and transformations. It serves as the base for more specialized training pipelines.
Related Classes/Methods:
Orchestrates training specifically for the SDXL model variant. This includes handling SDXL-specific model initialization, loss computation, and managing the training loop.
Related Classes/Methods:
Extends the SDXL Training Orchestrator to manage LoRA fine-tuning. This component handles LoRA-specific model persistence, loss calculations, and validation logging.
Related Classes/Methods:
Provides essential utility functions for managing the training environment. This includes handling file paths, creating necessary directories, and determining distributed training ranks.
Related Classes/Methods: