Instructions to use Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-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 Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-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 Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF # Run inference directly in the terminal: llama cli -hf Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF # Run inference directly in the terminal: llama cli -hf Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-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 Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF # Run inference directly in the terminal: ./llama-cli -hf Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-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 Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF # Run inference directly in the terminal: ./build/bin/llama-cli -hf Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF
Use Docker
docker model run hf.co/Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF
- LM Studio
- Jan
- vLLM
How to use Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-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": "Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF
- Ollama
How to use Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF with Ollama:
ollama run hf.co/Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF
- Unsloth Studio
How to use Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-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 Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-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 Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF to start chatting
- Pi
How to use Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF
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": "Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF with Docker Model Runner:
docker model run hf.co/Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF
- Lemonade
How to use Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF
Run and chat with the model
lemonade run user.Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-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 Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF
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 Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF
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 "Koshkasa/Vortex5_Shadow-Siren-26B-A4B-APEX-GGUF" \ --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"
Amazing quant
Still don't have much time on my hands, but from what I could tell, your iteration is super-impressive, especially for a model at that size. Great performance as well, despite me having to offload most of it to sysram, so at least for my specific case, this is easily the gold-standard for a lightweight quant. I'd say it comprehensively obsoletes regular APEX compact.
That said, I did observe the kind of cliches that I have come to expect from this architecture family -- terms like "unadulterated" and the turn of phrase "I don't just X, I Y..." getting overused. As I believe I mentioned before, without tweaking the samplers, the only effective remedy seems to be locking a few key sparse expert blocks closer to the middle layers at Q6, which seems to have a positive influence on the expressive range of these Gemmas -- anything below Q6 rounds off a few key edges apparently. Not really a compatible strat with the kind of sizes you're aiming for, or at least, I haven't found a way to both have my cake and eat it. I grin. Not trying to salt my genuine praise of your iteration, just mentioning it. In terms of long-context attention, instruction following, creativity and intelligence, at least from what I could discern with the limited time at my disposal, this is top-notch stuff.
Thank you kindly! I'm currently iterating through different approaches aimed at that size bracket, and in the llama.cpp compatible quant pool, this seems to perform well enough.
I'm still dying to try a proper 4-bit trellis quant with a literary dataset, however that has to wait until ik_llama.cpp implements proper Gemma 4 KV cache handling. Fingers crossed.
A definite improvement in quality without file size increase, while staying in llama.cpp territory, would come from quantizing the 3-bit sparse exps at IQ3_S instead of Q3_K. To stay in the realm of HarmonicMinus size, going for IQ4_XS in both Q4_K bound blocks, and Q3_K bound blocks with an incompatible column count that end up in fallback Q4_0, would also considerably improve quality.
That said, I don't have too many hardware configurations to test this on. I have a feeling overhead from the codebooks would impact TG drastically on older hardware.
There seems to be an interesting approach to gemma-ism pruning posted here. The size cost of this vector modification is negligible, unlike keeping a few exp layers in Q6_K, though I haven't tested its effect with Q3_K yet
Very curious approach, though I'm honestly fine with Gemma-isms. My concern is more about mapping and isolating the various specific blocks and compression tolerances. So, for example, every quant that I've done so far, and tested of yours, seems to suggest that GA layers want a minimum of Q5 to maintain long-context detail attention. The quants I've done with GA at Q6, and the test inferences I've ran on external hardware with uncompressed variants of the model don't diverge significantly from the Q5 mean in this specific metric, so it doesn't feel like we're sacrificing anything there. Mid-layer compression, however, is a lot more subtle in that regard; harder to measure, which is why I'm clinging to the observation that certain Q6 distributions seem to remove clichés in output. It's not about the clichés themselves, as much as about what their presence might represent, and what they might be replacing as we shrink the resolution of the model's abstraction layers. Wish I had more time on my hands to experiment with asymmetric distributions, probably won't be able to get back to that until next month.
It is my unprofessional mechanical understanding that at lower quantizations the cliche tendency occurs when the router repeatedly picks the same experts, which see a particular deeply baked mannerism (e.g. the dreaded adjective doublestack) and lose enough linguistic depth to resort to repeating that pattern further, completing the cycle. Increasing active experts per token does not affect it much, since their contribution is weighted, and the bottom 8 in a 16 exp/t configuration barely do anything.
It would be interesting to analyze activations and see whether activating particular experts correlates to seeing particular repetitive grammar patterns to test that theory, but I lack the mechanical understanding of how to approach that, or whether that data will help. In layman's eyes knowing precisely where the simplification occurs would allow protecting these particular levels.
P.S.: I'm open to cooperative theory crafting when you have the time to spare. I believe there's room for optimizing 26b a4b quants towards specific VRAM/RAM/ctx targets combining all our observations.