← All projects
Project record2 mentions
Originally shared on Hacker News

DSC

DSC is a tensor library written from scratch for playing with large language models. It includes a from-scratch CUDA implementation of flash attention that achieves good performance.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. DSC

    DSC is a tensor library written from scratch for playing with large language models. It includes a from-scratch CUDA implementation of flash attention that achieves good performance.

    Posted by @nirw4nna · Original source ↗

    Source text · @nirw4nna · · Source ↗

    I'm currently chipping away at DSC, a tensor library I wrote from scratch to play with large language models. Last week I re-wrote flash attention from scratch in CUDA and was able to get good perf.
  2. DSC

    A tensor library written from scratch in C++ with a PyTorch-like API that runs on both CPU and GPU (AMD and NVIDIA) and is capable of running LLMs like Qwen. A native profiler to trace CPU and GPU kernels is being implemented, with the goal of being competitive with PyTorch eager.

    Posted by @nirw4nna · Original source ↗

    Source text · @nirw4nna · · Source ↗

    I'm currently working on DSC, a tensor library I wrote from scratch in C++ with a PyTorch-like API.