// local-llm · lyogavin/airllm

airllm

airllmは、lyogavinが公開しているオープンソースのローカルLLMプロジェクトです(GitHub: lyogavin/airllm)。GitHubスターは35,511、フォークは3,753で、Apache-2.0ライセンスの下で公開されています。GitHubでの最終更新は2026年10月8日です。

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

★ 35.5k スター⑂ 3.8k フォークApache-2.0更新 2026年10月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

リポジトリ
lyogavin/airllm
GitHubスター
35,511
フォーク
3,753
ライセンス
Apache-2.0
GitHubでの最終更新
2026年10月8日
カテゴリ
ローカルLLM
掲載タイプ
完全なインストールガイド
// 仕組み

仕組み

  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.

// 機能

選ばれる理由

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
// 自分で実行

自分で実行してみる

  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
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

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.

// さらに探索

似ているツール

ローカルLLM

can-i-finetune-this

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

★ 792 スターMIT
ガイドを見る →
ローカルLLM

ChatGLM2-6B

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

★ 15.5k スターApache-2.0
ガイドを見る →
ローカルLLM

shimmy

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

★ 5.9k スターApache-2.0
ガイドを見る →
ローカルLLM

llamafile

Distribute and run LLMs with a single file.

★ 26.2k スターUnknown
ガイドを見る →
ローカルLLM

mlc-llm

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

★ 23.2k スターApache-2.0
ガイドを見る →
ローカルLLM

lemonade

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

★ 5.8k スターApache-2.0
ガイドを見る →
// 代替候補

代替候補: ローカルLLM

LibreAIカタログに掲載されたローカルLLMプロジェクトの中で最もスターの多いもの — airllmが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る local-llm

さらに見る: ローカルLLM

カタログの中でairllmとスター数が近いローカルLLMプロジェクト — 前後の棚もそのまま見て回れます。

airllmを入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。