inside-llm, an MIT-licensed local tool that shows in the browser where two quantizations of a GGUF model split and what each sampler cutsinside-llm, 같은 GGUF 모델의 두 양자화가 어느 토큰에서 갈리는지와 샘플러가 무엇을 걸러 내는지 브라우저로 보여 주는 MIT 라이선스 로컬 도구
inside-llm is an MIT-licensed tool that loads one or two GGUF models with llama.cpp and shows in the browser, while they generate, the probability of each token, the alternatives discarded, what each sampler removes and the token where the two texts split. The v1.0.0 packages for Linux (glibc 2.35 or newer) and Windows need only the GPU driver, but without a dedicated GPU it runs on the CPU, much slower, and both models must share a tokenizer and fit in GPU memory at once. The engine has no authentication and listens only on 127.0.0.1 by default, and gated Hugging Face repositories need HF_TOKEN.inside-llm은 llama.cpp로 GGUF 모델 하나나 둘을 불러, 글을 만드는 동안 토큰마다 확률과 버린 후보, 샘플러가 걸러 낸 것, 두 모델의 글이 갈리는 토큰을 브라우저에 보여 주는 MIT 라이선스 도구입니다. Linux(glibc 2.35 이상)와 Windows용 v1.0.0 패키지는 GPU 드라이버만 있으면 되지만 전용 GPU가 없으면 CPU로 훨씬 느리게 돌고, 두 모델은 토크나이저가 같고 함께 GPU 메모리에 들어가야 합니다. 엔진은 인증이 없어 기본으로 127.0.0.1에서만 열리고, Hugging Face의 제한된 저장소에서 모델을 받을 때는 HF_TOKEN이 필요합니다.
- Checked확인일
inside-llm loads one or two GGUF models with llama.cpp and shows in the browser what a model does while it generates; its code is under the MIT License. Each token comes with its probability, the alternatives discarded and what each sampler removes, and with two models (two quantizations of one model, or a base model and its fine-tune) it marks the divergence at every position and the exact token where the two texts split. It is a single native binary that serves its own web page, and the README says everything runs on the local machine with no accounts, API keys or telemetry, although downloading from gated Hugging Face repositories needs HF_TOKEN set in the engine's environment.inside-llm은 llama.cpp로 GGUF 모델 하나나 둘을 불러, 모델이 글을 만드는 동안 무엇을 하는지 브라우저에 보여 주는 도구이고 코드는 MIT 라이선스입니다. 토큰마다 모델이 준 확률과 버린 후보, 샘플러가 걸러 낸 것이 나오고, 모델을 둘 넣으면(한 모델의 두 양자화, 또는 기본 모델과 그 미세 조정판) 자리마다 두 모델이 얼마나 갈리는지와 두 글이 갈리는 바로 그 토큰을 짚습니다. 프로그램은 자기 웹 페이지를 띄우는 실행 파일 하나이고, README는 모든 것이 이 컴퓨터에서 돌며 계정 · API 키 · 원격 측정이 없다고 적었지만 Hugging Face의 제한된(gated) 저장소에서 모델을 받으려면 엔진 환경에 HF_TOKEN을 넣어야 합니다.
Setup means downloading one of the four v1.0.0 packages from the GitHub repository, unpacking it and starting it; the README says nothing else needs installing besides the GPU driver. The CUDA packages are for NVIDIA GPUs and carry the CUDA runtime and cuBLAS, the Vulkan packages are for any dedicated GPU such as AMD, Intel Arc or NVIDIA, and the Linux packages need glibc 2.35 or newer (Ubuntu 22.04, Debian 12 or later). Integrated GPUs are never used, so without a dedicated GPU it runs on the CPU, much slower, and both models must share a tokenizer and fit in GPU memory at once. The engine has no authentication because it is meant for the user's own machine, and it listens only on 127.0.0.1 unless --host is passed; downloads can be checked against the SHA256SUMS file that comes with the packages, and the README does not say whether the connection between the browser and the engine is encrypted.설치는 GitHub 저장소의 v1.0.0 패키지 넷 가운데 하나를 받아 풀고 실행하는 방식이고, README는 GPU 드라이버 말고는 더 깔 것이 없다고 적었습니다. CUDA 판은 NVIDIA GPU용으로 CUDA 런타임과 cuBLAS를 담았고, Vulkan 판은 AMD · Intel Arc · NVIDIA 같은 전용 GPU용이며, Linux 판은 glibc 2.35 이상(Ubuntu 22.04 · Debian 12 이후)이 필요합니다. 내장 GPU는 쓰지 않아 전용 GPU가 없으면 CPU로 훨씬 느리게 돌고, 두 모델은 토크나이저가 같고 한꺼번에 GPU 메모리에 들어가야 합니다. 엔진은 인증이 없어 자기 컴퓨터에서 쓰도록 만들어졌고 --host를 주지 않으면 127.0.0.1에서만 들으며, 받은 패키지는 함께 올라온 SHA256SUMS 파일로 확인할 수 있습니다. 브라우저와 엔진 사이 연결의 암호화는 README에 나와 있지 않습니다.
Once started, the browser opens by itself on the model picker (otherwise at localhost:8642), where model A and model B can be picked from the models folder, or public GGUF repositories can be searched on Hugging Face and two quantizations downloaded and compared. The picker only offers B models that share A's tokenizer and warns when the pair will not fit in GPU memory. From a terminal, inside-llm -a A.gguf -b B.gguf loads two models at startup.실행하면 브라우저가 저절로 열려 모델 고르기 화면이 나오고(안 열리면 localhost:8642), 모델 폴더에서 A와 B를 고르거나 Hugging Face에서 공개 GGUF 저장소를 찾아 두 양자화를 받아 바로 견줄 수 있습니다. 고르기 화면은 A와 토크나이저가 같은 B만 보여 주고, 둘이 GPU 메모리에 들어가지 않으면 알려 줍니다. 명령줄에서는 inside-llm -a A.gguf -b B.gguf로 두 모델을 처음부터 불러옵니다.
The screen is split into panels such as Stream, Candidates, Gates, Metrics and Timeline. For the chosen token it shows mirrored bars for A and B on each candidate with entropy, Jensen-Shannon divergence and KL in both directions, and Gates lists the sampler chain (penalties, top-k, top-p, min-p, temperature and a GBNF grammar) with how many candidates survive each stage. Clicking a candidate continues generation from there, and every branch stays in the tree, where it can be viewed or resumed.화면은 Stream · Candidates · Gates · Metrics · Timeline 같은 패널로 나뉩니다. 고른 토큰마다 후보별로 A와 B의 막대가 마주 보고, 엔트로피 · Jensen-Shannon 발산 · 양방향 KL이 함께 나오며, Gates는 패널티 · top-k · top-p · min-p · temperature · GBNF 문법으로 이어지는 샘플러 단계마다 남는 후보 수를 보입니다. 후보 하나를 누르면 거기서부터 생성이 이어지고, 갈래는 모두 트리에 남아 다시 보거나 이어 갈 수 있습니다.

