速報 20:05
GPUなしの8コア・8GBのパソコンで、27BのLLMが毎秒17〜20トークンで動くようになりました。
CPUだけで推論する openset-llm が公開され、動かすモデルの実体は5.95GBの1ファイルです。
APIはOpenAI互換なので、いま使っているクライアントのつなぎ先を差し替えるだけで動きます。
条件はLinuxかWSL2と、AVX-512に対応したCPUです。
手元のCPUがその条件を満たすなら、WSL2のメモリ割り当てを8GB以上に上げてから入れてください。
出典の原文(引用)
"First model: a 27B LLM at 17–20 tokens per second on a CPU-only machine with 8 cores and 8 GB of RAM" / "the file this engine runs is 5.95 GB" / "Linux (or WSL2), a CPU with AVX-512, 8 GB of RAM. The first run builds the engine and downloads the model (~7.3 GB)" / "install.sh refuses to run below 8 GB of RAM (or a container memory limit below that)" / "WSL2 gets half of your RAM by default, so on a 16 GB PC raise it first." / "it serves an OpenAI-compatible API, so the clients and agents you already use work unchanged" / Codex docs: "User-level configuration lives in `~/.codex/config.toml`." / "A model provider defines how Codex connects to a model (base URL, wire API, authentication, and optional HTTP headers)." / "base_url = \"http://localhost:11434/v1\""— github.com
