Instructions to use FloatDo/EXAONE-Deep-2.4B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use FloatDo/EXAONE-Deep-2.4B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="FloatDo/EXAONE-Deep-2.4B-GGUF", filename="EXAONE-Deep-2.4B.F16.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use FloatDo/EXAONE-Deep-2.4B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf FloatDo/EXAONE-Deep-2.4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf FloatDo/EXAONE-Deep-2.4B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf FloatDo/EXAONE-Deep-2.4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf FloatDo/EXAONE-Deep-2.4B-GGUF:Q4_K_M
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 FloatDo/EXAONE-Deep-2.4B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf FloatDo/EXAONE-Deep-2.4B-GGUF:Q4_K_M
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 FloatDo/EXAONE-Deep-2.4B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf FloatDo/EXAONE-Deep-2.4B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/FloatDo/EXAONE-Deep-2.4B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use FloatDo/EXAONE-Deep-2.4B-GGUF with Ollama:
ollama run hf.co/FloatDo/EXAONE-Deep-2.4B-GGUF:Q4_K_M
- Unsloth Studio new
How to use FloatDo/EXAONE-Deep-2.4B-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 FloatDo/EXAONE-Deep-2.4B-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 FloatDo/EXAONE-Deep-2.4B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for FloatDo/EXAONE-Deep-2.4B-GGUF to start chatting
- Docker Model Runner
How to use FloatDo/EXAONE-Deep-2.4B-GGUF with Docker Model Runner:
docker model run hf.co/FloatDo/EXAONE-Deep-2.4B-GGUF:Q4_K_M
- Lemonade
How to use FloatDo/EXAONE-Deep-2.4B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull FloatDo/EXAONE-Deep-2.4B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.EXAONE-Deep-2.4B-GGUF-Q4_K_M
List all available models
lemonade list
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf FloatDo/EXAONE-Deep-2.4B-GGUF:# Run inference directly in the terminal:
llama-cli -hf FloatDo/EXAONE-Deep-2.4B-GGUF: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 FloatDo/EXAONE-Deep-2.4B-GGUF:# Run inference directly in the terminal:
./llama-cli -hf FloatDo/EXAONE-Deep-2.4B-GGUF: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 FloatDo/EXAONE-Deep-2.4B-GGUF:# Run inference directly in the terminal:
./build/bin/llama-cli -hf FloatDo/EXAONE-Deep-2.4B-GGUF:Use Docker
docker model run hf.co/FloatDo/EXAONE-Deep-2.4B-GGUF:Calvin806/EXAONE-Deep-2.4B-GGUF
GGUF quantizations for EXAONE-Deep-2.4B.
Contents
This folder typically contains:
EXAONE-Deep-2.4B.F16.ggufEXAONE-Deep-2.4B.Q4_K_M.ggufEXAONE-Deep-2.4B.Q5_K_M.ggufEXAONE-Deep-2.4B.Q8_0.gguf(optional)
๐ง llama.cpp patch (EXAONE GGUF quantize compatibility)
EXAONE GGUF ๋ณํ/์์ํ ๊ณผ์ ์์ ์ผ๋ถ ๋ชจ๋ธ(์: 2.4B / 7.8B) ๊ฐ KV key ๋ค์ด๋ฐ ๋ถ์ผ์น๊ฐ ๋ฐ๊ฒฌ๋์์ต๋๋ค.
- ์ด๋ค GGUF๋
exaone.attention.layer_norm_epsilon๋ง ์กด์ฌ - ์ด๋ค GGUF๋
exaone.attention.layer_norm_rms_epsilon๋ง ์กด์ฌ
์ด ์ํ์์ vanilla llama.cpp์ llama-quantize๊ฐ ํน์ ํค๋ฅผ ์ฐพ์ง ๋ชปํด ์คํจํ ์ ์์ด,
llama.cpp์ model loader์์ gguf key lookup์ fallback์ ์ถ๊ฐํ๋ ํจ์น๋ฅผ ์ ์ฉํ์ต๋๋ค.
What was patched
src/llama-model-loader.cpp์์ gguf_find_key() lookup์ ๋ค์ fallback์ ์ํํ๋๋ก ์์ :
- key๊ฐ
exaone.attention.layer_norm_epsilon์ด๊ณ ์ฐพ์ง ๋ชปํ๋ฉด โexaone.attention.layer_norm_rms_epsilon๋ก ์ฌ์๋ - key๊ฐ
exaone.attention.layer_norm_rms_epsilon์ด๊ณ ์ฐพ์ง ๋ชปํ๋ฉด โexaone.attention.layer_norm_epsilon๋ก ์ฌ์๋
์ด ํจ์น๋ฅผ ํตํด EXAONE 3.5 / EXAONE-Deep 2.4B, 7.8B, 32B ๊ณ์ด์ ๋์ผ ํ์ดํ๋ผ์ธ์ผ๋ก GGUF+quantizeํ ์ ์์ต๋๋ค.
Patch note (minimal diff summary)
- Added a fallback wrapper/hook for
gguf_find_key()insidellama-model-loader.cpp - Ensured all lookups in that translation unit route through the fallback
This repo includes:
exaone-gguf-fallback.patch
Tested llama.cpp commit
021cc28bef4dd7d0bf9c91dbbd0803caa6cb15f2
Build (CUDA)
git clone https://github.com/ggml-org/llama.cpp
cd llama.cpp
git apply ../exaone-gguf-fallback.patch
rm -rf build
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DGGML_CUDA=ON
cmake --build build -j
Convert / Quantize
# Convert HF snapshot -> GGUF(F16)
python3 llama.cpp/convert_hf_to_gguf.py <LOCAL_SNAPSHOT_DIR> --outtype f16 --outfile model.F16.gguf
# Quantize (example: Q4_K_M)
llama.cpp/build/bin/llama-quantize model.F16.gguf model.Q4_K_M.gguf Q4_K_M
- Downloads last month
- 13
4-bit
5-bit
8-bit
16-bit
Install from brew
# Start a local OpenAI-compatible server with a web UI: llama-server -hf FloatDo/EXAONE-Deep-2.4B-GGUF:# Run inference directly in the terminal: llama-cli -hf FloatDo/EXAONE-Deep-2.4B-GGUF: