Keming Yangcodec.hashnode.dev·Dec 4, 2024Things learned from improving a Rust programRecently, I've been working on a new approximate nearest neighbor search algorithm called RaBitQ. The author has already provided a C++ implementation that runs quite fast. I tried to rewrite it in Rust (yet another RiiR). However, I found that my im...rabitq
Rafal Jackiewiczjackiewicz.hashnode.dev·Oct 7, 2024Building Large Language Models (LLMs) from Scratch: The Role of CUDA and AVXLarge Language Models (LLMs) like GPT, BERT, and their derivatives have gained significant traction in the field of natural language processing. Behind the scenes, these models rely on complex mathematical operations to process data and generate resp...36 readsAVX-512
Niclas Blomberglambda-snail.hashnode.dev·Jul 14, 2024Learning SIMD in C++Introduction Lately I've been experimenting with creating my own UUID/GUIDs in C++, mostly for my own learning, and it turned out to be a really good source for learning new things! The UUIDs are based on RFC 9562 and the library includes functions t...My C++ Learning JourneyC++
kaushik choudhurykillerthief.hashnode.dev·Jul 15, 2023Streamlining Cluster Restarts: Automating Consensus and Ensuring Data IntegrityIntroduction Imagine a group of computer programs called validators that work together in a cluster. Sometimes, the entire cluster may stop working due to technical issues, and we need to restart it to get it running again. This process is called a "...Solana
Retrieverretriever.hashnode.dev·Jul 5, 2023Under translator under C2Rust Transpile (main_function.rs + sims.rs)! This module provides translation for SIMD operations and expressions. simd.rs pub fn convert_shuffle_vector: 此公共函数的目标是将 shuffle 操作转换为相应的 Rust SIMD 库调用。该函数首先检查输入参数的个数是否符合预期。如果不符合预期,函数将返回错误。接着,它对两个输入向量进行处理,如果这两个向量的类型或长度不同,同样会返回错误。最后,根据各种条件选择合适的 shuf...simd
Shivam Sonishivamspirit.hashnode.dev·Jun 7, 2023The All-New Stake Account Version - Unlocking Enhanced Features on SolanaIntroduction In this article, you will gain an understanding of the new stake account version through the Solana improvement document(SIMD) for multi-stake accounts. Who this article is for This walkthrough assumes that you are aware of the Solana bl...89 readsSolana