Latest / AI & agents

lit-llama

github.com · Open source · Quiet

Apache 2.0 Python implementation of the LLaMA language model

Visit github.com ↗Share

Stars
6.1k
Forks
515
Open issues
100
Last commit
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

lit-llama is a Python implementation of the LLaMA language model, based on nanoGPT and released under the Apache 2.0 license. It supports flash attention, int8 and GPTQ 4-bit quantization, LoRA and adapter fine-tuning, and pre-training. It suits researchers and developers who want LLaMA code without GPL restrictions.

Repository description on GitHub: “Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Adapter fine-tuning, pre-training. Apache 2.0-licensed.”

What it does

  • Apache 2.0 Python implementation of LLaMA
  • Supports flash attention, int8 and GPTQ 4-bit quantization
  • LoRA and adapter fine-tuning plus pre-training

Good for

  • Run LLaMA code in Python without GPL restrictions
  • Fine-tune a LLaMA model with LoRA or adapters
  • Quantize a LLaMA model to int8 or GPTQ 4-bit

Suits: Researchers who want LLaMA code without GPL restrictions.

Worth knowing: Not actively maintained; the LitGPT project is named as its successor

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw lit-llama on , when osurits posted it to Show HN. GitHub listed no published releases for Lightning-AI/lit-llama when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 158 points, 52 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 158 points, 52 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: Lightning-AI/lit-llama
  2. Found: osurits posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was lit-llama released?
No dated release record is available. Kip found it on Show HN on 28 Mar 2023.
Is lit-llama open source?
Its source is public on GitHub at Lightning-AI/lit-llama under the Apache-2.0 licence.
What does lit-llama run on?
Library.
Is lit-llama free?
It is open source, so the code is free to read and run; check the licence for terms.
Is lit-llama still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryLightning-AI/lit-llama
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-35344787. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.