- 31 May, 2023 1 commit
-
-
Prathik Rao authored
* update code to reflect latest changes as of May 30th * update text to image example * reflect changes to textual inversion * make style * fix typo * Revert unnecessary readme changes --------- Co-authored-by:root <root@orttrainingdev8.d32nl1ml4oruzj4qz3bqlggovf.px.internal.cloudapp.net> Co-authored-by: Prathik Rao <prathikrao@microsoft.com@orttrainingdev8.d32nl1ml4oruzj4qz3bqlggovf.px.internal.cloudapp.net>
-
- 25 Apr, 2023 1 commit
-
-
Lucca Zenóbio authored
cast to weight dtype
-
- 21 Apr, 2023 1 commit
-
-
Patrick von Platen authored
* Multi Vector * Improve * fix multi token * improve test * make style * Update examples/test_examples.py * Apply suggestions from code review Co-authored-by:
Suraj Patil <surajp815@gmail.com> * update * Finish * Apply suggestions from code review --------- Co-authored-by:
Suraj Patil <surajp815@gmail.com>
-
- 20 Apr, 2023 1 commit
-
-
XinyuYe-Intel authored
* Added distillation for quantization example on textual inversion. Signed-off-by:
Ye, Xinyu <xinyu.ye@intel.com> * refined readme and code style. Signed-off-by:
Ye, Xinyu <xinyu.ye@intel.com> * Update text2images.py * refined code of model load and added compatibility check. Signed-off-by:
Ye, Xinyu <xinyu.ye@intel.com> * fixed code style. Signed-off-by:
Ye, Xinyu <xinyu.ye@intel.com> * fix C403 [*] Unnecessary `list` comprehension (rewrite as a `set` comprehension) Signed-off-by:
Ye, Xinyu <xinyu.ye@intel.com> --------- Signed-off-by:
Ye, Xinyu <xinyu.ye@intel.com>
-
- 11 Apr, 2023 2 commits
-
-
Will Berman authored
-
Patrick von Platen authored
* [Config] Fix config prints and save, load * Only use potential nn.Modules for dtype and device * Correct vae image processor * make sure in_channels is not accessed directly * make sure in channels is only accessed via config * Make sure schedulers only access config attributes * Make sure to access config in SAG * Fix vae processor and make style * add tests * uP * make style * Fix more naming issues * Final fix with vae config * change more
-
- 10 Apr, 2023 2 commits
-
-
luanjintai authored
-
luanjintai authored
-
- 06 Apr, 2023 1 commit
-
-
Kadir Nar authored
-
- 04 Apr, 2023 1 commit
-
-
Lucain authored
use upload folder in training scripts Co-authored-by:testbot <lucainp@hf.co>
-
- 31 Mar, 2023 1 commit
-
-
mengfei25 authored
* modify intel opts inference script * modify readme * modify doc * fix some issues * reformat * reformat script * format issue * format issue
-
- 24 Mar, 2023 1 commit
-
-
Haofan Wang authored
-
- 23 Mar, 2023 2 commits
-
-
Haofan Wang authored
* Update train_text_to_image_lora.py * Update train_text_to_image_lora.py * Update train_text_to_image_lora.py * Update train_text_to_image_lora.py * format
-
Naoki Ainoya authored
The 'CLIPFeatureExtractor' class name has been renamed to 'CLIPImageProcessor' in order to comply with future deprecation. This commit includes the necessary changes to the affected files.
-
- 17 Mar, 2023 1 commit
-
-
Andy authored
* updated black format * update black format * make style format * updated line endings * update code formatting * Update examples/research_projects/onnxruntime/text_to_image/train_text_to_image.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Update src/diffusers/models/vae.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * Update src/diffusers/models/vae.py Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * added vae gradient checkpointing test * make style --------- Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
Will Berman <wlbberman@gmail.com>
-
- 15 Mar, 2023 1 commit
-
-
Patrick von Platen authored
* rename file * rename attention * fix more * rename more * up * more deprecation imports * fixes
-
- 14 Mar, 2023 1 commit
-
-
Will Berman authored
-
- 08 Mar, 2023 2 commits
-
-
Patrick von Platen authored
-
Haofan Wang authored
* add lora * Update examples/research_projects/lora/README.md --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
- 07 Mar, 2023 1 commit
-
-
Isamu Isozaki authored
* Added multitoken training for textual inversion * Updated assertion * Removed duplicate save code * Fixed undefined bug * Fixed save * Added multitoken clip model +util helper * Removed code splitting * Removed class * Fixed errors * Fixed errors * Added loading functionality * Loading via dict instead * Fixed bug of invalid index being loaded * Fixed adding placeholder token only adding 1 token * Fixed bug when initializing tokens * Fixed bug when initializing tokens * Removed flawed logic * Fixed vector shuffle * Fixed tokenizer's inconsistent __call__ method * Fixed tokenizer's inconsistent __call__ method * Handling list input * Added exception for adding invalid tokens to token map * Removed unnecessary files and started working on progressive tokens * Set at minimum load one token * Changed to global step * Added method to load automatic1111 tokens * Fixed bug in load * Quality+style fixes * Update quality/style fixes * Cast embeddings to fp16 when loading * Fixed quality * Started moving things over * Clearing diffs * Clearing diffs * Moved everything * Requested changes
-
- 01 Mar, 2023 1 commit
-
-
Patrick von Platen authored
-
- 16 Feb, 2023 2 commits
-
-
Will Berman authored
-
Will Berman authored
* add total number checkpoints to training scripts * Update examples/dreambooth/train_dreambooth.py Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com> --------- Co-authored-by:
Sayak Paul <spsayakpaul@gmail.com>
-
- 14 Feb, 2023 1 commit
-
-
Ben Evans authored
* Log Unconditional Image Generation Samples to WandB * Check for wandb installation and parity between onnxruntime script * Log epoch to wandb * Check for tensorboard logger early on * style fixes --------- Co-authored-by:Patrick von Platen <patrick.v.platen@gmail.com>
-
- 09 Feb, 2023 1 commit
-
-
Ben Evans authored
Resolves ValueError: `num_inference_steps`: 1000 cannot be larger than `self.config.train_timesteps`: 50 as the unet model trained with this scheduler can only handle maximal 50 timesteps.
-
- 07 Feb, 2023 6 commits
-
-
Patrick von Platen authored
* before running make style * remove left overs from flake8 * finish * make fix-copies * final fix * more fixes
-
wfng92 authored
* Fix torchvision.transforms and transforms function naming clash * Update unconditional script for onnx * Apply suggestions from code review Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> --------- Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
Pedro Cuenca <pedro@huggingface.co>
-
wfng92 authored
* Add center crop and horizontal flip to args * Update command to use center crop and random flip * Add center crop and horizontal flip to args * Update command to use center crop and random flip
-
Patrick von Platen authored
-
chavinlo authored
* Create convert_vae_pt_to_diffusers.py Just a simple script to convert VAE.pt files to diffusers format Tested with: https://huggingface.co/WarriorMama777/OrangeMixs/blob/main/VAEs/orangemix.vae.pt * Update convert_vae_pt_to_diffusers.py Forgot to add the function call * make style --------- Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
chavinlo <example@example.com>
-
Fazzie-Maqianli authored
fix colossalai dreambooth
-
- 03 Feb, 2023 1 commit
-
-
Prathik Rao authored
* refactor onnxruntime integration * fix requirements.txt bug * make style * add support for textual_inversion * make style * add readme * cleanup README files * 1/27/2023 update to training scripts * make style * 1/30 update to train_unconditional * style with black-22.8.0 --------- Co-authored-by:
Prathik Rao <prathikrao@microsoft.com> Co-authored-by:
anton- <anton@huggingface.co>
-
- 02 Feb, 2023 1 commit
-
-
Adalberto authored
* Create train_dreambooth_inpaint_lora.py * Update train_dreambooth_inpaint_lora.py * Update train_dreambooth_inpaint_lora.py * Update train_dreambooth_inpaint_lora.py * Update train_dreambooth_inpaint_lora.py
-
- 27 Jan, 2023 2 commits
-
-
Patrick von Platen authored
-
Patrick von Platen authored
-
- 26 Jan, 2023 1 commit
-
-
Suraj Patil authored
* make scaling factor cnfig arg of vae * fix * make flake happy * fix ldm * fix upscaler * qualirty * Apply suggestions from code review Co-authored-by:
Anton Lozhkov <anton@huggingface.co> Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> * solve conflicts, addres some comments * examples * examples min version * doc * fix type * typo * Update src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_upscale.py Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> * remove duplicate line * Apply suggestions from code review Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by:
Anton Lozhkov <anton@huggingface.co> Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> Co-authored-by:
Patrick von Platen <patrick.v.platen@gmail.com>
-
- 25 Jan, 2023 1 commit
-
-
patil-suraj authored
-
- 24 Jan, 2023 1 commit
-
-
Pedro Cuenca authored
-
- 20 Jan, 2023 2 commits