diffusers
52c4d32d - Fix typo and format BasicTransformerBlock attributes (#2953)

Comment changes are shownComment changes are hidden
Commit
2 years ago
Fix typo and format BasicTransformerBlock attributes (#2953) * ⚙️chore(train_controlnet) fix typo in logger message * ⚙️chore(models) refactor modules order; make them the same as calling order When printing the BasicTransformerBlock to stdout, I think it's crucial that the attributes order are shown in proper order. And also previously the "3. Feed Forward" comment was not making sense. It should have been close to self.ff but it's instead next to self.norm3 * correct many tests * remove bogus file * make style * correct more tests * finish tests * fix one more * make style * make unclip deterministic * ⚙️chore(models/attention) reorganize comments in BasicTransformerBlock class --------- Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Author
Parents
  • examples/controlnet
    • File
      train_controlnet.py
  • src/diffusers/models
    • File
      attention.py
  • tests
    • pipelines
      • altdiffusion
        • File
          test_alt_diffusion_img2img.py
      • dit
        • File
          test_dit.py
      • latent_diffusion
        • File
          test_latent_diffusion.py
      • paint_by_example
        • File
          test_paint_by_example.py
      • semantic_stable_diffusion
        • File
          test_semantic_diffusion.py
      • stable_diffusion
        • File
          test_stable_diffusion.py
        • File
          test_stable_diffusion_image_variation.py
        • File
          test_stable_diffusion_img2img.py
        • File
          test_stable_diffusion_instruction_pix2pix.py
        • File
          test_stable_diffusion_model_editing.py
        • File
          test_stable_diffusion_panorama.py
        • File
          test_stable_diffusion_pix2pix_zero.py
      • stable_diffusion_2
        • File
          test_stable_diffusion.py
        • File
          test_stable_diffusion_attend_and_excite.py
        • File
          test_stable_diffusion_depth.py
        • File
          test_stable_diffusion_upscale.py
        • File
          test_stable_diffusion_v_pred.py
      • stable_diffusion_safe
        • File
          test_safe_diffusion.py
      • stable_unclip
        • File
          test_stable_unclip_img2img.py
      • text_to_video
        • File
          test_text_to_video.py
      • vq_diffusion
        • File
          test_vq_diffusion.py
    • File
      test_layers_utils.py
    • File
      test_unet_2d_blocks.py