News for hackers. Stuff that matters.
Re:Gemini 2.5 by andai on Tuesday March 25, 2025 @01:38PM (#43473869)
How does Gemini have such a big context window?

I thought memory requirement grows exponentially with context size?

Re:Gemini 2.5 by semiinfinitely on Tuesday March 25, 2025 @04:11PM (#43475388)
TPUs have a network topology better suited for long context than gpus: https://jax-ml.github.io/scaling-book/tpus/#tpu-networking

> This nearest-neighbor connectivity is a key difference between TPUs and GPUs. GPUs connect up to 256 H100s in an all-to-all configuration (called a node), rather than using local connections. On the one hand, that means GPUs can send arbitrary data within a node in a single low-latency hop. On the other hand, TPUs are dramatically cheaper and simpler to wire together, and can scale to much larger topologies because the number of links per device is constant.

Re:Gemini 2.5 by throitallaway on Tuesday March 25, 2025 @02:37PM (#43474386)
Funnyish story: the other night I asked my Pixel 9 to generate an image via Gemini, then I asked it to make a change. It didn't consider the previous context, so I asked it "Are you capable of keeping context?" No matter how clearly I enunciated "context", it always interpreted what I was saying as "contacts." After the 4th try, I said "context, spelled "c-o-n-t-e-x-t" and it replied with "Ah, you meant context! Yes..."

This stuff has a long way to go.

Re:Gemini 2.5 by Workaccount2 on Tuesday March 25, 2025 @03:10PM (#43474690)
I think google is digging a hole for themselves by making their lightweight models be the most used model. Regardless of what their heavy weight models can do, people will naturally associate them with their search model or assistant model.
Re:Gemini 2.5 by Andrex on Tuesday March 25, 2025 @10:10PM (#43478139)
That might be considered fine if Google's larger goal is to make money from enterprises/Workspace integration, using consumer launches as splashy PR.

This way they get two rounds of headlines. "Gemini 2.5 released" and later on "Gemini 2.5 coming to all Google accounts."

Re:Gemini 2.5 by seunosewa on Wednesday March 26, 2025 @07:38AM (#43481087)
Their willingness to integrate depends on their perception of the model quality.
Re:Gemini 2.5 by dcchambers on Tuesday March 25, 2025 @03:00PM (#43474605)
I was using the conversational feature of Gemini on my phone the other night and was trying to get it to read a blog post to me. The AI proceeded to tell me (out loud, via voice mode/speech synthesis) that it was a text based model and couldn't read text out loud.

For as amazing as these things are, AGI they are not.

Re:Gemini 2.5 by vanviegen on Tuesday March 25, 2025 @05:07PM (#43475984)
In its defense: it probably is just a text model that hasn't been told that its output is being read to the user.
Re:Gemini 2.5 by andai on Tuesday March 25, 2025 @02:48PM (#43474501)
I noticed Gemini Flash 2.0 making a lot of phonetic typos like that, yeah. Like instead of Basal Ganglia it said Basil Ganglia.

I've also had it switch languages in the middle of output... like one word in the middle of a sentence was randomly output in some strange hieroglyphs, but when I translated them, it was the right word and the sentence made sense.

Re:Gemini 2.5 by mmoskal on Tuesday March 25, 2025 @01:48PM (#43473975)
Memory grows linearly, compute grows quadratically (but with small constant - until ~100k the inference will be still dominated by non-quadratic factors).
Re:Gemini 2.5 by xiphias2 on Tuesday March 25, 2025 @02:11PM (#43474160)
Also reusing key/values for different queries can compress the KV cache, it can be an 1000x or 10000x improvement in bandwidth if the model is trained for it.
Re:Gemini 2.5 by mmoskal on Tuesday March 25, 2025 @05:37PM (#43476279)
Just to clarify: simple prefix KV cache doesn't require any special model training. It does require the inference framework to support it, but most do by now.

You can see dramatic improvements in latency and throughput if there is a large shared prefix of the queries.

Re:Gemini 2.5 by ototot on Tuesday March 25, 2025 @01:51PM (#43473999)
The Gemini 1.5 tech report do reference some papers about supporting large context window.
Re:Gemini 2.5 by swyx on Tuesday March 25, 2025 @06:46PM (#43476867)