Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

The code of GSPN #CVPR2025 is released! We proposed a new sqrt(N) complexity attention mechanism, which enables efficient high resolution image generation. We can generate 8k images with 42x speed up compared to self-attention in StableDiffusionXL! Code: Paper:

354,887 Aufrufe • vor 1 Jahr •via X (Twitter)

10 Kommentare

Profilbild von Rawlala
Rawlalavor 1 Jahr

Can we see the images 😁

Profilbild von Qodo
Qodovor 1 Jahr

Pro tip: turn review feedback into ready-to-commit code changes instantly with Qodo Merge's /implement command.

Profilbild von Worldrover
Worldrovervor 1 Jahr

Who did you steal it from?

Profilbild von Greg Huntoon
Greg Huntoonvor 1 Jahr

Me trying to follow along

Profilbild von TheNan
TheNanvor 1 Jahr

Why didn’t I think of that?🧐😁

Profilbild von WDWDVC🌴
WDWDVC🌴vor 1 Jahr

But they aren't Mickey shaped

Profilbild von Harold
Haroldvor 1 Jahr

Yes

Profilbild von Zin 🧀💊
Zin 🧀💊vor 1 Jahr

nice work

Profilbild von boisselle
boissellevor 1 Jahr

Interesting work. The CUDA algorithms are especially cool!

Profilbild von Ann Lewis
Ann Lewisvor 1 Jahr

His advice is very good. @GraysonQuant

Ähnliche Videos

New short course: Attention in Transformers: Concepts and Code in PyTorch. Last week we released a course on how LLM transformers work. This week, go deeper and learn about the technical ideas behind the attention mechanism, and see how to code it in PyTorch. This course is built with Joshua Starmer, Founder and CEO of StatQuest. The attention mechanism was a breakthrough that led to transformers, the architecture powering large language models like ChatGPT. Transformers, introduced in the 2017 paper: "Attention is All You Need" by Viswani and others, took off because of its highly scalable design. In this course, you’ll learn how the attention mechanism, a key element of transformer-based LLMs, works and implement it in PyTorch. You'll develop deep intuition about building reliable, functional, and scalable AI applications. What you will do: - Understand the evolution of the attention mechanism, a key breakthrough that led to transformers. - Learn the relationships between word embeddings, positional embeddings, and attention. - Learn about the Query, Key, and Value matrices, and how to produce and use them in attention. - Walk through the math required to calculate self-attention and masked self-attention to learn why and how they work. - Understand the difference between self-attention and masked self-attention and how one is used in the encoder to build context-aware embeddings and the other is used in the decoder for generative outputs. - Learn the details of the encoder-decoder architecture, cross-attention, and multi-head attention and how they are all incorporated into a transformer. - Use PyTorch to code a class that implements self-attention, masked self-attention, and multi-head attention. There're lots of exciting technical details in this course. Please sign up here:

Andrew Ng

132,285 Aufrufe • vor 1 Jahr