configs/coyo_f8_preencoded.yaml [73:129]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        validation_prompts_file: "validation_prompts/dalle_mini_prompts.txt"
        batch_size: ${training.batch_size}
        shuffle_buffer_size: 1000
        num_workers: 4
        resolution: 256
        pin_memory: True
        persistent_workers: True
    preprocessing:
        max_seq_length: 77
        resolution: 256
        center_crop: False
        random_flip: False


optimizer:
    name: fused_adamw
    params: # default adamw params
        learning_rate: 1e-4
        scale_lr: False # scale learning rate by total batch size
        beta1: 0.9
        beta2: 0.999
        weight_decay: 0.01
        epsilon: 1e-8


lr_scheduler:
    scheduler: "constant_with_warmup"
    params:
        learning_rate: ${optimizer.params.learning_rate}
        warmup_steps: 2000


mask_schedule:
    schedule: "cosine"
    # params: # for any additional args to schedule function

training:
    gradient_accumulation_steps: 1
    batch_size: 88
    mixed_precision: "fp16"
    enable_tf32: False
    use_ema: False
    seed: 9345104
    max_train_steps: 10000000
    overfit_one_batch: False
    cond_dropout_prob: 0.1
    min_masking_rate: 0.0
    label_smoothing: 0.0
    max_grad_norm: null
    guidance_scale: 7.0
    generation_timesteps: 16
    generation_temperature: 2.0
    # related to vae code sampling
    use_soft_code_target: False
    use_stochastic_code: False
    soft_code_temp: 1.0
    mask_schedule: "cosine"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



