Instructions to use AtomicChat/Maxwell-V1-Flash-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 AtomicChat/Maxwell-V1-Flash-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 AtomicChat/Maxwell-V1-Flash-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf AtomicChat/Maxwell-V1-Flash-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AtomicChat/Maxwell-V1-Flash-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf AtomicChat/Maxwell-V1-Flash-GGUF:BF16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf AtomicChat/Maxwell-V1-Flash-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf AtomicChat/Maxwell-V1-Flash-GGUF:BF16
Use Docker
docker model run hf.co/AtomicChat/Maxwell-V1-Flash-GGUF:BF16
- Llama new
- LM Studio
- Jan
- vLLM
How to use AtomicChat/Maxwell-V1-Flash-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AtomicChat/Maxwell-V1-Flash-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": "AtomicChat/Maxwell-V1-Flash-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AtomicChat/Maxwell-V1-Flash-GGUF:BF16
- Ollama
How to use AtomicChat/Maxwell-V1-Flash-GGUF with Ollama:
ollama run hf.co/AtomicChat/Maxwell-V1-Flash-GGUF:BF16
- Unsloth Desktop
- Pi
How to use AtomicChat/Maxwell-V1-Flash-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AtomicChat/Maxwell-V1-Flash-GGUF:BF16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "AtomicChat/Maxwell-V1-Flash-GGUF:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use AtomicChat/Maxwell-V1-Flash-GGUF with Docker Model Runner:
docker model run hf.co/AtomicChat/Maxwell-V1-Flash-GGUF:BF16
- Lemonade
How to use AtomicChat/Maxwell-V1-Flash-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AtomicChat/Maxwell-V1-Flash-GGUF:BF16
Run and chat with the model
lemonade run user.Maxwell-V1-Flash-GGUF-BF16
List all available models
lemonade list
- Hermes Agent
How to use AtomicChat/Maxwell-V1-Flash-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 AtomicChat/Maxwell-V1-Flash-GGUF:BF16
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:9931/v1 hermes config set model.default AtomicChat/Maxwell-V1-Flash-GGUF:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AtomicChat/Maxwell-V1-Flash-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AtomicChat/Maxwell-V1-Flash-GGUF:BF16
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:9931/v1 \ --custom-model-id "AtomicChat/Maxwell-V1-Flash-GGUF:BF16" \ --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"
Metal: SIGSEGV on any micro-batch of 32+ tokens (no kernel_mul_mm_id_map0 for 12 experts)
Thanks for the port. On Apple Silicon it crashes on the first prompt of 32 or more tokens. Here is the cause, which looks like a one-line fix.
Setup: M1 Max 64 GB, macOS 27.2.1, llama.cpp d3c3e242c + maxwell-moe-port.patch (sha256 55049b84β¦), Release build with default Metal, Maxwell-V1-Flash-AD-Q6_K.gguf at 0e2d02c0, llama-server --jinja -ngl 99 -fa on -c 131072.
Symptom: llama-server dies with SIGSEGV (exit 139) on any ubatch of 32+ tokens.
- Prompts of 21β29 tokens work; a 32-token prompt crashes.
- With a 612-token prompt,
-ub 16/24/28/31work and-ub 32crashes. -ngl 0(CPU) works.
Faulting thread (macOS crash report):
ggml_metal_pipeline_max_theads_per_threadgroup + 12 KERN_INVALID_ADDRESS at 0x0
ggml_metal_op_mul_mat_id + 804
ggml_metal_op_encode + 2152
ggml_metal_graph_compute + 712
ggml_backend_sched_graph_compute_async + 1820
llama_context::graph_compute
llama_context::process_ubatch
llama_context::decode
Cause: ggml_metal_op_mul_mat_id_use_mm() (ggml-metal-common.cpp) switches to the matrix-matrix path when ne21 >= 32. That path fetches kernel_mul_mm_id_map0_ne20_<n_expert_used>, but kernels/mul_mm.metal instantiates it only for ne20 = 1, 2, 4, 5, 6, 8, 9, 10, 16 and 22. Maxwell routes 12 experts per token, so the pipeline comes back null and ggml_metal_pipeline_max_theads_per_threadgroup() dereferences it. Current llama.cpp master (0a7675746) has the same list. CUDA does not specialize per ne20, which would explain why test-llama-archs passed there.
Likely fix (not tested; we no longer have the weights on disk): in ggml/src/ggml-metal/kernels/mul_mm.metal, next to the existing lines:
template [[host_name("kernel_mul_mm_id_map0_ne20_12")]] kernel kernel_mul_mm_id_map0_t kernel_mul_mm_id_map0<12>;
It may be worth putting this in the patch and in the upstream PR. Until then, -ub 31 avoids the crash, but prompt processing ran at only about 110 tokens/s on this machine.