0
Fork 0
mirror of https://github.com/zml/zml.git synced 2026-11-16 19:11:09 +00:00

Compare commits

...

28 commits

Author SHA1 Message Date
Guillaume Wenzek
cd5272437c make sdxl activations contiguous 2024-10-23 10:27:03 +02:00
Guillaume Wenzek
a67e9a1739 zml/testing: add better error messages for non-contiguous buffers 2024-10-21 09:41:38 +02:00
Guillaume Wenzek
f3301b3125 groupNorm 2024-10-21 09:37:29 +02:00
Guillaume Wenzek
cac766e89d vae.decoder.mid_block compile 2024-10-18 15:33:19 +02:00
Guillaume Wenzek
893c79324c extract layerNorm and groupNorm into functions
# Conflicts:
#	zml/nn.zig
2024-10-18 15:32:56 +02:00
Guillaume Wenzek
59ecb077a0 fix downscaled_images type 2024-10-18 14:03:31 +02:00
Guillaume Wenzek
524c9902aa aio.zig: support arrays in struct 2024-10-18 14:03:31 +02:00
Guillaume Wenzek
6f4eb7b6fc keep more structure when collecting pytorch input/output 2024-10-18 14:03:31 +02:00
Guillaume Wenzek
db517ec777 UpBlocks 2024-10-18 14:03:31 +02:00
Guillaume Wenzek
7169caf8b5 UNetMidBlock2DCrossAttn 2024-10-18 14:03:31 +02:00
Guillaume Wenzek
48f7723734 CrossAttnDownBlock2D 2024-10-18 14:03:31 +02:00
Guillaume Wenzek
f3772e4d73 use tuples in Unet struct 2024-10-18 14:03:31 +02:00
Guillaume Wenzek
2ffd04a067 Transformer2DModel 2024-10-18 14:03:31 +02:00
Guillaume Wenzek
850c75eae2 implement Geglu 2024-10-18 14:03:31 +02:00
Guillaume Wenzek
29c3073eed load CrossAttnDownBlock2D 2024-10-18 14:03:31 +02:00
Guillaume Wenzek
82b09c51c4 zml.tokenizer: add comments 2024-10-18 14:03:31 +02:00
Guillaume Wenzek
d60e27f250 loadSdTurboTokenizer 2024-10-18 14:03:31 +02:00
Guillaume Wenzek
efabedd245 python ♡ typos 2024-10-18 14:03:03 +02:00
Guillaume Wenzek
1fc06cc2ee minimal ClipTransformer 2024-10-18 14:03:03 +02:00
Guillaume Wenzek
20102eb70c baby pandas are cute 2024-10-18 14:03:03 +02:00
Guillaume Wenzek
7c3a046a8e remove KvCache 2024-10-18 14:03:03 +02:00
Guillaume Wenzek
d7ec4534f0 ClipMlp 2024-10-18 14:03:01 +02:00
Guillaume Wenzek
521116089e add sdxl/transfomer.zig (from llama.zig) 2024-10-18 14:01:50 +02:00
Guillaume Wenzek
20db38c7ab normalizeVariance should take an axis 2024-10-18 14:01:50 +02:00
Guillaume Wenzek
9ed48f5c9a zml: normalize & co should take an axis. 2024-10-18 14:01:48 +02:00
Guillaume Wenzek
fc68537362 add resnet 2024-10-18 14:00:45 +02:00
Guillaume Wenzek
1853e01918 sdxl: conv2d + groupNorm 2024-10-18 14:00:45 +02:00
Guillaume Wenzek
48a1b65f1b download sd-turbo weights
https://huggingface.co/stabilityai/sd-turbo
2024-10-18 14:00:45 +02:00
14 changed files with 1025 additions and 80 deletions