Skip to content

lithiumfleet/gemma.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gemma.rs

Intro

This project aimming to run gemma using rust, which can provide high performance to infer.

I apologize for the suboptimal performance of this code. It doesn't fully leverage Rust's capabilities. If you're looking for a more efficient implementation of Gemme2 that runs well on a computer, please visit lmrs. This code is well structured and is primarily intended as a reference and learning tool for the Rust equivalent of gemma_pytorch now.

Reference

  • Reference implement

pytorch implementation

lmrs

chat tempelate

chat tempelate in cpp

TODO

  • tokenizer
  • model

About

Inference Gemma2-2b-it using rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published