Skip to content
View ashvardanian's full-sized avatar
โ˜•
Less Slow
โ˜•
Less Slow

Highlights

  • Pro

Organizations

@unum-cloud @cpp-armenia @osendowment @unum-science @aal-vc

Block or report ashvardanian

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please donโ€™t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this userโ€™s behavior. Learn more about reporting abuse.

Report abuse
ashvardanian/README.md

Hey, I'm Ash โ€” I Love Building Infrastructure

  • Building Unum Cloud since 2015.
  • Computer Science & AI researcher (unpublished, by choice).
  • Twice an Astrophysics dropout, lifelong Bioinformatics fan.
  • Investing in deep-tech, cloud, & semiconductors.
  • Fluent in English, Russian & Armenian.
  • Lived in ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ท๐Ÿ‡บ๐Ÿ‡ฆ๐Ÿ‡ฒ & ๐Ÿ‡ฒ๐Ÿ‡ฝ๐Ÿ‡ต๐Ÿ‡ฆ๐Ÿ‡ฆ๐Ÿ‡ท๐Ÿ‡ฉ๐Ÿ‡ช๐Ÿ‡ฆ๐Ÿ‡ช๐Ÿ‡น๐Ÿ‡ญ๐Ÿ‡ฒ๐Ÿ‡พ๐Ÿ‡ป๐Ÿ‡ณ๐Ÿ‡ฎ๐Ÿ‡ฉ.
  • Frequent host of "Systems" meetups in Armenia, and beyond.

For ~20 years, I've been coding in C++, CUDA, and Python โ€” optimizing Assembly on x86 & ARM. Prefer spaces over tabs, and use east-const and procedural code over OOP or functional abstractions.

Want to chat? I'm @ashvardanian on GitHub, LinkedIn, Twitter, Facebook, and YouTube. For venture, reach me at ash@aal.vc ๐Ÿค—

GitHub User's stars: AshVardanian GitHub Org's stars: Unum-Cloud GitHub Org's stars: Unum-Science HackerNews User Karma
USearch Python installs StringZilla Python installs SimSIMD Python installs NumKong Python installs

Repositories

Four Engines, One C ABI

  • USearch - one proximity graph for vector search, sparse products & attention, across RAM, VRAM & NVMe, over dense vectors, sequences, 3D shapes & geospatial sets. The search engine inside ClickHouse, DuckDB, YugabyteDB, TiDB, ScyllaDB & other databases.
  • UStore - an embedded transactional database for blobs, documents & graphs that commit together with USearch, with kernel-bypass NVMe through io_uring & SPDK and GPU-accelerated compaction.
  • UCall - a low-latency client-server engine built around Noise, io_uring & SIMD, with synchronous handlers and server-side batching, from C and C++ to Python, Rust, Go & Mojo.
  • UForm - distributed training & inference for multimodal perception: one byte-level encoder for text, images, video & audio, trained without a tokenizer, codec or PyTorch.

Four Libraries Beneath Them

  • NumKong - the successor to SimSIMD: mixed-precision math, linear algebra & retrieval kernels from 4-bit integers to 128-bit complex numbers, for x86, Arm, RISC-V, LoongArch, Power & WebAssembly.
  • StringZilla - SIMD, SWAR & GPU kernels for strings: search, hashing, sorting, edit distances, UTF-8 segmentation & ciphers, with a CLI on top.
  • ForkUnion - a NUMA-aware fork-join thread pool with no allocations, syscalls, CAS loops or false sharing on the hot path, for C++, C, Rust, Zig & Mojo.
  • SmashTable - transactions across containers: one update spans several maps, sets & indexes, GPU-capable atomic hash tables included.

They ship inside open-source databases like ClickHouse, DuckDB, YugabyteDB, TiDB, ScyllaDB, MatrixOne, Datalevin, DragonflyDB, Memgraph, Vald, Turso & Chroma, LLM toolchains like LangChain, LlamaIndex, Microsoft Semantic Kernel, Nomic GPT4All & Surf, and many less "open" systems: the backends of major AI labs, government intelligence agencies, hyperscale clouds, Fortune 500 companies, and iOS & Android apps with hundreds of millions of users.