Any GGUF of a text-generating model that llama.cpp loads works, at any quantization, as long as it fits in GPU memory; multimodal models show only their text side, and embedding-only models and GGUF files split in several parts are not supported. Among the starter pairs the README lists Qwen3.5-4B at Q2_K (2.2 GB) and Q8_0 (4.6 GB). The --lens option adds a logit lens of what each layer would predict, which by the README's own figures costs about 2 GB of RAM per model and some 30 ms per step. Recorded sessions replay in a static page with no engine, model or GPU, and the repository also builds from source in Docker.쓸 수 있는 모델은 llama.cpp가 불러오는 글 생성 GGUF면 양자화와 상관없이 GPU 메모리에 들어가는 것이고, 다중 모달 모델은 글 쪽만 보이며 임베딩 전용 모델과 여러 조각으로 나뉜 GGUF는 지원하지 않습니다. README가 시작용으로 든 짝에는 Qwen3.5-4B의 Q2_K(2.2 GB)와 Q8_0(4.6 GB)이 있습니다. --lens를 켜면 층마다 무엇을 예측했을지(logit lens)도 보이는데, README가 적은 값으로는 모델마다 램 약 2 GB와 한 단계에 30 ms쯤이 더 듭니다. 녹화한 세션은 엔진 · 모델 · GPU 없이 정적 페이지에서 다시 볼 수 있고, 저장소를 Docker로 지을 수도 있습니다.
The README lists its limits as one GPU at a time, no use of integrated GPUs, and text only. The packages also contain components such as llama.cpp/ggml, Svelte and three.js and, depending on the package, the NVIDIA CUDA runtime and cuBLAS or the Microsoft Visual C++ runtime, whose licenses and notices are in THIRD_PARTY_NOTICES.README가 밝힌 한계는 한 번에 GPU 하나만 쓴다는 것, 내장 GPU는 쓰지 않는다는 것, 글만 보인다는 것입니다. 패키지에는 llama.cpp/ggml · Svelte · three.js 등과 패키지에 따라 NVIDIA CUDA 런타임 · cuBLAS나 Microsoft Visual C++ 런타임이 함께 들어 있고, 그 라이선스는 THIRD_PARTY_NOTICES에 따로 있습니다.
HREN


