LibreAI / LLM local / airllm
// local-llm · lyogavin/airllm

airllm

airllm é um projeto de LLM local de código aberto de lyogavin (lyogavin/airllm no GitHub). Tem 35.511 estrelas no GitHub e 3.753 forks, é publicado sob a licença Apache-2.0 e foi atualizado pela última vez no GitHub em 8 de outubro de 2026.

Run a 70B LLM on a single 4GB GPU — layer-by-layer inference with almost no memory tricks skipped

★ 35,5 mil estrelas⑂ 3,8 mil forksApache-2.0atualizado out 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Repositório
lyogavin/airllm
Estrelas no GitHub
35.511
Forks
3.753
Licença
Apache-2.0
Última atualização no GitHub
8 de outubro de 2026
Categoria
LLM local
Tipo de ficha
Guia de instalação completo
// como funciona

Como funciona

  1. Clarify your goal

    Decide what you want to achieve with airllm and check the README on GitHub for requirements before installing.

  2. Get the code

    Clone the repository from GitHub (or take the packaged install route in step 3 if the README offers one).

  3. Install and configure

    Follow the project's documented install commands — the Run section below lists the exact ones — and add any required API keys or models.

  4. Run your first task

    Work through the README's quickstart example end to end, then adapt it to your own project or data.

// recursos

Por que as pessoas gostam tanto

70B on 4GB VRAM

Layer-by-layer loading lets models far larger than your VRAM still run, trading speed for reach.

One-line model loading

Pass a Hugging Face repo id (or a local path) and AirLLM handles the rest — the quickstart is a few lines of Python.

Optional compression

Model compression via bitsandbytes can speed inference up to 3x, per the README.

Broad model support

Works with popular open model families listed in the README, including Llama and other Hugging Face models.

Training support

Includes a training path with dataset preparation and a Python API, not just inference.

macOS support

Documents running on Apple hardware as well as CUDA GPUs.

Advertisement
// execute você mesmo

Execute você mesmo

  1. Clone the repository

    Get the AirLLM source, examples and notebooks.

    git clone https://github.com/lyogavin/airllm.git
    cd airllm
  2. Install the package

    Install AirLLM (and bitsandbytes if you want compression) from PyPI.

    pip install airllm
    pip install -U bitsandbytes
  3. Run a first model

    Load a Hugging Face model id through AirLLM's Python API as shown in the README quickstart.

    # from airllm import AutoModel
    # model = AutoModel.from_pretrained('meta-llama/Llama-2-70b-hf')  # see README quickstart
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

Who maintains airllm?

airllm is maintained by the lyogavin organization/account on GitHub, together with open-source contributors, in the public repository lyogavin/airllm.

Is airllm free to use?

Yes — the code is open source under the Apache-2.0 license. You can use, modify and redistribute it under that license's terms.

Does airllm need a paid API key?

No API key and no paid service — models download from Hugging Face (some are gated and need a free Hugging Face account/token and license acceptance).

How does airllm compare to llama.cpp / Ollama?

Those quantize models to fit memory and are much faster; AirLLM instead runs full-precision huge models layer-by-layer — slower, but it can run models that would not fit even quantized.

How do I get started with airllm?

Clone the repository from GitHub, follow the install commands in the Run section (taken from the project's README), and complete the documented quickstart example before adapting it to your own use case.

// continue explorando

Ferramentas semelhantes

LLM local

can-i-finetune-this

Check if your GPU can fine-tune an LLM — memory estimates and LoRA recipes.

★ 792 estrelasMIT
Ver o guia →
LLM local

ChatGLM2-6B

Open bilingual (Chinese-English) 6B chat LLM with 32K-context variant and low-memory INT4 inference.

★ 15,5 mil estrelasApache-2.0
Ver o guia →
LLM local

shimmy

⚡ Pure-Rust WebGPU inference engine — OpenAI-API compatible, GGUF native, runs on any GPU. No Python. No llama.cpp. Single binary.

★ 5,9 mil estrelasApache-2.0
Ver o guia →
LLM local

llamafile

Distribute and run LLMs with a single file.

★ 26,2 mil estrelasUnknown
Ver o guia →
LLM local

mlc-llm

Compile and run LLMs anywhere - phones, laptops, browsers and GPUs - with one engine

★ 23,2 mil estrelasApache-2.0
Ver o guia →
LLM local

lemonade

Discover and run local AI apps, serving optimized LLMs from your own GPU and NPU.

★ 5,8 mil estrelasApache-2.0
Ver o guia →
// alternativas

Alternativas em LLM local

Os outros projetos de LLM local com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se airllm não for o ideal para você.

// mais em local-llm

Mais em LLM local

Projetos de LLM local próximos no catálogo, os mais próximos em estrelas de airllm: continue explorando dos dois lados dele.

Baixe o airllm

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.