π¦ llama.bend - Run Llama Models Easily on Windows
A friendly, ready-to-run application for SmolLM2 language models on your own computer.
Free to download. No account needed.
π Getting Started
llama.bend is a desktop application that runs a family of small, capable language models on your own Windows PC. It supports three model sizes: SmolLM2 135M, SmolLM2 360M, and SmolLM2 1.7B. You do not need to know how to program, and you do not need to install any developer tools. The application is packaged so that a normal computer user can download it, open it, and start using it within minutes.
What makes llama.bend different from other ways of running language models is accuracy. Every word the application produces matches exactly what you would get if you ran the same model in PyTorch, the standard framework used by professional researchers. The results are identical token for token, so you are not getting an approximation or a cut-down version. You are getting the real thing.
The models themselves are small enough to run comfortably on an ordinary laptop. The 135M model starts almost instantly and is ideal for quick tests. The 360M model offers a good balance. The 1.7B model produces the most detailed output of the three and works well on machines with 8 GB of RAM or more.
π₯ Download and Install
All official versions of llama.bend are published on the project's release page. Visit this link to download the application.
When the page opens, you will see the most recent release listed at the top. Locate the file published there for Windows and save it to a folder you can easily find, such as your Downloads folder. The download is a single package, so there is nothing else to fetch separately.
Once the download has finished, open the folder where you saved the file and double-click it to start. Windows may show a blue security message the first time you open a downloaded program. This is a normal precaution that appears for files that did not come from the Microsoft Store. Choose the option that allows you to continue, and the application will open.
There is no lengthy setup wizard to work through and no additional software to install afterwards. The application keeps its settings and its downloaded model files in a single folder on your computer, which makes it easy to remove later if you ever need to free up space.
β¨ Key Features
- Three model sizes in one application. SmolLM2 135M, 360M, and 1.7B are included and can be selected from a simple menu, so you can move between a fast small model and a more detailed larger one without installing anything extra.
- Token-for-token accuracy. Output is verified against PyTorch, meaning the text you see is identical to the reference implementation, word for word and token for token.
- Shapes checked in the types. The model dimensions are encoded in Bend 2's type system, so mistakes in the model structure are caught before the program runs. For you, this means fewer crashes and more dependable results.
- No environment setup. There is no Python to install, no package manager, and no configuration files to edit. The application is self-contained.
- Works offline. After your first run, the models are stored on your computer and the application no longer needs an internet connection.
- Plain and predictable output. There is no hidden sampling magic or proprietary tuning. You get the model's genuine responses.
π§ How It Works
The Llama architecture is the design behind many well-known language models. It describes how words are turned into numbers, how those numbers pass through a stack of layers, and how the next word is chosen. llama.bend implements that same design in a language called Bend 2, which is designed for writing high-performance parallel programs in a clear way.
The distinctive idea in this project is that the sizes of the model's internal grids are written directly into the types. In everyday terms, the program knows in advance that a particular block of numbers must be, for example, 576 by 1536, and it refuses to run if anything does not line up. This catches a whole class of bugs that would otherwise appear only at runtime, after you have already waited for output.
Because the implementation mirrors the reference version precisely, the project can be tested by comparing its output against PyTorch one token at a time. When both produce the same sequence of tokens, the implementation is correct. That kind of direct comparison is the reason the accuracy claim can be made with confidence.
π» System Requirements
llama.bend runs on 64-bit Windows 10 and Windows 11. For the 135M and 360M models, 4 GB of available memory is enough. For the 1.7B model, 8 GB or more is recommended so that responses arrive quickly. Around 2 GB of free disk space is needed to store the application together with the model files. A processor from the last several years is sufficient; a dedicated graphics card is helpful but not required.
π±οΈ Your First Run
After the application opens, you will be asked to choose a model from the three available sizes. Start with SmolLM2 135M while you get familiar with the interface; it loads in seconds. Type a prompt into the text box and confirm. The response is generated on your own machine, and a small indicator shows progress while words are produced.
When you want longer, more thoughtful answers, switch to the 360M or 1.7B model from the same menu. Switching does not require restarting the application, though the larger model will take a little longer the first time it loads. Your prompts and settings remain in place between sessions.
π οΈ Troubleshooting
If Windows blocks the file after downloading, open the file's properties and look for an option to unblock it, then try again. If the application closes immediately when opened, restart your computer and check that you have enough free memory for the model size you selected. If responses are slow, try a smaller model. If the release page does not load, check your internet connection and try again in a few minutes.
π Project Links
Downloads and version history: github.com/Sankalp-Savarn/llama.bend/releases
Project name: llama.bend. Models: SmolLM2 135M, 360M, 1.7B. Implementation language: Bend 2. Reference for comparison: PyTorch.