Instructions to use zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF", filename="talkie-1930-13b-it.Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf zakarth/talkie-1930-13b-it-vulkan-fixed-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 zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf zakarth/talkie-1930-13b-it-vulkan-fixed-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 zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf zakarth/talkie-1930-13b-it-vulkan-fixed-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 zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF:Q4_K_M
Use Docker
docker model run hf.co/zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF with Ollama:
ollama run hf.co/zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF:Q4_K_M
- Unsloth Studio
How to use zakarth/talkie-1930-13b-it-vulkan-fixed-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 zakarth/talkie-1930-13b-it-vulkan-fixed-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 zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF with Docker Model Runner:
docker model run hf.co/zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF:Q4_K_M
- Lemonade
How to use zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.talkie-1930-13b-it-vulkan-fixed-GGUF-Q4_K_M
List all available models
lemonade list
talkie-1930-13b-it โ GGUF that actually works on AMD/Vulkan
These are GGUFs of talkie-1930-13b-it that don't fall apart on Vulkan. Plain upstream
llama.cpp, no patches, no -ub 1 voodoo. Just works.
If you've tried running the other Talkie GGUFs on an AMD card (or anything on the Vulkan backend) you've probably seen this:
* * * * * * * * * * * * * * * * * * * * * * * * * * *
or a wall of NRNRNRNR or ? 2? 4? 2?. There's a whole issue about it
(#23953). CPU and CUDA are fine, so
people kept blaming the server, batching, the chat template, flash-attn... none of it.
what's actually going on
Talkie has one cursed channel. Layer 14, the ffn_down input, spikes to about 139,000.
fp16 tops out at 65,504. llama.cpp's Vulkan matmul shaders stash the activation operand in
fp16 tiles, so that number turns into inf, then NaN, then everything downstream is
garbage. CPU/CUDA keep it in fp32 so they never notice.
This is why nothing people tried worked: it's the activations blowing up, not the weights,
so no quant level saves you. And -ub 1, the workaround in the issue thread, didn't even do
anything on my Radeon 890M โ just gave me a different flavor of garbage.
the fix
You can't fix an activation overflow by being clever about quantization, but you can just make the activation smaller. That one channel feeds through two linear layers, so:
mlp_linear[ch] /= 32 # shrink it going in
mlp_resid[:, ch] *= 32 # blow it back up coming out
The two cancel. Pick a power of two and it's bit-exact in bf16 โ literally the same model, the number just never crosses 65,504 mid-flight anymore. Two channels needed it (ร32 and ร4), everything else is untouched. 441 of 443 tensors are byte-for-byte identical to the original.
does it work though
Same prompt, greedy, same Q4_K_M, on a real AMD Radeon 890M over Vulkan:
- before:
* * * * * * * * - after: "The history of the steam locomotive may be said to begin in the year 1800, when Richard Trevithick first constructed a locomotive engine at Trewithan, in Cornwall..."
And to be sure I didn't actually change the model: rescaled vs original ffn_down output
matches to 0.000e+00 in fp32. Same weights, just exponent-shifted on two channels.
use it
llama-server -m talkie-1930-13b-it.Q4_K_M.gguf -ngl 999 -c 2048 --jinja
Vulkan / AMD / Intel / CUDA / CPU, all fine. 2048 context.
| quant | size | notes |
|---|---|---|
| Q2_K | ~5 GB | smallest, rough |
| Q3_K_S/M/L | ~5.6โ7 GB | |
| Q4_K_S/M | ~7.5โ8.6 GB | Q4_K_M is the sweet spot |
| Q5_K_S/M | ~9โ9.4 GB | |
| Q6_K | ~10.8 GB | |
| Q8_0 | ~14 GB | basically lossless |
Converted from lewtun/talkie-1930-13b-it-hf (the HF port the llama.cpp converter expects). The proper long-term fix is bf16 Vulkan shaders upstream โ this just sidesteps the whole thing at the weights so you don't have to wait for it.
- Downloads last month
- 309
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Model tree for zakarth/talkie-1930-13b-it-vulkan-fixed-GGUF
Base model
talkie-lm/talkie-1930-13b-base