diffusers/tests
Patrick von Platen d761b58bfc
[From pretrained] Speed-up loading from cache (#2515)
* [From pretrained] Speed-up loading from cache

* up

* Fix more

* fix one more bug

* make style

* bigger refactor

* factor out function

* Improve more

* better

* deprecate return cache folder

* clean up

* improve tests

* up

* upload

* add nice tests

* simplify

* finish

* correct

* fix version

* rename

* Apply suggestions from code review

Co-authored-by: Lucain <lucainp@gmail.com>

* rename

* correct doc string

* correct more

* Apply suggestions from code review

Co-authored-by: Pedro Cuenca <pedro@huggingface.co>

* apply code suggestions

* finish

---------

Co-authored-by: Lucain <lucainp@gmail.com>
Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
2023-03-10 11:56:10 +01:00
..
fixtures/custom_pipeline [Copyright] 2023 (#2524) 2023-03-01 10:31:00 +01:00
models Fix regression introduced in #2448 (#2551) 2023-03-04 16:11:57 +01:00
pipelines add OnnxStableDiffusionUpscalePipeline pipeline (#2158) 2023-03-06 11:48:01 +01:00
repo_utils [Copyright] 2023 (#2524) 2023-03-01 10:31:00 +01:00
schedulers [Tests] Split scheduler tests (#2630) 2023-03-09 19:11:47 +01:00
__init__.py fix issues with loading, add test for pipeline 2022-06-07 15:40:36 +02:00
conftest.py [Copyright] 2023 (#2524) 2023-03-01 10:31:00 +01:00
pipeline_params.py PipelineTesterMixin parameter configuration refactor (#2502) 2023-03-01 12:44:55 -08:00
test_config.py [Copyright] 2023 (#2524) 2023-03-01 10:31:00 +01:00
test_hub_utils.py Remove modelcards dependency (#2050) 2023-01-20 16:39:42 +01:00
test_layers_utils.py [Copyright] 2023 (#2524) 2023-03-01 10:31:00 +01:00
test_modeling_common.py [From pretrained] Speed-up loading from cache (#2515) 2023-03-10 11:56:10 +01:00
test_modeling_common_flax.py Allow to set config params directly in init (#1419) 2022-11-25 15:07:09 +01:00
test_outputs.py Replace flake8 with ruff and update black (#2279) 2023-02-07 23:46:23 +01:00
test_pipelines.py [From pretrained] Speed-up loading from cache (#2515) 2023-03-10 11:56:10 +01:00
test_pipelines_common.py [PipelineTesterMixin] Handle non-image outputs for attn slicing test (#2504) 2023-03-05 15:36:47 -08:00
test_pipelines_flax.py [Copyright] 2023 (#2524) 2023-03-01 10:31:00 +01:00
test_pipelines_onnx_common.py Reorganize pipeline tests (#963) 2022-10-24 16:34:01 +02:00
test_training.py [Copyright] 2023 (#2524) 2023-03-01 10:31:00 +01:00
test_unet_2d_blocks.py [Copyright] 2023 (#2524) 2023-03-01 10:31:00 +01:00
test_unet_blocks_common.py [Copyright] 2023 (#2524) 2023-03-01 10:31:00 +01:00
test_utils.py [Copyright] 2023 (#2524) 2023-03-01 10:31:00 +01:00