tensor (@tensor_kelechi) header
tensor (@tensor_kelechi) profile picture

ml research/engineering • prev @audiogen

latent space
Joined June 2023
Photo by tensor (@tensor_kelechi)Photo by tensor (@tensor_kelechi)Photo by tensor (@tensor_kelechi)Photo by tensor (@tensor_kelechi)Photo by tensor (@tensor_kelechi)Photo by tensor (@tensor_kelechi)Photo by tensor (@tensor_kelechi)Photo by tensor (@tensor_kelechi)Photo by tensor (@tensor_kelechi)Photo by tensor (@tensor_kelechi)
I built tessera, a content-adaptive codec/tokenizer(research prototype) which encodes images with adaptive tiling. it allocates tokens per region based on visual complexity, in variable length sequences. this allows for better efficiency and control (in contrast to mainstream vaes/models which use a fixed sequence and uniform grid size).
4
3
16
736
I plan to improve on the quality/compression and scaling it up; also training small image models to showcase the gains of using tessera and its content adaptive tokens, but I ran out of compute so...I would appreciate some assistance here (cc: @modal @runpod @fal 🙏)
1
53
base idea from @gallabytes 🫡 @elyxlz @SwayStar123 check this out pls
1
1
37
Happy birthday Z-Image, we still talk about you...
1/ 10 We are pleased to introduce Z-Image, an efficient 6-billion-parameter foundation model for image generation. Through systematic optimization, it proves that top-tier performance is achievable without relying on enormous model sizes, delivering strong results in photorealistic generation and bilingual text rendering that are comparable to leading commercial models.
4
171
my fix for the leaking objects (sref adapter weights): there's a few dimensions in the 64-d style code that boost subject/object dominance in the image(up to 11x), so I removed/squashed the top 4. That removes the "ghosts" and object copying :D link: huggingface.co/tensorkelechi…
1
1
4
315
basically used fisher analysis across an embedding space for multiple images/styles, and neon found out the dimensions in the code responsible for this(chose the 4 highest), and then we projected them out, so they don't leak subject info into the style code
1
2
57
here's magpie, 1.3s editing latency(1024px) with Qwen-Image 2.1-turbo on an rtx 5090 gpu, using custom blackwell kernels and nvfp4 layers, with near-zero quality loss :) this also cuts memory usage from over 32gb to ~19gb. It is 2x faster than sglang 22x faster than hf diffusers
1
1
225
I built a custom jax runtime for Flux.2-Klein 4b that cuts text2image generation latency down to 306ms. full writeup: kelechi.cc/articles/flicker
3
4
1
19
932
@RisingSayak please check this out 🫡
8
It is also more cost-effective, with respect to compute pricing and generation time, giving you more generations/images per $
1
25
Two big levers are using a custom flash attention kernel (without the running softmax calculations) and a fused pre-attention qk-prep kernel, plus other fixes in the text encoder pass and Vae decoding.
1
1
82
All development/testing was done on a @GoogleColab v6e-1 chip. Parallel GPU benchmarks were on @modal's rtx pro 6000 (thanks for the free credits😅). feedback/criticism is highly appreciated,
42
officially an unc
20
2
1
70
3,055