Llama2.rs: One-file Rust implementation of Llama2

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • llama2.rs

    A fast llama2 decoder in pure Rust.

  • tch-rs

    Rust bindings for the C++ api of PyTorch.

  • I wanted to do something like this but then I would miss on proper CUDA acceleration and lose performance compared to using torchlib.

    I wrote a forgettable llama implementation for https://github.com/LaurentMazare/tch-rs (pytorch's torchlib rust binding).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • candle

    Minimalist ML framework for Rust

  • Still not ideal but at least you get the same GPU performance you would get on pytorch.

    ...And then I spotted Candle, a new ML framework by the same author: https://github.com/huggingface/candle

    It's all in Rust, self contained, a huge undertaking, but it looks very promising.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts