TGViewer
Derp Learning Derp Learning @derplearning · 13.9K subscribers
Post #4817 3.94K
Segment anything ... Fast

GPU-poor актуалочка

Взяли segment-anything, навалили всего, до чего дотянулись git clone руки:

- bfloat16
- torch.compile with max-autotune
- torch.scaled_dot_product_attention
- A custom Triton kernel that implements SDPA for relative positional encodings for long sequence lengths
- NestedTensors
- Dynamic int8 symmetric quantization
- 2:4 sparse format

Ускорили х2.5 по сравнению с BF16,
точность падает только на sparse, 0.53 -> 0.48

С fp32 сравнивать не буду, они б еще fp64 за бейзлайн взяли

git
blog
  • 👍 11
  • 🤣 2
More from @derplearning
  1. Oct 4, 2026photo post
  2. Oct 3, 2026Реклама WinRAR, которая ни на что не намекает r/#aivideo
  3. Oct 1, 2026Хорошая, дорогая рекламная компания от робототехнической компании Figure. Нужно было краси…
  4. Sep 29, 2026Это вам за то что не молитесь Надо было еще на ГПТ ГПТ заменить, эх.
  5. Sep 27, 2026Ии начинает маскироваться под людей! Сегодня ставишь ты em dash, а завтра Дарио продашь!
  6. Sep 27, 2026photo post
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →