1. 17 Apr, 2024 1 commit
  2. 10 Apr, 2024 1 commit
  3. 20 Mar, 2024 1 commit
  4. 01 Mar, 2024 1 commit
  5. 29 Feb, 2024 1 commit
    • Sayak Paul's avatar
      use uv for installing stuff in the workflows. (#7116) · 3daebe2b
      Sayak Paul authored
      * use uv for installing stuff in the workflows.
      
      * fix: from source installation command when using uv.
      
      * fix uv venv issue
      
      * edit editable installation.
      
      * fix quality installation
      
      * checking
      
      * make editable.
      
      * more check
      
      * check
      
      * add: export step
      
      * venv handling.
      
      * checking.
      
      * fix: dependency workflows.
      
      * peft tests.
      
      * proper way to initialize env.
      
      * Empty-Commit
      
      * Empty-Commit
      3daebe2b
  6. 28 Feb, 2024 2 commits
  7. 04 Jan, 2024 1 commit
  8. 30 Oct, 2023 1 commit
  9. 12 Oct, 2023 1 commit
  10. 04 Oct, 2023 1 commit
    • Dhruv Nair's avatar
      New Pipeline Slow Test runners (#5131) · dd5a3629
      Dhruv Nair authored
      
      
      * pipline fetcher
      
      * update script
      
      * clean up
      
      * clean up
      
      * clean up
      
      * new pipeline runner
      
      * rename tests to match modules
      
      * test actions in pr
      
      * change runner to gpu
      
      * clean up
      
      * clean up
      
      * clean up
      
      * fix report
      
      * fix reporting
      
      * clean up
      
      * show test stats in failure reports
      
      * give names to jobs
      
      * add lora tests
      
      * split torch cuda tests and add compile tests
      
      * clean up
      
      * fix tests
      
      * change push to run only on main
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      dd5a3629
  11. 26 Sep, 2023 1 commit
  12. 11 Sep, 2023 1 commit
  13. 06 Jul, 2023 1 commit
  14. 07 Jun, 2023 1 commit
  15. 12 May, 2023 1 commit
  16. 11 May, 2023 1 commit
    • Sayak Paul's avatar
      [Tests] better determinism (#3374) · 90f5f3c4
      Sayak Paul authored
      * enable deterministic pytorch and cuda operations.
      
      * disable manual seeding.
      
      * make style && make quality for unet_2d tests.
      
      * enable determinism for the unet2dconditional model.
      
      * add CUBLAS_WORKSPACE_CONFIG for better reproducibility.
      
      * relax tolerance (very weird issue, though).
      
      * revert to torch manual_seed() where needed.
      
      * relax more tolerance.
      
      * better placement of the cuda variable and relax more tolerance.
      
      * enable determinism for 3d condition model.
      
      * relax tolerance.
      
      * add: determinism to alt_diffusion.
      
      * relax tolerance for alt diffusion.
      
      * dance diffusion.
      
      * dance diffusion is flaky.
      
      * test_dict_tuple_outputs_equivalent edit.
      
      * fix two more tests.
      
      * fix more ddim tests.
      
      * fix: argument.
      
      * change to diff in place of difference.
      
      * fix: test_save_load call.
      
      * test_save_load_float16 call.
      
      * fix: expected_max_diff
      
      * fix: paint by example.
      
      * relax tolerance.
      
      * add determinism to 1d unet model.
      
      * torch 2.0 regressions seem to be brutal
      
      * determinism to vae.
      
      * add reason to skipping.
      
      * up tolerance.
      
      * determinism to vq.
      
      * determinism to cuda.
      
      * determinism to the generic test pipeline file.
      
      * refactor general pipelines testing a bit.
      
      * determinism to alt diffusion i2i
      
      * up tolerance for alt diff i2i and audio diff
      
      * up tolerance.
      
      * determinism to audioldm
      
      * increase tolerance for audioldm lms.
      
      * increase tolerance for paint by paint.
      
      * increase tolerance for repaint.
      
      * determinism to cycle diffusion and sd 1.
      
      * relax tol for cycle diffusion 🚲
      
      * relax tol for sd 1.0
      
      * relax tol for controlnet.
      
      * determinism to img var.
      
      * relax tol for img variation.
      
      * tolerance to i2i sd
      
      * make style
      
      * determinism to inpaint.
      
      * relax tolerance for inpaiting.
      
      * determinism for inpainting legacy
      
      * relax tolerance.
      
      * determinism to instruct pix2pix
      
      * determinism to model editing.
      
      * model editing tolerance.
      
      * panorama determinism
      
      * determinism to pix2pix zero.
      
      * determinism to sag.
      
      * sd 2. determinism
      
      * sd. tolerance
      
      * disallow tf32 matmul.
      
      * relax tolerance is all you need.
      
      * make style and determinism to sd 2 depth
      
      * relax tolerance for depth.
      
      * tolerance to diffedit.
      
      * tolerance to sd 2 inpaint.
      
      * up tolerance.
      
      * determinism in upscaling.
      
      * tolerance in upscaler.
      
      * more tolerance relaxation.
      
      * determinism to v pred.
      
      * up tol for v_pred
      
      * unclip determinism
      
      * determinism to unclip img2img
      
      * determinism to text to video.
      
      * determinism to last set of tests
      
      * up tol.
      
      * vq cumsum doesn't have a deterministic kernel
      
      * relax tol
      
      * relax tol
      90f5f3c4
  17. 03 Mar, 2023 1 commit
  18. 27 Feb, 2023 1 commit
  19. 13 Feb, 2023 1 commit
  20. 10 Feb, 2023 1 commit
  21. 29 Dec, 2022 1 commit
  22. 20 Dec, 2022 1 commit
  23. 16 Dec, 2022 1 commit
  24. 05 Dec, 2022 1 commit
    • Anton Lozhkov's avatar
      [CI] Add slow MPS tests (#1104) · cc22bda5
      Anton Lozhkov authored
      
      
      * [CI] Add slow MPS tests
      
      * fix yml
      
      * temporarily resolve caching
      
      * Tests: fix mps crashes.
      
      * Skip test_load_pipeline_from_git on mps.
      
      Not compatible with float16.
      
      * Increase tolerance, use CPU generator, alt. slices.
      
      * Move to nightly
      
      * style
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      cc22bda5
  25. 23 Nov, 2022 1 commit
    • Suraj Patil's avatar
      StableDiffusionImageVariationPipeline (#1365) · 0eb507f2
      Suraj Patil authored
      
      
      * add StableDiffusionImageVariationPipeline
      
      * add ini init
      
      * use CLIPVisionModelWithProjection
      
      * fix _encode_image
      
      * add copied from
      
      * fix copies
      
      * add doc
      
      * handle tensor in _encode_image
      
      * add tests
      
      * correct model_id
      
      * remove copied from in enable_sequential_cpu_offload
      
      * fix tests
      
      * make slow tests pass
      
      * update slow tests
      
      * use temp model for now
      
      * fix test_stable_diffusion_img_variation_intermediate_state
      
      * fix test_stable_diffusion_img_variation_intermediate_state
      
      * check for torch.Tensor
      
      * quality
      
      * fix name
      
      * fix slow tests
      
      * install transformers from source
      
      * fix install
      
      * fix install
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      
      * input_image -> image
      
      * remove deprication warnings
      
      * fix test_stable_diffusion_img_variation_multiple_images
      
      * make flake happy
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      0eb507f2
  26. 02 Nov, 2022 1 commit
    • Anton Lozhkov's avatar
      [CI] Framework and hardware-specific CI tests (#997) · 4e59bcc6
      Anton Lozhkov authored
      * [WIP][CI] Framework and hardware-specific docker images for CI tests
      
      * username
      
      * fix cpu
      
      * try out the image
      
      * push latest
      
      * update workspace
      
      * no root isolation for actions
      
      * add a flax image
      
      * flax and onnx matrix
      
      * fix runners
      
      * add reports
      
      * onnxruntime image
      
      * retry tpu
      
      * fix
      
      * fix
      
      * build onnxruntime
      
      * naming
      
      * onnxruntime-gpu image
      
      * onnxruntime-gpu image, slow tests
      
      * latest jax version
      
      * trigger flax
      
      * run flax tests in one thread
      
      * fast flax tests on cpu
      
      * fast flax tests on cpu
      
      * trigger slow tests
      
      * rebuild torch cuda
      
      * force cuda provider
      
      * fix onnxruntime tests
      
      * trigger slow
      
      * don't specify gpu for tpu
      
      * optimize
      
      * memory limit
      
      * fix flax tests
      
      * disable docker cache
      4e59bcc6
  27. 31 Oct, 2022 1 commit
  28. 29 Oct, 2022 1 commit
    • Pedro Cuenca's avatar
      Tests: upgrade PyTorch cuda to 11.7 to fix examples tests. (#1048) · a59f9990
      Pedro Cuenca authored
      Tests: upgrade PyTorch cuda to 11.7.
      
      Otherwise the cuda versions of torch and torchvision mismatch, and
      examples tests fail. We were requesting cuda 11.6 for PyTorch, and the
      default torchvision (via setup.py).
      
      Another option would be to include torchvision in the same pip install
      line as torch.
      a59f9990
  29. 26 Oct, 2022 1 commit
    • Pi Esposito's avatar
      minimal stable diffusion GPU memory usage with accelerate hooks (#850) · b2e2d141
      Pi Esposito authored
      * add method to enable cuda with minimal gpu usage to stable diffusion
      
      * add test to minimal cuda memory usage
      
      * ensure all models but unet are onn torch.float32
      
      * move to cpu_offload along with minor internal changes to make it work
      
      * make it test against accelerate master branch
      
      * coming back, its official: I don't know how to make it test againt the master branch from accelerate
      
      * make it install accelerate from master on tests
      
      * go back to accelerate>=0.11
      
      * undo prettier formatting on yml files
      
      * undo prettier formatting on yml files againn
      b2e2d141
  30. 03 Oct, 2022 1 commit
    • Anton Lozhkov's avatar
      [CI] Speed up slow tests (#708) · 1070e1a3
      Anton Lozhkov authored
      * [CI] Localize the HF cache
      
      * pip cache
      
      * de-env
      
      * refactor matrix
      
      * fix fast cache
      
      * less onnx steps
      
      * revert
      
      * revert pip cache
      
      * revert pip cache
      
      * remove debugging trigger
      1070e1a3
  31. 21 Sep, 2022 1 commit
  32. 19 Sep, 2022 1 commit
  33. 31 Aug, 2022 2 commits
  34. 30 Aug, 2022 1 commit
  35. 26 Aug, 2022 1 commit