Instructions to use bartowski/Gemma-2-9B-It-SPPO-Iter3-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 bartowski/Gemma-2-9B-It-SPPO-Iter3-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 bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf bartowski/Gemma-2-9B-It-SPPO-Iter3-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 bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf bartowski/Gemma-2-9B-It-SPPO-Iter3-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 bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF:Q4_K_M
Use Docker
docker model run hf.co/bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "bartowski/Gemma-2-9B-It-SPPO-Iter3-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": "bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF:Q4_K_M
- Ollama
How to use bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF with Ollama:
ollama run hf.co/bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF with Docker Model Runner:
docker model run hf.co/bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF:Q4_K_M
- Lemonade
How to use bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bartowski/Gemma-2-9B-It-SPPO-Iter3-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Gemma-2-9B-It-SPPO-Iter3-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Problem Model
It's not broken for me, you need the last llama.cpp.
What he said ^
And if you're still having issues, make sure flash attention is off
What he said ^
And if you're still having issues, make sure flash attention is off
Lm Studio updated the ccp yesterday and the problem remains even without flah
Same. same. broken ggufs
I'm not seeing any issues either on lmstudio 0.2.27, can you guys share your hardware and settings?
Tested on windows with a 3070 and linux with a 3090
No issue here and i even tried it in french for a full 8k tokens chat.
windows 10 with a 3090 ti llama.cpp + sillytavern as a front end and also tried with kobold.cpp (q8 quant)
I tried this https://huggingface.co/legraphista/Gemma-2-9B-It-SPPO-Iter3-IMat-GGUF and it works fine, so idk what is wrong with these ggufs, I am using koboldcpp latest. And for me, it doesn't even load the model, errors occur.
That's very interesting since that quant from @legraphista (tagged so you can consider updating) is using a version of llama.cpp with a broken Gemma 2 implementation, so your experience should only be better on mine. What's the error you get @AndrewLockhart ?
Thanks for the tag @bartowski . I'll hold on from updating until we understand why my broken version works in @AndrewLockhart 's setup
Yeah good call, need more details ..
I re-downloaded one gguf from this repo and it works fine, maybe I just had an old version of the file. So everything is fine now.
Ah good good that is the best case scenario haha
Thanks for letting us know! I'll be re-processing my repo to apply the fixes
