#Vectorization

N-gated Hacker Newsngate
2025-07-07

Ah, the of vector functions! 🤯 Who knew optimizing could be so messy, like trying to untangle your headphones while wrestling a grizzly bear 🐻. But fear not, a in Aurora promises to save the day, because nothing says "fun weekend" like with strangers! 🎉
johnnysswlab.com/the-messy-rea

Harald KlinkeHxxxKxxx@det.social
2025-06-03

I thoroughly enjoyed Antonio Somaini’s lecture tonight on the Politics of Latent Spaces at the conference Art in the Age of Average. The new AI-thoritarians.

His reflections on compression as a cultural and epistemic process were truly inspiring — and the sources cited were excellent, too ;)

#AI #LatentSpaces #DigitalCulture #Compression #Vectorization #NeuralNetworks #ArtAndAI #MachineVision #epistemiccompression #AIAesthetics @databasecultures

An individual speaks at a presentation, with a large screen behind displaying text about "latent spaces" and "epistemic compression." The setting features decorative walls and an audience in the foreground.
2025-05-23

Sometimes I wish the c++ compilers were clearer about what they do, because when I mix SIMD with expression templates and it gets as optimized as the best for loop I could write, it doesn't feel like I'm doing code anymore, but dark magic

2025-04-21

RISC-V: векторное расширение и алгоритм Витерби

Недавняя публикация о векторном расширении RISC-V архитектуры, подтолкнула меня к мысли написать небольшую заметку об использовании данного расширения в задаче, имеющей практическое применение. После появления векторного расширения, в сети начали публиковаться статьи о применении RISC-V ядер с данным расширением в задачах, ранее в которых безальтернативно использовались только процессоры ЦОС. В данной статье рассматривается тест, в котором используется алгоритм декодирования Витерби - задача, требующая значительных вычислительных ресурсов.

habr.com/ru/articles/902744/

#riscv #vectorization

LinoTadroslinotadros
2025-03-21

Discussion between friends on the importance of well designed infrastructure for Generative AI Solutions. Matt Alan Gray and Reid Patrick join me in discussing this important subject youtu.be/4PiXCM9wLPA

arya dradjicabal4e@tech.lgbt
2025-03-17

Why in the world does VADDPD (floating-point addition) have a worse throughput than VFMADD132PD (floating-point multiplication and addition) on 2014 Intel Haswell chips
I might genuinely start performing a fused multiply by 1.0 in order to speed my code up

#simd #vectorization

Pierre Huyghebaertcrickxson@post.lurk.org
2025-03-07

@dmian @papernoise Cool to see that comparison, and details. You can even try by pushing the "smooth corners" to 1.34, it will produce curves without any kinks or cusps. See that very old article drawingcurved.osp.kitchen/Potr - As far as I know, the #vectorization in #inkscape is using #potrace, probably the last version 1.16 so it has not change for years.

LinoTadroslinotadros
2024-12-02

Coaching 2 workshops this week on AI Design Wins using for and of content in text and audio format. Lots of fun and will record videos to publish for all on YouTube soon. @soliancenet @thetrainingboss

2024-11-05

Что ищет он в краю далёком? Как найти смысл жизни с PostgreSQL

Эта статья родилась из пары лекций, которые я прочитал студентам в рамках курса, посвященного вопросам машинного обучения. Почему именно PostgreSQL? Почему векторы? За последние два года тема языковых моделей стала невероятно популярной, и вместе с этим появилось множество инструментов, доступных даже начинающему инженеру, стремящемуся познакомиться с миром текстового анализа. Доступность этих технологий открывает безграничные возможности для их применения в самых разных областях: от систем управления знаниями до «копилотов», помогающих более тщательно анализировать анамнез пациентов, или информационных киосков, позволяющих собрать идеальную корзину товаров для пикника. Вряд ли данная работа может похвастаться полнотой или глубиной, однако, я надеюсь, что она предоставит те самые “хорошие” точки входа, которые позволят, погружаясь в детали, открыть для себя множество новых интересных и полезных тем для исследований и инженерных проектов. Откроем скрытые смыслы

habr.com/ru/articles/855712/

#postgresql #postgres #pgvector #vectorization #fulltextsearch #fulltext_search #hnsw #python #java #Knowledge_Management_Systems

2024-08-10

vectorized prefix ~sum~ function composition
send help

#vectorization #simd

2024-08-05

AVX2 tip! `PANDN(x, PCMPEQB(y, 0))` where the MSB of `y` is always unset can be transformed into `PSIGN(y, x)`. If you want to mask some elements `x` based on whether an input `y` is non-zero, and the MSB of `y` is always unset, you can multiply `x` by the sign of `y` (which will be 0 or 1) in 1 cycle using `PSIGN`. I think this is actually a pretty common pattern, but compilers can't really see it because of the MSB check.

#vectorization #simd #intel #avx2

2024-07-17

Version 0.2.0 of `npsimd` is now published, with a new low-level API that supports runtime feature detection (currently only SSE2 is implemented). I'm going to slowly migrate all the existing functionality over to it, and then work on a better higher-level API. See <docs.rs/npsimd>!

#rust #vectorization #npsimd

2024-07-17

I'm working on a Rust library for explicitly *non-portable* SIMD intrinsics, called `npsimd` <docs.rs/npsimd>. The idea is that high-performance vectorized code needs to take advantage of platform-specific functionality, and we need a good way to write such code in Rust. I hope this library can provide an API to do that.

#rust #vectorization

2024-07-07

Given a bit-mask with consecutive sequences of set elements, if you want to unset an entire sequence based on the first (least-significant) element, calculate a 1 for every first element to be masked out, add it to the original bit-mask, then AND it with the original bit-mask. This is very helpful for vectorized lexing!

#vectorization

Michelle Waveform, PhDmich_waveform
2024-06-07

I learned about broadcasting today and it turned a >20 minute mess of loops into something that can now run in less than a minute. Also it’s surprisingly intuitive and I will definitely use it whenever I can from now on! numpy.org/doc/stable/user/basi

2024-06-06

C++OnSea 2024 SESSION ANNOUNCEMENT: Being Friendly to Your Hardware by Ignas Bagdonas

cpponsea.uk/2024/sessions/bein

Register now at cpponsea.uk/tickets/

#vectorization #cpp #cplusplus #coding

2024-05-28

AVX-512's VPCOMPRESS instruction is so damn cool. For a simple array filtering problem (retain in-place only even 32-bit numbers out of a 256MiB array), it'll out-perform native C code by a factor of 10x. The C code executes at about 800MHz, while the AVX512 code executes at about 90MHz - it's just 100 times more productive with the cycles it executes.

#avx512 #vectorization

Inkscape has an impressive feature that allows users to convert images to SVG objects. This process is called "tracing" or "vectorization." But if you expect a 100% faithful representation of your picture, you will be disappointed.

inkscape-manuals.readthedocs.i

#inkscape #rastor #vector #svg #trace #tracing #vectorization

2024-05-16

C++OnSea 2024 SESSION ANNOUNCEMENT: Being Friendly to Your Hardware by Ignas Bagdonas

cpponsea.uk/2024/sessions/bein

Register now at cpponsea.uk/tickets/

#vectorization #cpp #cplusplus #coding

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst