Instructions to use guu3/AutoDecompiler-30B-pscode-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use guu3/AutoDecompiler-30B-pscode-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf guu3/AutoDecompiler-30B-pscode-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf guu3/AutoDecompiler-30B-pscode-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf guu3/AutoDecompiler-30B-pscode-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf guu3/AutoDecompiler-30B-pscode-GGUF:BF16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf guu3/AutoDecompiler-30B-pscode-GGUF:BF16 # Run inference directly in the terminal: ./llama-cli -hf guu3/AutoDecompiler-30B-pscode-GGUF:BF16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf guu3/AutoDecompiler-30B-pscode-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf guu3/AutoDecompiler-30B-pscode-GGUF:BF16
Use Docker
docker model run hf.co/guu3/AutoDecompiler-30B-pscode-GGUF:BF16
- LM Studio
- Jan
- vLLM
How to use guu3/AutoDecompiler-30B-pscode-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "guu3/AutoDecompiler-30B-pscode-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "guu3/AutoDecompiler-30B-pscode-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/guu3/AutoDecompiler-30B-pscode-GGUF:BF16
- Ollama
How to use guu3/AutoDecompiler-30B-pscode-GGUF with Ollama:
ollama run hf.co/guu3/AutoDecompiler-30B-pscode-GGUF:BF16
- Unsloth Studio
How to use guu3/AutoDecompiler-30B-pscode-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for guu3/AutoDecompiler-30B-pscode-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for guu3/AutoDecompiler-30B-pscode-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for guu3/AutoDecompiler-30B-pscode-GGUF to start chatting
- Pi
How to use guu3/AutoDecompiler-30B-pscode-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf guu3/AutoDecompiler-30B-pscode-GGUF:BF16
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "guu3/AutoDecompiler-30B-pscode-GGUF:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use guu3/AutoDecompiler-30B-pscode-GGUF with Docker Model Runner:
docker model run hf.co/guu3/AutoDecompiler-30B-pscode-GGUF:BF16
- Lemonade
How to use guu3/AutoDecompiler-30B-pscode-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull guu3/AutoDecompiler-30B-pscode-GGUF:BF16
Run and chat with the model
lemonade run user.AutoDecompiler-30B-pscode-GGUF-BF16
List all available models
lemonade list
- Hermes Agent
How to use guu3/AutoDecompiler-30B-pscode-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf guu3/AutoDecompiler-30B-pscode-GGUF:BF16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default guu3/AutoDecompiler-30B-pscode-GGUF:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use guu3/AutoDecompiler-30B-pscode-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf guu3/AutoDecompiler-30B-pscode-GGUF:BF16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "guu3/AutoDecompiler-30B-pscode-GGUF:BF16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
File size: 3,879 Bytes
65889b1 f90472b 65889b1 4066d7a 65889b1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | ---
base_model: AutoDecompiler/AutoDecompiler-30B-pscode
pipeline_tag: text-generation
tags:
- gguf
- llama.cpp
- decompilation
- reverse-engineering
- pcode
- qwen3_moe
---
# AutoDecompiler-30B-pscode GGUF
This repository contains an unquantized BF16 GGUF conversion of
[`AutoDecompiler/AutoDecompiler-30B-pscode`](https://huggingface.co/AutoDecompiler/AutoDecompiler-30B-pscode).
It is a format conversion for llama.cpp; the model weights were not fine-tuned
or otherwise modified here.
The model is specialized for turning decompiler P-code/pseudocode into a
high-level source-code draft. It is not intended to decompile raw assembly
directly.
## File
| File | Format | Size | SHA-256 |
| --- | --- | ---: | --- |
| `AutoDecompiler-30B-pscode-BF16.gguf` | GGUF v3, BF16 | 61,095,804,640 bytes (56.89 GiB) | `83d5a42e828e391aac16e68ac2fe7332d7ed4307cf5cf470cb3c33be35c92367` |
The GGUF contains the model's Qwen3 MoE architecture and chat template. Its
metadata advertises a 262,144-token context, but practical context size is
limited by available memory. The weights alone require roughly 57 GiB, with
additional memory needed for the KV cache and runtime workspace.
## Download
```bash
hf download guu3/AutoDecompiler-30B-pscode-GGUF \
AutoDecompiler-30B-pscode-BF16.gguf \
--local-dir .
```
## Run with llama.cpp
Use a recent llama.cpp build with Qwen3 MoE and BF16 support:
```bash
llama-server \
--model AutoDecompiler-30B-pscode-BF16.gguf \
--alias autodecompiler-30b-pscode-bf16 \
--host 127.0.0.1 \
--port 8080 \
--ctx-size 32768 \
--n-gpu-layers all \
--flash-attn on
```
Reduce `--n-gpu-layers` or `--ctx-size` if the model does not fit available
GPU or unified memory.
Send P-code through the OpenAI-compatible endpoint:
```bash
curl http://127.0.0.1:8080/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{
"model": "autodecompiler-30b-pscode-bf16",
"messages": [
{
"role": "system",
"content": "You are a decompilation specialist. Convert the supplied P-code pseudocode into a faithful high-level source representation."
},
{
"role": "user",
"content": "Recover high-level source code from this P-code pseudocode. Return code only.\n\n<PASTE PCODE HERE>"
}
],
"temperature": 0,
"max_tokens": 4096,
"stream": false
}'
```
For reproducible evaluation, start with greedy decoding (`temperature: 0`).
Increase `max_tokens` for larger functions, while keeping in mind that very
large functions may be truncated or become impractically slow.
## Conversion provenance
- Upstream model revision:
`43c73bfabe24c284c31ccb76fc5dc90e5736b5dc`
- Conversion tool: llama.cpp `convert_hf_to_gguf.py`
- llama.cpp revision:
`48d22e295e2b86b47366c16390794f3e05ba970a`
- Output type: BF16, with tensors that llama.cpp keeps in F32 left in F32
- Tested with llama.cpp build 10360
The conversion is equivalent to:
```bash
python convert_hf_to_gguf.py /path/to/AutoDecompiler-30B-pscode \
--outfile AutoDecompiler-30B-pscode-BF16.gguf \
--outtype bf16
```
## Limitations
Treat generated code as an untrusted first-pass draft. In local experiments,
the model recovered useful structure from P-code, but it could emit invalid
identifiers or types and could fail to finish very large functions. Validate
the result against the original binary, compiler diagnostics, and control flow.
See the
[`AutoDecompiler` paper](https://arxiv.org/abs/2606.16162) and the
[upstream model repository](https://huggingface.co/AutoDecompiler/AutoDecompiler-30B-pscode)
for the model and research context.
## License
The upstream model repository did not declare a license at the time of this
conversion. This repository does not assert a new license over the model
weights; consult the upstream authors before redistribution or commercial use.
|