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

airllm

airllm est un projet de LLM locaux open source, créé par lyogavin (lyogavin/airllm sur GitHub). Il compte 35 511 étoiles sur GitHub et 3 753 forks, il est publié sous la licence Apache-2.0 et a été mis à jour pour la dernière fois sur GitHub le 8 octobre 2026.

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

★ 35,5 k étoiles⑂ 3,8 k forksApache-2.0mis à jour oct. 2026
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
35 511
Forks
3 753
Licence
Apache-2.0
Dernière mise à jour sur GitHub
8 octobre 2026
Catégorie
LLM locaux
Type de fiche
Guide d'installation complet
// fonctionnement

Comment ça marche

  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.

// fonctionnalités

Pourquoi on l'adore

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
// lancez-le

Lancez-le vous-même

  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
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

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.

// continuez l'exploration

Outils similaires

LLM locaux

can-i-finetune-this

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

★ 792 étoilesMIT
Voir le guide →
LLM locaux

ChatGLM2-6B

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

★ 15,5 k étoilesApache-2.0
Voir le guide →
LLM locaux

shimmy

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

★ 5,9 k étoilesApache-2.0
Voir le guide →
LLM locaux

llamafile

Distribute and run LLMs with a single file.

★ 26,2 k étoilesUnknown
Voir le guide →
LLM locaux

mlc-llm

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

★ 23,2 k étoilesApache-2.0
Voir le guide →
LLM locaux

lemonade

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

★ 5,8 k étoilesApache-2.0
Voir le guide →
// alternatives

Alternatives en LLM locaux

Les autres projets de la catégorie LLM locaux avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si airllm ne vous convient pas.

// plus en local-llm

Plus en LLM locaux

Projets de la catégorie LLM locaux proches dans le catalogue, les plus proches en étoiles de airllm — continuez à explorer de part et d'autre.

Obtenir airllm

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.