LLMs · LLM4Binary
LLM4Decompile 22B V2
- Parameters
- 22B
- Architecture
- Dense
- Max context
- 32K tokens
- License
- mit
- Released
- 2024-06
How to run it
- Install PocketPal AI (free) and open it.
- Download llm4decompile-22b-v2.Q4_K_M.gguf (opens in a new tab) on the device. It goes to Files › Downloads on an iPhone or iPad, or the Downloads folder on Android.
- In PocketPal AI, tap the menu (☰), then Models, then + and Add Local Model, and pick the file.
- Tap Load next to the model and start a chat. It runs on the device, offline.
On a mobile device
LLM4Decompile 22B V2 is too big for a device like yours: it needs more memory than the device has. Models that run on mobile devices.
Quantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
huggingface.co/mradermacher/llm4decompile-22b-v2-GGUF (opens in a new tab)
ollama run hf.co/mradermacher/llm4decompile-22b-v2-GGUFOriginal weights · Hugging Face
Full-precision files from LLM4Binary, for fine-tuning, vLLM, Transformers.
huggingface.co/LLM4Binary/llm4decompile-22b-v2 (opens in a new tab)
Official repo · GitHub
Reference code, inference scripts and docs from LLM4Binary. The weights themselves download from Hugging Face.
github.com/albertan017/LLM4Decompile (opens in a new tab)
git clone https://github.com/albertan017/LLM4DecompileApps that run LLM4Decompile 22B V2
Our pick for each kind of computer, assuming the model fits in its memory. Pick your own GPU or device in the Model Finder for an exact answer.
| App | Type | Opens it as | Systems | Engine | Start |
|---|---|---|---|---|---|
| LM Studio | Desktop app | GGUF | macOSWindowsLinux | Open in LM Studio | |
| Ollama | CLI + API | GGUF from Hugging Face | macOSWindowsLinux |
|
|
| llama.cpp | CLI + API | GGUF | macOSWindowsLinux |
|
|
| Jan | Desktop app | GGUF | macOSWindowsLinux | Open in Jan | |
| vLLM | Server | Original weights | WSLWindowsLinux |
|
|
| SGLang | Server | Original weights | WSLWindowsLinux |
|
|
| Docker Model Runner | CLI + API | GGUF | macOSWindowsLinux |
|
|
| Lemonade | Desktop app | GGUF | macOSWindowsLinux |
|
|
| Unsloth Desktop | Desktop app | GGUF | macOSWindowsLinux | Open in Unsloth Desktop | |
| Atomic Chat | Desktop app | GGUF | macOSWindowsLinux | Open in Atomic Chat | |
| GPT4All | Desktop app | GGUF | macOSWindowsLinux | Get GPT4All | |
| KoboldCpp | Desktop app | GGUF | macOSWindowsLinux | Get KoboldCpp | |
| Text Generation WebUI | Desktop app | GGUF | macOSWindowsLinux | Get Text Generation WebUI | |
| llamafile | CLI + API | GGUF | macOSWindowsLinux | Get llamafile | |
| Msty Studio | Desktop app | GGUF | macOSWindowsLinux | Open in Msty Studio | |
| Llama (macOS) | Desktop app | GGUF | macOS | Open in Llama (macOS) | |
| RecurseChat | Desktop app | GGUF | macOS | Open in RecurseChat | |
| node-llama-cpp | Library | GGUF | macOSWindowsLinux | Get node-llama-cpp | |
| PocketPal AI | Mobile app | GGUF | iOSAndroid | App Store Google Play | |
| ChatterUI | Mobile app | GGUF | Android | Download the APK | |
| LLM Farm | Mobile app | GGUF | iOS |
Memory needed
Weights plus KV cache and runtime overhead. Leave a little extra free for the operating system and other apps. Try another context length.
| Quantization | Quality | Weights | Total at 8K context | Total at 32K context | Download |
|---|---|---|---|---|---|
Q2_K |
Low | 8.9 GB | 11.4 GB | 17.0 GB | GGUF (opens in a new tab) |
Q3_K_M |
Low | 10.9 GB | 13.4 GB | 19.0 GB | GGUF (opens in a new tab) |
Q4_K_M |
Good | 13.6 GB | 16.1 GB | 21.7 GB | GGUF (opens in a new tab) |
Q5_K_M |
High | 15.8 GB | 18.3 GB | 23.9 GB | GGUF (opens in a new tab) |
Q6_K |
High | 18.2 GB | 20.7 GB | 26.4 GB | GGUF (opens in a new tab) |
Q8_0 |
Very high | 23.6 GB | 26.1 GB | 31.7 GB | GGUF (opens in a new tab) |
F16 |
Full | 44.5 GB | 47.0 GB | 52.6 GB | Original weights (opens in a new tab) |
Best hardware for LLM4Decompile 22B V2
The least expensive GPU in our catalog that runs it without offloading is the Intel Arc B580 (launch price $249) at Q2_K.
| Quality | Hardware | Quant | Memory | Speed | Runs |
|---|---|---|---|---|---|
| 57Good quality (B) · 57 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5090 |
Q6_K | 22.3 GB / 32.0 GB | 68.6 tok/s | Runs great |
| 56Good quality (B) · 56 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 3090 |
Q5_K_M | 19.5 GB / 24.0 GB | 42.7 tok/s | Runs great |
| 56Good quality (B) · 56 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4090 |
Q5_K_M | 19.5 GB / 24.0 GB | 45.9 tok/s | Runs great |
| 56Good quality (B) · 56 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking. | AMD Radeon RX 7900 XTX |
Q5_K_M | 19.5 GB / 24.0 GB | 37.7 tok/s | Runs great |
| 48Fair quality (C) · 48 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4070 Ti SUPER |
Q3_K_M | 14.2 GB / 16.0 GB | 47.9 tok/s | Runs welltight fit |
| 48Fair quality (C) · 48 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4080 SUPER |
Q3_K_M | 14.2 GB / 16.0 GB | 52.5 tok/s | Runs welltight fit |
| 48Fair quality (C) · 48 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5070 Ti |
Q3_K_M | 14.2 GB / 16.0 GB | 63.9 tok/s | Runs welltight fit |
| 48Fair quality (C) · 48 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5080 |
Q3_K_M | 14.2 GB / 16.0 GB | 68.5 tok/s | Runs welltight fit |
| 48Fair quality (C) · 48 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking. | AMD Radeon RX 9070 XT |
Q3_K_M | 14.2 GB / 16.0 GB | 39.3 tok/s | Runs welltight fit |
| 48Fair quality (C) · 48 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 74/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5060 Ti 16GB |
Q3_K_M | 14.2 GB / 16.0 GB | 32.0 tok/s | Runs welltight fit |
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.