Open Formats & Datasets

  • SafeGraphs - the SafeTensors of graphs: one memory-mappable format to exchange search indexes between CPUs, GPUs & machines
  • USearchMolecules - an open, searchable atlas of small molecules, proteins & antibodies, with fingerprints, sequences & 3D shapes, free on AWS
  • SpaceV - 1 billion vectors from Microsoft SpaceV, extended for usability

Science on GPUs

  • AffineGaps - exact biosequence alignment & folding on GPUs, with traceback
  • SmallField - small-molecule 3D conformers from SMILES, one CUDA warp per molecule
  • ScalingElections - Condorcet voting at GPU speed in CUDA & Mojo
  • ScalingContrasts - NVLink & RDMA primitives for scaled-up contrastive learning

Benchmarks Against the Alternatives

  • RetriEval - vector search engines head to head on billion-scale datasets, from USearch, FAISS & cuVS to Qdrant, Weaviate, LanceDB & Redis
  • CrudEval - create, read, update & delete at hardware speeds, the Rust successor to UCSB & YCSB
  • TablEval - analytics over billions of rows, from DuckDB, DataFusion & Polars to ClickHouse, PostgreSQL & cuDF
  • ServEval - serving at agentic scale: UCall against axum, actix-web, tonic, FastAPI, Ray Serve & gRPC
  • NumWars - NumKong against the best Rust & Python BLAS libraries
  • StringWars - StringZilla against the best Rust & Python string libraries, on CPUs & GPUs
  • HashEvals - avalanche & differential tests for string hash functions
  • ParallelReductionsBenchmark - summing numbers fast in CUDA, OpenCL, Metal, OpenMP, TBB, AVX-512 & Rust

Tutorials & Small Tools

  • less_slow.cpp - a performance-oriented mindset for C++, CUDA, PTX & assembly, also in Rust & Python
  • FatWheels - a starter kit for fat Python wheels: CPU kernels multi-versioned for AVX2, SVE & RVV, plus CUDA & ROCm, from one source
  • FasterFASTA - a CLI to parse, sort, deduplicate & transliterate FASTA & FASTQ files
  • StringTape - Arrow-compatible tapes for space-efficient string arrays in Rust
  • JsonTape - an allocator-aware JSON & JSON5 parser in Rust
  • LibSee - profiling LibC calls with LD_PRELOAD tricks
  • JaccardIndex - bit-level Jaccard & population counts with Harley-Seal adders & lookups
  • SwiftSemanticSearch - on-device text-to-image search with USearch & UForm on iOS
  • NetworkXternal - NetworkX-like Python over Postgres, SQLite, MongoDB & Neo4J

Materials

Cherry picks:

Pinned Loading

  1. unum-cloud/USearch unum-cloud/USearch Public

    One proximity graph for vector search, sparse products & attention across RAM, VRAM & NVMe, over dense vectors, sequences, shapes & geospatial sets in 14 languages ๐Ÿ”

    C++ 4.4k 385

  2. StringZilla StringZilla Public

    SIMD, SWAR & GPU kernels for strings: search, hashing, sorting, edit distances, UTF-8 segmentation & ciphers for C, C++, CUDA, Python, Rust, Go, Swift, JS, C# & Java ๐Ÿฆ–

    C 3.6k 149

  3. unum-cloud/UCall unum-cloud/UCall Public

    Low-latency client-server engine built around Noise, io_uring & SIMD, with synchronous handlers, server-side batching, and C, C++, Python & Rust bindings โ˜Ž๏ธ

    C++ 1.3k 55

  4. NumKong NumKong Public

    Mixed-precision math, linear-algebra & retrieval kernels, 4000+ symbols from 4-bit numbers to 128-bit complex, for x86, Arm, RISC-V, LoongArch, Power & WASM, AMX & SME included ๐Ÿ“

    C 1.9k 142

  5. ForkUnion ForkUnion Public

    Low-latency NUMA-aware fork-join thread-pool with zero allocations, syscalls, CAS, or false-sharing on the hot path for C++, C, Rust, Zig & Mojo ๐Ÿด

    C++ 388 28

  6. unum-cloud/UStore unum-cloud/UStore Public

    Embedded transactional database for blobs, documents & graphs, with kernel-bypass NVMe through io_uring & SPDK, GPU compaction, and one C ABI over its own, RocksDB & LevelDB engines ๐Ÿ—„๏ธ

    C++ 655 37