gitextract_s8_0ppc8/ ├── .gitignore ├── README.md ├── environment/ │ ├── edict_requirements.txt │ ├── instructdiffusion_requirements.txt │ ├── masactrl_requirements.txt │ ├── p2p_requirements.txt │ ├── pix2pix_zero_requirements.txt │ └── pnp_requirements.txt ├── evaluation/ │ ├── evaluate.py │ └── matrics_calculator.py ├── models/ │ ├── InstructDiffusion/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── configs/ │ │ │ └── instruct_diffusion.yaml │ │ ├── dataset/ │ │ │ ├── README.md │ │ │ ├── editing/ │ │ │ │ └── edit_zip_dataset.py │ │ │ ├── low_level/ │ │ │ │ ├── lowlevel_clwd.py │ │ │ │ ├── lowlevel_gopro.py │ │ │ │ ├── lowlevel_reds.py │ │ │ │ └── lowlevel_sidd.py │ │ │ ├── pose/ │ │ │ │ └── pose.py │ │ │ ├── prompt/ │ │ │ │ ├── color_list_train_small.txt │ │ │ │ ├── prompt_deblur.txt │ │ │ │ ├── prompt_denoise.txt │ │ │ │ ├── prompt_dewatermark.txt │ │ │ │ ├── prompt_pose.txt │ │ │ │ └── prompt_seg.txt │ │ │ ├── seg/ │ │ │ │ ├── coco_stuff.py │ │ │ │ ├── grefcoco.py │ │ │ │ ├── grefcoco_segmentation.py │ │ │ │ ├── refcoco.py │ │ │ │ └── refcoco_segmentation.py │ │ │ └── utils/ │ │ │ └── zip_manager.py │ │ ├── edit_app.py │ │ ├── edit_cli.py │ │ ├── environment.yaml │ │ ├── main.py │ │ ├── scripts/ │ │ │ ├── convert_ckpt.py │ │ │ ├── download_pretrained_sd.sh │ │ │ ├── inference_example.sh │ │ │ └── run_multinode.sh │ │ ├── stable_diffusion/ │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── Stable_Diffusion_v1_Model_Card.md │ │ │ ├── assets/ │ │ │ │ ├── results.gif.REMOVED.git-id │ │ │ │ ├── stable-samples/ │ │ │ │ │ ├── img2img/ │ │ │ │ │ │ ├── upscaling-in.png.REMOVED.git-id │ │ │ │ │ │ └── upscaling-out.png.REMOVED.git-id │ │ │ │ │ └── txt2img/ │ │ │ │ │ ├── merged-0005.png.REMOVED.git-id │ │ │ │ │ ├── merged-0006.png.REMOVED.git-id │ │ │ │ │ └── merged-0007.png.REMOVED.git-id │ │ │ │ └── txt2img-preview.png.REMOVED.git-id │ │ │ ├── configs/ │ │ │ │ ├── autoencoder/ │ │ │ │ │ ├── autoencoder_kl_16x16x16.yaml │ │ │ │ │ ├── autoencoder_kl_32x32x4.yaml │ │ │ │ │ ├── autoencoder_kl_64x64x3.yaml │ │ │ │ │ └── autoencoder_kl_8x8x64.yaml │ │ │ │ ├── latent-diffusion/ │ │ │ │ │ ├── celebahq-ldm-vq-4.yaml │ │ │ │ │ ├── cin-ldm-vq-f8.yaml │ │ │ │ │ ├── cin256-v2.yaml │ │ │ │ │ ├── ffhq-ldm-vq-4.yaml │ │ │ │ │ ├── lsun_bedrooms-ldm-vq-4.yaml │ │ │ │ │ ├── lsun_churches-ldm-kl-8.yaml │ │ │ │ │ └── txt2img-1p4B-eval.yaml │ │ │ │ ├── retrieval-augmented-diffusion/ │ │ │ │ │ └── 768x768.yaml │ │ │ │ └── stable-diffusion/ │ │ │ │ └── v1-inference.yaml │ │ │ ├── environment.yaml │ │ │ ├── ldm/ │ │ │ │ ├── lr_scheduler.py │ │ │ │ ├── models/ │ │ │ │ │ ├── autoencoder.py │ │ │ │ │ └── diffusion/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── classifier.py │ │ │ │ │ ├── ddim.py │ │ │ │ │ ├── ddpm.py │ │ │ │ │ ├── ddpm_edit.py │ │ │ │ │ ├── dpm_solver/ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── dpm_solver.py │ │ │ │ │ │ └── sampler.py │ │ │ │ │ └── plms.py │ │ │ │ ├── modules/ │ │ │ │ │ ├── attention.py │ │ │ │ │ ├── diffusionmodules/ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── model.py │ │ │ │ │ │ ├── openaimodel.py │ │ │ │ │ │ └── util.py │ │ │ │ │ ├── distributions/ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ └── distributions.py │ │ │ │ │ ├── ema.py │ │ │ │ │ ├── encoders/ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ └── modules.py │ │ │ │ │ ├── image_degradation/ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── bsrgan.py │ │ │ │ │ │ ├── bsrgan_light.py │ │ │ │ │ │ └── utils_image.py │ │ │ │ │ ├── losses/ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── contperceptual.py │ │ │ │ │ │ └── vqperceptual.py │ │ │ │ │ └── x_transformer.py │ │ │ │ └── util.py │ │ │ ├── main.py │ │ │ ├── models/ │ │ │ │ ├── first_stage_models/ │ │ │ │ │ ├── kl-f16/ │ │ │ │ │ │ └── config.yaml │ │ │ │ │ ├── kl-f32/ │ │ │ │ │ │ └── config.yaml │ │ │ │ │ ├── kl-f4/ │ │ │ │ │ │ └── config.yaml │ │ │ │ │ ├── kl-f8/ │ │ │ │ │ │ └── config.yaml │ │ │ │ │ ├── vq-f16/ │ │ │ │ │ │ └── config.yaml │ │ │ │ │ ├── vq-f4/ │ │ │ │ │ │ └── config.yaml │ │ │ │ │ ├── vq-f4-noattn/ │ │ │ │ │ │ └── config.yaml │ │ │ │ │ ├── vq-f8/ │ │ │ │ │ │ └── config.yaml │ │ │ │ │ └── vq-f8-n256/ │ │ │ │ │ └── config.yaml │ │ │ │ └── ldm/ │ │ │ │ ├── bsr_sr/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── celeba256/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── cin256/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── ffhq256/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── inpainting_big/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── layout2img-openimages256/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── lsun_beds256/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── lsun_churches256/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── semantic_synthesis256/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── semantic_synthesis512/ │ │ │ │ │ └── config.yaml │ │ │ │ └── text2img256/ │ │ │ │ └── config.yaml │ │ │ ├── notebook_helpers.py │ │ │ ├── scripts/ │ │ │ │ ├── download_first_stages.sh │ │ │ │ ├── download_models.sh │ │ │ │ ├── img2img.py │ │ │ │ ├── inpaint.py │ │ │ │ ├── knn2img.py │ │ │ │ ├── latent_imagenet_diffusion.ipynb.REMOVED.git-id │ │ │ │ ├── sample_diffusion.py │ │ │ │ ├── tests/ │ │ │ │ │ └── test_watermark.py │ │ │ │ ├── train_searcher.py │ │ │ │ └── txt2img.py │ │ │ └── setup.py │ │ └── utils/ │ │ ├── deepspeed.py │ │ ├── logger.py │ │ └── utils.py │ ├── edict/ │ │ ├── edict_functions.py │ │ └── my_diffusers/ │ │ ├── __init__.py │ │ ├── commands/ │ │ │ ├── __init__.py │ │ │ ├── diffusers_cli.py │ │ │ └── env.py │ │ ├── configuration_utils.py │ │ ├── dependency_versions_check.py │ │ ├── dependency_versions_table.py │ │ ├── dynamic_modules_utils.py │ │ ├── hub_utils.py │ │ ├── modeling_utils.py │ │ ├── models/ │ │ │ ├── __init__.py │ │ │ ├── attention.py │ │ │ ├── embeddings.py │ │ │ ├── resnet.py │ │ │ ├── unet_2d.py │ │ │ ├── unet_2d_condition.py │ │ │ ├── unet_blocks.py │ │ │ └── vae.py │ │ ├── onnx_utils.py │ │ ├── optimization.py │ │ ├── pipeline_utils.py │ │ ├── pipelines/ │ │ │ ├── __init__.py │ │ │ ├── ddim/ │ │ │ │ ├── __init__.py │ │ │ │ └── pipeline_ddim.py │ │ │ ├── ddpm/ │ │ │ │ ├── __init__.py │ │ │ │ └── pipeline_ddpm.py │ │ │ ├── latent_diffusion/ │ │ │ │ ├── __init__.py │ │ │ │ └── pipeline_latent_diffusion.py │ │ │ ├── latent_diffusion_uncond/ │ │ │ │ ├── __init__.py │ │ │ │ └── pipeline_latent_diffusion_uncond.py │ │ │ ├── pndm/ │ │ │ │ ├── __init__.py │ │ │ │ └── pipeline_pndm.py │ │ │ ├── score_sde_ve/ │ │ │ │ ├── __init__.py │ │ │ │ └── pipeline_score_sde_ve.py │ │ │ ├── stable_diffusion/ │ │ │ │ ├── __init__.py │ │ │ │ ├── pipeline_stable_diffusion.py │ │ │ │ ├── pipeline_stable_diffusion_img2img.py │ │ │ │ ├── pipeline_stable_diffusion_inpaint.py │ │ │ │ ├── pipeline_stable_diffusion_onnx.py │ │ │ │ └── safety_checker.py │ │ │ └── stochastic_karras_ve/ │ │ │ ├── __init__.py │ │ │ └── pipeline_stochastic_karras_ve.py │ │ ├── schedulers/ │ │ │ ├── __init__.py │ │ │ ├── scheduling_ddim.py │ │ │ ├── scheduling_ddpm.py │ │ │ ├── scheduling_karras_ve.py │ │ │ ├── scheduling_lms_discrete.py │ │ │ ├── scheduling_pndm.py │ │ │ ├── scheduling_sde_ve.py │ │ │ ├── scheduling_sde_vp.py │ │ │ └── scheduling_utils.py │ │ ├── testing_utils.py │ │ ├── training_utils.py │ │ └── utils/ │ │ ├── __init__.py │ │ ├── dummy_scipy_objects.py │ │ ├── dummy_transformers_and_inflect_and_unidecode_objects.py │ │ ├── dummy_transformers_and_onnx_objects.py │ │ ├── dummy_transformers_objects.py │ │ ├── import_utils.py │ │ ├── logging.py │ │ ├── model_card_template.md │ │ └── outputs.py │ ├── edit_friendly_ddm/ │ │ ├── inversion_utils.py │ │ ├── ptp_classes.py │ │ ├── ptp_utils.py │ │ └── seq_aligner.py │ ├── instructpix2pix/ │ │ ├── LICENSE │ │ ├── README.md │ │ ├── configs/ │ │ │ ├── generate.yaml │ │ │ └── train.yaml │ │ ├── dataset_creation/ │ │ │ ├── generate_img_dataset.py │ │ │ ├── generate_txt_dataset.py │ │ │ ├── prepare_dataset.py │ │ │ └── prepare_for_gpt.py │ │ ├── edit_app.py │ │ ├── edit_cli.py │ │ ├── edit_dataset.py │ │ ├── environment.yaml │ │ ├── main.py │ │ ├── metrics/ │ │ │ ├── clip_similarity.py │ │ │ └── compute_metrics.py │ │ ├── prompt_app.py │ │ ├── scripts/ │ │ │ ├── download_checkpoints.sh │ │ │ ├── download_data.sh │ │ │ └── download_pretrained_sd.sh │ │ └── stable_diffusion/ │ │ ├── LICENSE │ │ ├── README.md │ │ ├── Stable_Diffusion_v1_Model_Card.md │ │ ├── assets/ │ │ │ ├── results.gif.REMOVED.git-id │ │ │ ├── stable-samples/ │ │ │ │ ├── img2img/ │ │ │ │ │ ├── upscaling-in.png.REMOVED.git-id │ │ │ │ │ └── upscaling-out.png.REMOVED.git-id │ │ │ │ └── txt2img/ │ │ │ │ ├── merged-0005.png.REMOVED.git-id │ │ │ │ ├── merged-0006.png.REMOVED.git-id │ │ │ │ └── merged-0007.png.REMOVED.git-id │ │ │ └── txt2img-preview.png.REMOVED.git-id │ │ ├── configs/ │ │ │ ├── autoencoder/ │ │ │ │ ├── autoencoder_kl_16x16x16.yaml │ │ │ │ ├── autoencoder_kl_32x32x4.yaml │ │ │ │ ├── autoencoder_kl_64x64x3.yaml │ │ │ │ └── autoencoder_kl_8x8x64.yaml │ │ │ ├── latent-diffusion/ │ │ │ │ ├── celebahq-ldm-vq-4.yaml │ │ │ │ ├── cin-ldm-vq-f8.yaml │ │ │ │ ├── cin256-v2.yaml │ │ │ │ ├── ffhq-ldm-vq-4.yaml │ │ │ │ ├── lsun_bedrooms-ldm-vq-4.yaml │ │ │ │ ├── lsun_churches-ldm-kl-8.yaml │ │ │ │ └── txt2img-1p4B-eval.yaml │ │ │ ├── retrieval-augmented-diffusion/ │ │ │ │ └── 768x768.yaml │ │ │ └── stable-diffusion/ │ │ │ └── v1-inference.yaml │ │ ├── environment.yaml │ │ ├── ldm/ │ │ │ ├── lr_scheduler.py │ │ │ ├── models/ │ │ │ │ ├── autoencoder.py │ │ │ │ └── diffusion/ │ │ │ │ ├── __init__.py │ │ │ │ ├── classifier.py │ │ │ │ ├── ddim.py │ │ │ │ ├── ddpm.py │ │ │ │ ├── ddpm_edit.py │ │ │ │ ├── dpm_solver/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── dpm_solver.py │ │ │ │ │ └── sampler.py │ │ │ │ └── plms.py │ │ │ ├── modules/ │ │ │ │ ├── attention.py │ │ │ │ ├── diffusionmodules/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── model.py │ │ │ │ │ ├── openaimodel.py │ │ │ │ │ └── util.py │ │ │ │ ├── distributions/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── distributions.py │ │ │ │ ├── ema.py │ │ │ │ ├── encoders/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── modules.py │ │ │ │ ├── image_degradation/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bsrgan.py │ │ │ │ │ ├── bsrgan_light.py │ │ │ │ │ └── utils_image.py │ │ │ │ ├── losses/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── contperceptual.py │ │ │ │ │ └── vqperceptual.py │ │ │ │ └── x_transformer.py │ │ │ └── util.py │ │ ├── main.py │ │ ├── models/ │ │ │ ├── first_stage_models/ │ │ │ │ ├── kl-f16/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── kl-f32/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── kl-f4/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── kl-f8/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── vq-f16/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── vq-f4/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── vq-f4-noattn/ │ │ │ │ │ └── config.yaml │ │ │ │ ├── vq-f8/ │ │ │ │ │ └── config.yaml │ │ │ │ └── vq-f8-n256/ │ │ │ │ └── config.yaml │ │ │ └── ldm/ │ │ │ ├── bsr_sr/ │ │ │ │ └── config.yaml │ │ │ ├── celeba256/ │ │ │ │ └── config.yaml │ │ │ ├── cin256/ │ │ │ │ └── config.yaml │ │ │ ├── ffhq256/ │ │ │ │ └── config.yaml │ │ │ ├── inpainting_big/ │ │ │ │ └── config.yaml │ │ │ ├── layout2img-openimages256/ │ │ │ │ └── config.yaml │ │ │ ├── lsun_beds256/ │ │ │ │ └── config.yaml │ │ │ ├── lsun_churches256/ │ │ │ │ └── config.yaml │ │ │ ├── semantic_synthesis256/ │ │ │ │ └── config.yaml │ │ │ ├── semantic_synthesis512/ │ │ │ │ └── config.yaml │ │ │ └── text2img256/ │ │ │ └── config.yaml │ │ ├── notebook_helpers.py │ │ ├── scripts/ │ │ │ ├── download_first_stages.sh │ │ │ ├── download_models.sh │ │ │ ├── img2img.py │ │ │ ├── inpaint.py │ │ │ ├── knn2img.py │ │ │ ├── latent_imagenet_diffusion.ipynb.REMOVED.git-id │ │ │ ├── sample_diffusion.py │ │ │ ├── tests/ │ │ │ │ └── test_watermark.py │ │ │ ├── train_searcher.py │ │ │ └── txt2img.py │ │ └── setup.py │ ├── masactrl/ │ │ ├── diffuser_utils.py │ │ ├── masactrl.py │ │ └── masactrl_utils.py │ ├── p2p/ │ │ ├── attention_control.py │ │ ├── inversion.py │ │ ├── p2p_guidance_forward.py │ │ ├── proximal_guidance_forward.py │ │ ├── scheduler_dev.py │ │ └── seq_aligner.py │ ├── p2p_editor.py │ ├── pix2pix_zero/ │ │ ├── base_pipeline.py │ │ ├── cross_attention.py │ │ ├── ddim_inv.py │ │ ├── edit_directions.py │ │ ├── edit_pipeline.py │ │ └── scheduler.py │ └── stylediffusion/ │ ├── clip_util.py │ ├── global_var.py │ ├── inversion.py │ ├── ptp_utils_v.py │ ├── seq_aligner.py │ └── utils.py ├── run_editing_blended_latent_diffusion.py ├── run_editing_edict.py ├── run_editing_edit_friendly_p2p.py ├── run_editing_instructdiffusion.py ├── run_editing_instructpix2pix.py ├── run_editing_masactrl.py ├── run_editing_p2p.py ├── run_editing_p2p_one_image.ipynb ├── run_editing_p2p_one_image.py ├── run_editing_pix2pix_zero.py ├── run_editing_pnp.py ├── run_editing_stylediffusion.py └── utils/ └── utils.py