Text-to-Video
Safetensors
Diffusion Single File
comfyui
image-to-video
audio-video
quantization
mxfp8
mxfp4
fp8
auto-round
intel-xpu
nvidia-blackwell
Run this model with HF Jobs
Run intel-ai/MiniMax-H3-MXFP-Comfy on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/intel-ai/MiniMax-H3-MXFP-Comfy. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/intel-ai/MiniMax-H3-MXFP-Comfy on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use intel-ai/MiniMax-H3-MXFP-Comfy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use intel-ai/MiniMax-H3-MXFP-Comfy with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+1
- audio_encoders/put_audio_encoder_models_hereAdded
- background_removal/put_background_removal_models_hereAdded
- checkpoints/put_checkpoints_hereAdded
- checkpoints/sdpose_wholebody_fp16.safetensorsAdded+3
- clip/put_clip_or_text_encoder_models_hereAdded
- clip_vision/put_clip_vision_models_hereAdded
- configs/anything_v3.yamlAdded+73
- configs/v1-inference.yamlAdded+70
- configs/v1-inference_clip_skip_2.yamlAdded+73
- configs/v1-inference_clip_skip_2_fp16.yamlAdded+74
- configs/v1-inference_fp16.yamlAdded+71
- configs/v1-inpainting-inference.yamlAdded+71
- configs/v2-inference-v.yamlAdded+68
- configs/v2-inference-v_fp32.yamlAdded+68
- configs/v2-inference.yamlAdded+67
- configs/v2-inference_fp32.yamlAdded+67
- configs/v2-inpainting-inference.yamlAdded+158
- controlnet/put_controlnets_and_t2i_hereAdded
- detection/put_detection_models_hereAdded
- diffusers/put_diffusers_models_hereAdded
- diffusion_models/minimax_h3_fl2va_pruned_bf16.safetensorsAdded+3
- diffusion_models/minimax_h3_fl2va_pruned_fp8_ptpc.safetensorsAdded+3
- diffusion_models/minimax_h3_fl2va_pruned_fp8_ptpc_block0_errors.jsonAdded+22
- diffusion_models/minimax_h3_fl2va_pruned_fp8_ptpc_convrot.safetensorsAdded+3
- diffusion_models/minimax_h3_fl2va_pruned_fp8_ptpc_convrot_block0_errors.jsonAdded+22
- diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensorsAdded+3
- diffusion_models/minimax_h3_fl2va_pruned_mxfp8.safetensorsAdded+3
- diffusion_models/minimax_h3_fl2va_pruned_mxfp8_convrot.safetensorsAdded+3
- diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensorsAdded+3
- diffusion_models/put_diffusion_model_files_hereAdded
- diffusion_models/rt_detr_v4-x-hgnet_fp16.safetensorsAdded+3
- embeddings/put_embeddings_or_textual_inversion_concepts_hereAdded
- frame_interpolation/put_frame_interpolation_models_hereAdded
- geometry_estimation/put_geometry_estimation_models_hereAdded
- gligen/put_gligen_models_hereAdded
- hypernetworks/put_hypernetworks_hereAdded
- latent_upscale_models/put_latent_upscale_models_hereAdded
- loras/minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensorsAdded+3
- loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensorsAdded+3
- loras/p-h3-image_lora_bf16.safetensorsAdded+3
- loras/pika_h3_flex_fl2va_v1_bf16.safetensorsAdded+3
- loras/pika_h3_flex_ref2va_v1_bf16.safetensorsAdded+3
- loras/put_loras_hereAdded
- model_patches/minimax_h3_fun_controlnet_union_pruned_int8_convrot.safetensorsAdded+3
- model_patches/put_model_patches_hereAdded
- optical_flow/put_optical_flow_models_hereAdded
- photomaker/put_photomaker_models_hereAdded
- style_models/put_t2i_style_model_hereAdded
- text_encoders/.nfs13dc56bd265e00020000676dAdded+3
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttext_encoders/.nfs13dc56bd265e00020000676d filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:63d01f9a7494560693b24767f4469d59c9d3266b31ff0a253e74d1e611442721size 191664579212345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273model: base_learning_rate: 1.0e-04 target: ldm.models.diffusion.ddpm.LatentDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false # Note: different from the one we trained before conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False
scheduler_config: # 10000 warmup steps target: ldm.lr_scheduler.LambdaLinearScheduler params: warm_up_steps: [ 10000 ] cycle_lengths: [ 10000000000000 ] # incredibly large number to prevent corner cases f_start: [ 1.e-6 ] f_max: [ 1. ] f_min: [ 1. ]
unet_config: target: ldm.modules.diffusionmodules.openaimodel.UNetModel params: image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_heads: 8 use_spatial_transformer: True transformer_depth: 1 context_dim: 768 use_checkpoint: True legacy: False
first_stage_config: target: ldm.models.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: ldm.modules.encoders.modules.FrozenCLIPEmbedder params: layer: "hidden" layer_idx: -212345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970model: base_learning_rate: 1.0e-04 target: ldm.models.diffusion.ddpm.LatentDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false # Note: different from the one we trained before conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False
scheduler_config: # 10000 warmup steps target: ldm.lr_scheduler.LambdaLinearScheduler params: warm_up_steps: [ 10000 ] cycle_lengths: [ 10000000000000 ] # incredibly large number to prevent corner cases f_start: [ 1.e-6 ] f_max: [ 1. ] f_min: [ 1. ]
unet_config: target: ldm.modules.diffusionmodules.openaimodel.UNetModel params: image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_heads: 8 use_spatial_transformer: True transformer_depth: 1 context_dim: 768 use_checkpoint: True legacy: False
first_stage_config: target: ldm.models.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: ldm.modules.encoders.modules.FrozenCLIPEmbedder12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273model: base_learning_rate: 1.0e-04 target: ldm.models.diffusion.ddpm.LatentDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false # Note: different from the one we trained before conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False
scheduler_config: # 10000 warmup steps target: ldm.lr_scheduler.LambdaLinearScheduler params: warm_up_steps: [ 10000 ] cycle_lengths: [ 10000000000000 ] # incredibly large number to prevent corner cases f_start: [ 1.e-6 ] f_max: [ 1. ] f_min: [ 1. ]
unet_config: target: ldm.modules.diffusionmodules.openaimodel.UNetModel params: image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_heads: 8 use_spatial_transformer: True transformer_depth: 1 context_dim: 768 use_checkpoint: True legacy: False
first_stage_config: target: ldm.models.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: ldm.modules.encoders.modules.FrozenCLIPEmbedder params: layer: "hidden" layer_idx: -21234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374model: base_learning_rate: 1.0e-04 target: ldm.models.diffusion.ddpm.LatentDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false # Note: different from the one we trained before conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False
scheduler_config: # 10000 warmup steps target: ldm.lr_scheduler.LambdaLinearScheduler params: warm_up_steps: [ 10000 ] cycle_lengths: [ 10000000000000 ] # incredibly large number to prevent corner cases f_start: [ 1.e-6 ] f_max: [ 1. ] f_min: [ 1. ]
unet_config: target: ldm.modules.diffusionmodules.openaimodel.UNetModel params: use_fp16: True image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_heads: 8 use_spatial_transformer: True transformer_depth: 1 context_dim: 768 use_checkpoint: True legacy: False
first_stage_config: target: ldm.models.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: ldm.modules.encoders.modules.FrozenCLIPEmbedder params: layer: "hidden" layer_idx: -21234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071model: base_learning_rate: 1.0e-04 target: ldm.models.diffusion.ddpm.LatentDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false # Note: different from the one we trained before conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False
scheduler_config: # 10000 warmup steps target: ldm.lr_scheduler.LambdaLinearScheduler params: warm_up_steps: [ 10000 ] cycle_lengths: [ 10000000000000 ] # incredibly large number to prevent corner cases f_start: [ 1.e-6 ] f_max: [ 1. ] f_min: [ 1. ]
unet_config: target: ldm.modules.diffusionmodules.openaimodel.UNetModel params: use_fp16: True image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_heads: 8 use_spatial_transformer: True transformer_depth: 1 context_dim: 768 use_checkpoint: True legacy: False
first_stage_config: target: ldm.models.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: ldm.modules.encoders.modules.FrozenCLIPEmbedder1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071model: base_learning_rate: 7.5e-05 target: ldm.models.diffusion.ddpm.LatentInpaintDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false # Note: different from the one we trained before conditioning_key: hybrid # important monitor: val/loss_simple_ema scale_factor: 0.18215 finetune_keys: null
scheduler_config: # 10000 warmup steps target: ldm.lr_scheduler.LambdaLinearScheduler params: warm_up_steps: [ 2500 ] # NOTE for resuming. use 10000 if starting from scratch cycle_lengths: [ 10000000000000 ] # incredibly large number to prevent corner cases f_start: [ 1.e-6 ] f_max: [ 1. ] f_min: [ 1. ]
unet_config: target: ldm.modules.diffusionmodules.openaimodel.UNetModel params: image_size: 32 # unused in_channels: 9 # 4 data + 4 downscaled image + 1 mask out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_heads: 8 use_spatial_transformer: True transformer_depth: 1 context_dim: 768 use_checkpoint: True legacy: False
first_stage_config: target: ldm.models.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768model: base_learning_rate: 1.0e-4 target: ldm.models.diffusion.ddpm.LatentDiffusion params: parameterization: "v" linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False # we set this to false because this is an inference only config
unet_config: target: ldm.modules.diffusionmodules.openaimodel.UNetModel params: use_checkpoint: True use_fp16: True image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_head_channels: 64 # need to fix for flash-attn use_spatial_transformer: True use_linear_in_transformer: True transformer_depth: 1 context_dim: 1024 legacy: False
first_stage_config: target: ldm.models.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: #attn_type: "vanilla-xformers" double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: ldm.modules.encoders.modules.FrozenOpenCLIPEmbedder params: freeze: True layer: "penultimate"1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768model: base_learning_rate: 1.0e-4 target: ldm.models.diffusion.ddpm.LatentDiffusion params: parameterization: "v" linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False # we set this to false because this is an inference only config
unet_config: target: ldm.modules.diffusionmodules.openaimodel.UNetModel params: use_checkpoint: True use_fp16: False image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_head_channels: 64 # need to fix for flash-attn use_spatial_transformer: True use_linear_in_transformer: True transformer_depth: 1 context_dim: 1024 legacy: False
first_stage_config: target: ldm.models.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: #attn_type: "vanilla-xformers" double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: ldm.modules.encoders.modules.FrozenOpenCLIPEmbedder params: freeze: True layer: "penultimate"12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667model: base_learning_rate: 1.0e-4 target: ldm.models.diffusion.ddpm.LatentDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False # we set this to false because this is an inference only config
unet_config: target: ldm.modules.diffusionmodules.openaimodel.UNetModel params: use_checkpoint: True use_fp16: True image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_head_channels: 64 # need to fix for flash-attn use_spatial_transformer: True use_linear_in_transformer: True transformer_depth: 1 context_dim: 1024 legacy: False
first_stage_config: target: ldm.models.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: #attn_type: "vanilla-xformers" double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: ldm.modules.encoders.modules.FrozenOpenCLIPEmbedder params: freeze: True layer: "penultimate"12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667model: base_learning_rate: 1.0e-4 target: ldm.models.diffusion.ddpm.LatentDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false conditioning_key: crossattn monitor: val/loss_simple_ema scale_factor: 0.18215 use_ema: False # we set this to false because this is an inference only config
unet_config: target: ldm.modules.diffusionmodules.openaimodel.UNetModel params: use_checkpoint: True use_fp16: False image_size: 32 # unused in_channels: 4 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_head_channels: 64 # need to fix for flash-attn use_spatial_transformer: True use_linear_in_transformer: True transformer_depth: 1 context_dim: 1024 legacy: False
first_stage_config: target: ldm.models.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: #attn_type: "vanilla-xformers" double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: ldm.modules.encoders.modules.FrozenOpenCLIPEmbedder params: freeze: True layer: "penultimate"123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158model: base_learning_rate: 5.0e-05 target: ldm.models.diffusion.ddpm.LatentInpaintDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false conditioning_key: hybrid scale_factor: 0.18215 monitor: val/loss_simple_ema finetune_keys: null use_ema: False
unet_config: target: ldm.modules.diffusionmodules.openaimodel.UNetModel params: use_checkpoint: True image_size: 32 # unused in_channels: 9 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_head_channels: 64 # need to fix for flash-attn use_spatial_transformer: True use_linear_in_transformer: True transformer_depth: 1 context_dim: 1024 legacy: False
first_stage_config: target: ldm.models.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: #attn_type: "vanilla-xformers" double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [ ] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: ldm.modules.encoders.modules.FrozenOpenCLIPEmbedder params: freeze: True layer: "penultimate"
data: target: ldm.data.laion.WebDataModuleFromConfig params: tar_base: null # for concat as in LAION-A p_unsafe_threshold: 0.1 filter_word_list: "data/filters.yaml" max_pwatermark: 0.45 batch_size: 8 num_workers: 6 multinode: True min_size: 512 train: shards: - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-0/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-1/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-2/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-3/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-4/{00000..18699}.tar -" #{00000-94333}.tar" shuffle: 10000 image_key: jpg image_transforms: - target: torchvision.transforms.Resize params: size: 512 interpolation: 3 - target: torchvision.transforms.RandomCrop params: size: 512 postprocess: target: ldm.data.laion.AddMask params: mode: "512train-large" p_drop: 0.25 # NOTE use enough shards to avoid empty validation loops in workers validation: shards: - "pipe:aws s3 cp s3://deep-floyd-s3/datasets/laion_cleaned-part5/{93001..94333}.tar - " shuffle: 0 image_key: jpg image_transforms: - target: torchvision.transforms.Resize params: size: 512 interpolation: 3 - target: torchvision.transforms.CenterCrop params: size: 512 postprocess: target: ldm.data.laion.AddMask params: mode: "512train-large" p_drop: 0.25
lightning: find_unused_parameters: True modelcheckpoint: params: every_n_train_steps: 5000
callbacks: metrics_over_trainsteps_checkpoint: params: every_n_train_steps: 10000
image_logger: target: main.ImageLogger params: enable_autocast: False disabled: False batch_frequency: 1000 max_images: 4 increase_log_steps: False log_first_step: False log_images_kwargs: use_ema_scope: False inpaint: False plot_progressive_rows: False plot_diffusion_rows: False N: 4 unconditional_guidance_scale: 5.0 unconditional_guidance_label: [""] ddim_steps: 50 # todo check these out for depth2img, ddim_eta: 0.0 # todo check these out for depth2img,
trainer: benchmark: True val_check_interval: 5000000 num_sanity_val_steps: 0 accumulate_grad_batches: 1123version https://git-lfs.github.com/spec/v1oid sha256:a32572fb90b5508b201ec7c2eddcc184b13ddfd3c6f6d2cf06a0b46535d541b4size 40225724176123version https://git-lfs.github.com/spec/v1oid sha256:74696b0fceb404185f4922767b85250172a72c6e38560bb399f2a6e862bb7bfbsize 2097038001612345678910111213141516171819202122[ { "module": "blocks.0.attn.out_proj", "relative_l2": 0.026448098942637444, "max_abs": 0.057477593421936035 }, { "module": "blocks.0.attn.qkv_proj", "relative_l2": 0.026432251557707787, "max_abs": 0.11272311210632324 }, { "module": "blocks.0.mlp.fc1", "relative_l2": 0.026457296684384346, "max_abs": 0.18303537368774414 }, { "module": "blocks.0.mlp.fc2", "relative_l2": 0.02646137773990631, "max_abs": 0.14732122421264648 }]123version https://git-lfs.github.com/spec/v1oid sha256:34357ffd6d4e411879c88e40e83836f34aea643ca77d6741716b4f5896592687size 2097038881612345678910111213141516171819202122[ { "module": "blocks.0.attn.out_proj", "relative_l2": 0.026460768654942513, "max_abs": 0.03850293159484863 }, { "module": "blocks.0.attn.qkv_proj", "relative_l2": 0.026469120755791664, "max_abs": 0.024822644889354706 }, { "module": "blocks.0.mlp.fc1", "relative_l2": 0.026471538469195366, "max_abs": 0.043578870594501495 }, { "module": "blocks.0.mlp.fc2", "relative_l2": 0.026463011279702187, "max_abs": 0.033111803233623505 }]123version https://git-lfs.github.com/spec/v1oid sha256:e889202c41dafb67b10d67b97f0d8541508036a6090af23425a5c2615d03c47asize 20970379616123version https://git-lfs.github.com/spec/v1oid sha256:53f357d82fd0b9d7a06962b3b6e7319acb27df634fbd832f6ffe8e9b0332848csize 21560297704123version https://git-lfs.github.com/spec/v1oid sha256:44608450527a2a7b11ba2d360e3d44228c30176cbaf12fd80160453a1ab449dasize 21560306304123version https://git-lfs.github.com/spec/v1oid sha256:9255f52b6677845ad238f20dfaafa94727053694127ab7f255c048f0f9365779size 20970379616123version https://git-lfs.github.com/spec/v1oid sha256:581f9af9bbabb664d1891cbccd823308b176ecd409146f954dfa39af3bec2476size 123968978123version https://git-lfs.github.com/spec/v1oid sha256:2339acdf19bfe123f46b971ea35d367a84adb85de43627e1eceafa5a5b2b111esize 1956193000123version https://git-lfs.github.com/spec/v1oid sha256:5b9ab5ade15d0775676d01a907268a69a1468dc6033b3b0d3ded5502f3ebb84csize 1956193000123version https://git-lfs.github.com/spec/v1oid sha256:0e9013ae2873e3415dcb7bb59a9677293bdbdb6f663e138a79bb9bdced00ea61size 1956195360123version https://git-lfs.github.com/spec/v1oid sha256:cc5453aeecd6189468409003fe4cf1b57e52ff3a830a0a154b87decbe07358b7size 1956172304123version https://git-lfs.github.com/spec/v1oid sha256:de3745ceb7d8d5c20898dd8fa3a05f1c0b00089ccd55297b2a8bab95c766b0e0size 1956172304123version https://git-lfs.github.com/spec/v1oid sha256:9c645c0a308c8af361efd43b409710f6f8fec0db297c29503e141a84991fed0csize 2296635360123version https://git-lfs.github.com/spec/v1oid sha256:fc709a55bcb8b28e25ae6bff3161c2999237c9129d155c432156e654cf27c3f2size 14945687643.gitattributes+1
audio_encoders/put_audio_encoder_models_hereAdded
background_removal/put_background_removal_models_hereAdded
checkpoints/put_checkpoints_hereAdded
checkpoints/sdpose_wholebody_fp16.safetensorsAdded+3
clip/put_clip_or_text_encoder_models_hereAdded
clip_vision/put_clip_vision_models_hereAdded
configs/anything_v3.yamlAdded+73
configs/v1-inference.yamlAdded+70
configs/v1-inference_clip_skip_2.yamlAdded+73
configs/v1-inference_clip_skip_2_fp16.yamlAdded+74
configs/v1-inference_fp16.yamlAdded+71
configs/v1-inpainting-inference.yamlAdded+71
configs/v2-inference-v.yamlAdded+68
configs/v2-inference-v_fp32.yamlAdded+68
configs/v2-inference.yamlAdded+67
configs/v2-inference_fp32.yamlAdded+67
configs/v2-inpainting-inference.yamlAdded+158
controlnet/put_controlnets_and_t2i_hereAdded
detection/put_detection_models_hereAdded
diffusers/put_diffusers_models_hereAdded
diffusion_models/minimax_h3_fl2va_pruned_bf16.safetensorsAdded+3
diffusion_models/minimax_h3_fl2va_pruned_fp8_ptpc.safetensorsAdded+3
diffusion_models/minimax_h3_fl2va_pruned_fp8_ptpc_block0_errors.jsonAdded+22
diffusion_models/minimax_h3_fl2va_pruned_fp8_ptpc_convrot.safetensorsAdded+3
diffusion_models/minimax_h3_fl2va_pruned_fp8_ptpc_convrot_block0_errors.jsonAdded+22
diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensorsAdded+3
diffusion_models/minimax_h3_fl2va_pruned_mxfp8.safetensorsAdded+3
diffusion_models/minimax_h3_fl2va_pruned_mxfp8_convrot.safetensorsAdded+3
diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensorsAdded+3
diffusion_models/put_diffusion_model_files_hereAdded
diffusion_models/rt_detr_v4-x-hgnet_fp16.safetensorsAdded+3
embeddings/put_embeddings_or_textual_inversion_concepts_hereAdded
frame_interpolation/put_frame_interpolation_models_hereAdded
geometry_estimation/put_geometry_estimation_models_hereAdded
gligen/put_gligen_models_hereAdded
hypernetworks/put_hypernetworks_hereAdded
latent_upscale_models/put_latent_upscale_models_hereAdded
loras/minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensorsAdded+3
loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensorsAdded+3
loras/p-h3-image_lora_bf16.safetensorsAdded+3
loras/pika_h3_flex_fl2va_v1_bf16.safetensorsAdded+3
loras/pika_h3_flex_ref2va_v1_bf16.safetensorsAdded+3
loras/put_loras_hereAdded
model_patches/minimax_h3_fun_controlnet_union_pruned_int8_convrot.safetensorsAdded+3
model_patches/put_model_patches_hereAdded
optical_flow/put_optical_flow_models_hereAdded
photomaker/put_photomaker_models_hereAdded
style_models/put_t2i_style_model_hereAdded
text_encoders/.nfs13dc56bd265e00020000676dAdded+3