Deploy DeepSeek-R1 on Arm Servers with llama.cpp
Introduction
Run a DeepSeek-R1 chatbot on Arm servers
Access the chatbot using the OpenAI-compatible API
Next Steps
Deploy DeepSeek-R1 on Arm Servers with llama.cpp
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Use an Arm server running Ubuntu 24.04 LTS with at least 64 cores, 512 GB of RAM, and 400 GB of disk space. The Learning Path was tested on an AWS Graviton4
r8g.24xlarge instance.Download a pre-quantized DeepSeek-R1 model from Hugging Face. Quantization enables efficient CPU inference with
llama.cpp.Running
make during the build step creates the server executable. If it’s missing, repeat the build step before starting the server.Start the
llama.cpp server and use its OpenAI-compatible API to submit multiple requests. You can also send requests from another machine to the host running the server.The examples use
jq to work with JSON. jq helps format and parse responses returned by the OpenAI-compatible API calls.