Lightning-AI / Lightning-AI/litgpt

Support downloading and using quantized weights (GGUF)

Open
#1,616 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
13.7k
Forks
1.5k
Avg merge
15h 37m
Merged PRs (30d)
1

Description

Some models have the gguf weights on the hub: https://huggingface.co/QuantFactory/Meta-Llama-3-8B-GGUF/tree/main

We would need to find and map those to the respective models one by one I think.

Maybe via an `--from_quantized` flag for `litgpt download`.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the `litgpt download` command and trace how model names and weights are resolved. Clarify the proposed `--from_quantized` behavior and the model-by-model mapping needed for GGUF weights; done means supported quantized models can be identified, downloaded, and used through the documented flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface, python
Domain
cli, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.