TensorFlow on dedicated CPU servers
Plenty of TensorFlow work never needs a graphics card: serving ranking and classification models, feature pipelines and modest retraining jobs run well on modern server CPUs. Our machines are CPU only, and this page shows how to get the most from them.
When does TensorFlow make sense on a CPU?
When models are small or medium sized, requests arrive one or a few at a time, or the work is mostly data preparation. Recommendation rankers, fraud scores, tabular networks, text classifiers and compact vision models answer in a few milliseconds on a CPU core, and a 48 core machine serves thousands of such calls a second. Training a large language or image model from scratch is a different matter: that needs accelerators, which we do not rent. For fine-tuning small models and nightly retraining of tabular networks, many cores and plenty of memory do the job.
How does TensorFlow use modern server CPUs?
Through oneDNN, the optimised kernel library that has been enabled by default on Linux x86 builds since TensorFlow 2.9. It uses AVX-512 on Zen 4, Zen 5 and recent Xeon chips, and the bfloat16 instructions on those processors speed up inference when a model tolerates reduced precision. Intel Xeon chips from the fourth generation onward also carry AMX matrix units, which oneDNN uses for bfloat16 and int8 matrix work; the 2024 and 2026 Enterprise i-models have them.
python3 -m venv /opt/tf && /opt/tf/bin/pip install tensorflow /opt/tf/bin/python -c "import tensorflow as tf; print(tf.__version__, tf.config.list_physical_devices())" grep -o -m1 'avx512_bf16\|amx_bf16' /proc/cpuinfo
How should threads be set?
TensorFlow has two pools: intra-op threads split one operation, such as a matrix multiply, and inter-op threads run independent operations side by side. For low-latency serving of small models, run several model server processes, each pinned to a slice of cores with a modest intra-op pool. For training, give one process most cores for intra-op work and two to four inter-op threads.
import tensorflow as tf tf.config.threading.set_intra_op_parallelism_threads(24) tf.config.threading.set_inter_op_parallelism_threads(2)
How do I serve a model?
TensorFlow Serving loads SavedModel directories, watches for new versions and answers over REST on port 8501 or gRPC on port 8500. Server-side batching collects requests arriving within a few milliseconds into one call, which raises throughput sharply on many-core chips.
docker run -d --name ranker --cpuset-cpus 0-23 -p 127.0.0.1:8501:8501 \ -v /srv/models/ranker:/models/ranker -e MODEL_NAME=ranker \ tensorflow/serving --enable_batching=true --rest_api_num_threads=16
Put a reverse proxy with TLS in front and keep the model ports on loopback or a WireGuard address.
What decides a model's memory footprint?
Roughly its parameter count times bytes per parameter, plus activations and the serving process. A 300 million parameter network in float32 needs about 1.2 GB for weights; running four replicas with headroom fits easily in 32 GB. Embedding-heavy recommenders are the exception: their tables can reach tens of gigabytes, which is where a machine with 128 GB or 256 GB earns its rent.
| Job | Machine | Cores and memory |
|---|---|---|
| Serving a few compact models | ESSENTIAL-L | 16 cores, 128 GB DDR5 |
| High-volume inference | ESSENTIAL-XL | 48 cores, 128 GB DDR5 |
| bfloat16 inference on AMX | ENTERPRISE-i2 2026 | 24 cores, 128 GB DDR5 |
| Nightly retraining of tabular models | ENTERPRISE-a6 2026 | 96 cores, 128 GB DDR5 |
How fast is data input?
Usually the real bottleneck. Use tf.data with map(num_parallel_calls=tf.data.AUTOTUNE), cache decoded data in memory when it fits, and prefetch so the model never waits. Keep training records on the local NVMe drives rather than a network mount.
Where should an inference server sit?
Close to the application calling it, ideally in the same data centre so each call costs well under a millisecond on the wire. ESSENTIAL-L rents for $106.20 a month with an unmetered European port. Related reading: CPU inference for AI models, PyTorch on CPU servers and scikit-learn workloads.
CPU machines for TensorFlow
Lowest monthly price of each model across its data centres; the model page shows the price in every location.
| Model | Processor | Cores | Memory | Drives | Port | Per month |
|---|---|---|---|---|---|---|
| ESSENTIAL-L | AMD Ryzen 9 9950X | 16 | 128 GB | 2x 960 GB SSD NVMe | 1 Gbps unmetered | $106.20 |
| ESSENTIAL-XL | AMD EPYC TURIN 9455 | 48 | 128 GB | 2x 1.92 TB SSD NVMe | 1 Gbps unmetered | $212.40 |
| BUSINESS-4 2026 | AMD EPYC 4585PX | 16 | 64 GB | 2x 960 GB SSD NVMe | 3 Gbps unmetered | $212.40 |
| ENTERPRISE-i2 2026 | Intel Xeon 6527P | 24 | 128 GB | 2x 1.92 TB SSD NVMe | 5 Gbps unmetered | $446.40 |
| ENTERPRISE-a4 2026 | AMD EPYC TURIN 9455 | 48 | 128 GB | 2x 1.92 TB SSD NVMe | 5 Gbps unmetered | $510.00 |
| ENTERPRISE-a6 2026 | AMD EPYC TURIN 9655 | 96 | 128 GB | 2x 1.92 TB SSD NVMe | 5 Gbps unmetered | $694.20 |
Measure requests per second per core on one machine, then size the fleet from that number.
Related pages
CPU inference for AI models
Run quantised language and vision models on many-core EPYC and Xeon 6 processors with AVX-512 and plenty of DDR5.
Read morePyTorch on CPU servers
Run PyTorch inference and small training jobs on many-core CPUs: CPU wheels, thread pinning, bfloat16, torch.compile and multi-node runs over WireGuard.
Read morescikit-learn workloads
Run scikit-learn model searches and batch scoring on dedicated cores: n_jobs, joblib backends, thread oversubscription, memory planning and model persistence.
Read moreCores or clock speed: which to buy
How to tell whether your software wants many cores or a few fast ones, with worked numbers from machines on our list.
Read moreQuestions and answers
Can TensorFlow run without a GPU?
Yes. The standard Linux package runs on the CPU and uses oneDNN kernels with AVX-512 where the processor supports it.
Do you rent GPU servers for TensorFlow?
No. Every model in our catalogue is a processor-only machine, well suited to inference, data pipelines and retraining of small and medium models.
Which processors speed up bfloat16 inference?
Zen 4 and Zen 5 EPYC and Ryzen chips have AVX-512 bfloat16 instructions, and fourth generation Xeon and newer add AMX matrix units.
How do I serve a TensorFlow model in production?
Run TensorFlow Serving with the SavedModel directory, enable batching, and place a TLS reverse proxy in front of its REST or gRPC port.
How should I set TensorFlow threads on a large server?
For training, give intra-op threads most cores and inter-op threads two to four. For serving, run several pinned processes with smaller pools.