Qwen2-VL-2B-Instruct.hef - 1 GB more between versions 5.1.1 and 5.2/5.2/5.4

I’ve noticed that the size and RAM usage of the model have increased by about 1 GB between versions 5.1.1 and 5.2.

From the release notes, I can see the following:

Load time:
9.71 → 7.21 seconds
so about 26% faster. :+1:

TTFT:
0.92 → 1.02 seconds
so about 11% slower. :-1:

Generation:
8.38 → 7.04 tokens/s
That’s about 16% less throughput. :-1:

For example, with 100 generated tokens:

  • old: ~11.9 s
  • new: ~14.2 s

With 200 tokens:

  • old: ~23.9 s
  • new: ~28.4 s

Now the question is: Why were these changes made?

It’s slower now and requires 1 GB more RAM/storage just so it loads a little faster? Constantly loading and unloading it isn’t recommended anyway. So the model should stay in RAM anyway. Those few seconds at the beginning don’t make a difference if the downsides outweigh the benefits.