Commit Graph

569 Commits

Author SHA1 Message Date
Tanishq Abraham 3abf4bc439
EMA model stepping updated to keep track of current step (#64)
ema model stepping done automatically now
2022-07-04 11:53:15 +02:00
Patrick von Platen 94566e6dd8
update mid block (#70)
* update mid block

* finish mid block
2022-07-04 11:52:22 +02:00
Suraj Patil 4e2674934f
add tests for 1D Up/Downsample blocks (#72) 2022-07-04 11:41:04 +02:00
Suraj Patil 53a42d0a0c
Simplify FirUp/down, unet sde (#71)
* refactor fir up/down sample

* remove variance scaling

* remove variance scaling from unet sde

* refactor Linear

* style

* actually remove variance scaling

* add back upsample_2d, downsample_2d

* style

* fix FirUpsample2D
2022-07-04 11:23:19 +02:00
Patrick von Platen 321f9791d6
Downsample / Upsample - clean to 1D and 2D (#68)
* make unet rl work

* uploaad files / code

* upload files

* make style correct

* finish
2022-07-03 22:26:33 +02:00
Patrick von Platen c524244f49
[Resnet] Remove unnecessary functions / classes (#67)
Remove unnecessary functions / classes
2022-07-03 19:17:25 +02:00
Patrick von Platen d224c6373f
Resnet => Resnet2D (#66) 2022-07-03 18:58:58 +02:00
Patrick von Platen 44705a648b
[ResNet] Refactor resnet from VAE (#65) 2022-07-03 18:43:43 +02:00
Patrick von Platen a7b0047e0f some clean up 2022-07-01 18:14:46 +00:00
Patrick von Platen dcb9070bc2 quick fix to include non-fir kernels for sde-vp 2022-07-01 17:56:59 +00:00
Patrick von Platen 11667d08d3
Merge pull request #59 from huggingface/fuse_final_resnets
[Resnet] Merge final 2D resnet
2022-07-01 19:32:36 +02:00
Patrick von Platen 221de0edee correct 2022-07-01 17:28:29 +00:00
Patrick von Platen 0eac7bd682 small fix 2022-07-01 17:20:30 +00:00
Patrick von Platen 1e7e23a9c6 Merge branch 'fuse_final_resnets' of https://github.com/huggingface/diffusers into fuse_final_resnets 2022-07-01 16:42:26 +00:00
Patrick von Platen b8415bb480 remove bogus files 2022-07-01 16:42:24 +00:00
Patrick von Platen 3a15afacab delete bogus files 2022-07-01 16:20:46 +00:00
Patrick von Platen 571e4062e5 merge from master 2022-07-01 16:20:05 +00:00
Patrick von Platen 14bd3567b0 update 2022-07-01 15:45:40 +00:00
Suraj Patil c2bc59d2b1
Merge pull request #63 from huggingface/bddm-conversion-script
add conversion script for BDDMPipeline
2022-07-01 17:45:10 +02:00
patil-suraj ab946575b1 add conversion script for BDDMPipeline 2022-07-01 17:44:38 +02:00
Patrick von Platen 1468f754e0 finish resnet 2022-07-01 15:40:54 +00:00
Patrick von Platen fa7443c899 finish resnet 2022-07-01 15:39:57 +00:00
Patrick von Platen 8d7771d8b0 make work with first resnet 2022-07-01 15:24:26 +00:00
Suraj Patil a1b5ef5ddc
Merge pull request #62 from huggingface/fix-ldm-uncond
fix ldm uncond pipeline
2022-07-01 17:20:26 +02:00
patil-suraj f26d3011c7 fix ldm uncond pipeline 2022-07-01 17:19:26 +02:00
Patrick von Platen 9da575d63c correct more 2022-07-01 17:07:41 +02:00
Suraj Patil 979c48be04
Merge pull request #61 from huggingface/conversion-scripts
add conversion script for LatentDiffusionUncondPipeline
2022-07-01 16:54:20 +02:00
patil-suraj 099d3eab49 add conversion script for LatentDiffusionUncondPipeline 2022-07-01 16:53:41 +02:00
Patrick von Platen 61dc657461 more fixes 2022-07-01 14:35:14 +00:00
patil-suraj 23904d54d0 Merge branch 'main' of https://github.com/huggingface/diffusers into conversion-scripts 2022-07-01 15:18:16 +02:00
Suraj Patil c691bb2f42
Merge pull request #60 from huggingface/add-fir-back
fix unde sde for vp model.
2022-07-01 14:01:35 +02:00
patil-suraj 4c293e0e1b fix bias when using fir up/down sample 2022-07-01 13:54:33 +02:00
patil-suraj 516cb9e7f8 fix Upsample 2022-07-01 12:58:50 +02:00
patil-suraj 60a981343e actually fix the typo 2022-07-01 12:55:30 +02:00
patil-suraj db5a05742e fix typo 2022-07-01 12:54:47 +02:00
patil-suraj 0dbc4779c8 add centered back 2022-07-01 12:50:34 +02:00
patil-suraj 5018abff6e add fir=False back 2022-07-01 12:01:59 +02:00
Patrick von Platen f1aade0596 up 2022-07-01 09:04:18 +00:00
Patrick von Platen abedfb08f1
Merge pull request #57 from huggingface/big_clean_up
[Clean up] Clean up unused code
2022-07-01 00:44:24 +02:00
Patrick von Platen 61ea57c5a7 clean up lots of dead code 2022-06-30 22:42:06 +00:00
Patrick von Platen 810c0e4fda
Merge pull request #56 from huggingface/correct_tests
Slighly increase tolerance for tests
2022-07-01 00:29:33 +02:00
Patrick von Platen db7ec72dd8 up 2022-06-30 22:29:18 +00:00
Patrick von Platen 52e0c5b294 update 2022-06-30 22:28:28 +00:00
Patrick von Platen fb188cd3f5
Merge pull request #55 from huggingface/refactor_glide
[Resnet] Merge glide resnet into general resnet
2022-07-01 00:26:05 +02:00
Patrick von Platen efe1e60e12 merge glide into resnets 2022-06-30 22:24:22 +00:00
Patrick von Platen fd6f93b2b1 all glide passes 2022-06-30 22:09:49 +00:00
Patrick von Platen db934c6750 fix more tests 2022-06-30 21:47:40 +00:00
Patrick von Platen 185347e411 up 2022-06-30 17:01:06 +00:00
Patrick von Platen c1c4dea98d correct tests ncsnpp 2022-06-30 15:54:00 +00:00
Patrick von Platen f4cd5a20d0
Merge pull request #53 from huggingface/more_aggressive_tests
[Testing] Make tests more aggressive
2022-06-30 16:55:06 +02:00