Instructions to use anthracite-org/magnum-v2-123b-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use anthracite-org/magnum-v2-123b-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="anthracite-org/magnum-v2-123b-gguf", filename="magnum-v2-123b-iq1_s.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use anthracite-org/magnum-v2-123b-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf anthracite-org/magnum-v2-123b-gguf:IQ1_S # Run inference directly in the terminal: llama-cli -hf anthracite-org/magnum-v2-123b-gguf:IQ1_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf anthracite-org/magnum-v2-123b-gguf:IQ1_S # Run inference directly in the terminal: llama-cli -hf anthracite-org/magnum-v2-123b-gguf:IQ1_S
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 anthracite-org/magnum-v2-123b-gguf:IQ1_S # Run inference directly in the terminal: ./llama-cli -hf anthracite-org/magnum-v2-123b-gguf:IQ1_S
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 anthracite-org/magnum-v2-123b-gguf:IQ1_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf anthracite-org/magnum-v2-123b-gguf:IQ1_S
Use Docker
docker model run hf.co/anthracite-org/magnum-v2-123b-gguf:IQ1_S
- LM Studio
- Jan
- vLLM
How to use anthracite-org/magnum-v2-123b-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "anthracite-org/magnum-v2-123b-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": "anthracite-org/magnum-v2-123b-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/anthracite-org/magnum-v2-123b-gguf:IQ1_S
- Ollama
How to use anthracite-org/magnum-v2-123b-gguf with Ollama:
ollama run hf.co/anthracite-org/magnum-v2-123b-gguf:IQ1_S
- Unsloth Studio
How to use anthracite-org/magnum-v2-123b-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 anthracite-org/magnum-v2-123b-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 anthracite-org/magnum-v2-123b-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for anthracite-org/magnum-v2-123b-gguf to start chatting
- Docker Model Runner
How to use anthracite-org/magnum-v2-123b-gguf with Docker Model Runner:
docker model run hf.co/anthracite-org/magnum-v2-123b-gguf:IQ1_S
- Lemonade
How to use anthracite-org/magnum-v2-123b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull anthracite-org/magnum-v2-123b-gguf:IQ1_S
Run and chat with the model
lemonade run user.magnum-v2-123b-gguf-IQ1_S
List all available models
lemonade list
Context Shift Problem
You have turned out a wonderful model and I thoroughly enjoy working with it. But there is one very serious problem: context shift does not work with this model in llamacpp. Very often there is a complete recalculation of the contents of the context window, which for such a large model and large context is very long, especially on weak GPUs. It seems that llamacpp cannot correctly compare current and past prompts. This does not happen with a pure Mistral Large 123B. Please try to get this problem sorted out - it's making it very difficult to work properly with your model.
thanks! though models can't affect that, it must be somewhere in your inferencing frontend or lcpp/kcpp that is causing that re-processing of tokens.
thanks! though models can't affect that, it must be somewhere in your inferencing frontend or lcpp/kcpp that is causing that re-processing of tokens.
Large chat with contextual window in 16k. Same settings in the Silly Tavern. Magnum-v2-123b-q4_k - often full context recalculation (not every replica, but often). Same model from Bartowsky and mradermacher - same problems. Bartowsky/Mistral-Large-Instruct-2407-Q2_K (pure) - no problems, full recalculation of context was not once in two hours of chat...
we have someone looking into the config.json that might be different; we'll post if we find anything.
Hmmm, I can push out a quant with the og models config,
might be able to also fix it via editing the .ggufs metadata