// category · 25 tools · 22 open source
ML Frameworks
The numerical foundations: tensor libraries, autodiff engines, compilers and inference runtimes that every model above them depends on.
The layers of the stack
Everything in this category sits underneath the models. Tensor libraries such as PyTorch and JAX provide arrays, automatic differentiation and GPU kernels. Model libraries such as Hugging Face Transformers turn those into ready architectures. Inference engines such as vLLM, SGLang, llama.cpp, Ollama and LM Studio take trained weights and serve them as fast as the hardware allows.
Current versions (checked October 21, 2026)
These release numbers come from PyPI and GitHub on the date above:
- PyTorch 2.14.1, uploaded September 30, 2026.
- JAX 0.12.0, uploaded October 19, 2026.
- Transformers 5.20.2, uploaded October 19, 2026.
- vLLM 0.32.0, uploaded October 18, 2026.
- SGLang v0.5.22, released October 19, 2026, with what the project describes as 10x faster model loading and a PyTorch backend for Apple Silicon Macs.
These projects ship often, so treat any version number as a snapshot and check the project page before you pin a dependency.
Training framework or inference engine?
If you are building or training models, the choice is mostly between PyTorch and JAX. PyTorch has the larger ecosystem and is the default for most open model code; JAX is popular for TPU work and research that benefits from its function transformations. Our PyTorch vs JAX comparison, TensorFlow vs PyTorch vs Keras and best ML frameworks for Python cover the tradeoffs, and tinygrad vs PyTorch looks at a minimalist alternative.
If you only want to run a model, pick an inference engine instead. For one person on a laptop or Mac, llama.cpp based tools and MLX are the natural fit; see MLX vs GGUF on Mac. For a server handling many requests, vLLM and SGLang are the two to benchmark against each other, as explained in vLLM vs llama.cpp vs SGLang. Newer engines such as DeepSeek's DeepInfer are covered in our DeepInfer explainer. Each tool page below links to the project's own documentation and repository.
// guides
Guides to ML frameworks
Best ML Frameworks for Python in 2026
The best ML frameworks for Python in 2026, ranked by job: PyTorch, scikit-learn, JAX, Keras 3, XGBoost, LightGBM, TensorFlow, MLX and more, with versions.
Best Keras Alternatives in 2026
The best alternatives to Keras in 2026: PyTorch, Lightning, JAX with Flax, MLX, tinygrad and scikit-learn, with a tested code port and who should stay.
ML Framework for Varying Batch Size: What Works
The best ML framework for varying batch size is PyTorch, with TensorFlow close behind. How torch.compile, tf.function, JAX, MLX and TensorRT handle it.
How to Run Nanbeige4.3 33B Locally
Run Nanbeige4.3 33B locally with llama.cpp, Ollama, LM Studio, MLX or vLLM. GGUF sizes, KV cache math, thinking mode settings and what fits 24 GB.
Tinygrad vs MLX: Which Should You Use?
Tinygrad vs MLX compared for Apple silicon and beyond: hardware support, lazy graphs, JIT and compile, LLM tooling, install and which framework fits your project.
How to Run Muse Spark Open Locally (816B MoE)
Can you run Muse Spark Open locally? Real memory needs by quant (GGUF, MLX, NVFP4), llama.cpp and MLX commands, Mac Studio setups, licence terms and limits.
vLLM vs llama.cpp vs SGLang: Which Should You Use?
vLLM vs llama.cpp vs SGLang in 2026: speed and benchmarks, what vLLM 0.34 changed, how RadixAttention works, hardware, ports and which inference engine to pick.
KV Cache Quantization Explained: q8_0 vs q4_0 Settings
KV cache quantization explained: q8_0 nearly halves cache memory with little loss, q4_0 saves more but can hurt long context. Measured sizes and runtime settings.
Is IBM Granite Free? License, Costs and Limits
Is IBM Granite free? The weights are Apache 2.0 and free to download, run and sell. See which models are not, what watsonx.ai charges and what IBM indemnity covers.
MLX vs PyTorch: Which Framework Fits Your Project?
MLX vs PyTorch compared for Apple silicon and beyond: unified memory, the MPS backend, speed tools, LLM fine tuning, install needs and which one to pick in 2026.
How to Run Qwen3.8 Flash Next Locally
Run Qwen3.8 Flash Next locally with Unsloth GGUF, ISTA GSQ builds, Ollama MLX or Strata: memory by quant, n gram table offload, MTP and thinking settings.
Can a Local LLM Use RAM Instead of VRAM?
Can a local LLM use RAM instead of VRAM? Yes. llama.cpp, Ollama, LM Studio and vLLM can offload to system RAM. Here is how it works and how slow it gets.
How to Run LFM2.5 24B Locally
Run Liquid AI LFM2.5-24B-A2B locally with Ollama, llama.cpp or MLX: VRAM by quant, Q4_K_M sizes, Ollama 0.17.1 caveat, sampling settings and agent tips.
How to Run Qwen 3.8 Locally (VRAM + Setup)
Run Qwen 3.8 locally with Ollama, llama.cpp, LM Studio or vLLM: which quant fits 8, 16 or 24 GB, Mac setup, thinking controls and context memory.
Ollama vs llama.cpp vs LM Studio: Which to Use?
Ollama vs llama.cpp vs LM Studio in 2026, with our speed test on the same GGUF file, ports, licenses, Mac support, the context trap and which runner to pick.
What Is ggml? The Engine Behind llama.cpp
What ggml is, how it relates to GGUF and llama.cpp, what changed in ggml v1.0.0 on Nov 13, 2026, how semantic versioning works now and how to install it.
How to Run Inkling 2 Small Locally
Can you run Inkling 2 Small locally? GGUF sizes from 172 GB, official GPU needs, the llama.cpp branch, vLLM and SGLang setups, MLX status and Apache license.
MLX vs JAX: Which Framework Should You Pick?
MLX vs JAX compared: Apple silicon and unified memory against XLA, TPUs and multihost scale, plus transforms, compilation, LLM tools, install needs and a verdict.
gpt-oss vs Gemma 4: Which Should You Run?
gpt-oss vs Gemma 4 compared on sizes, memory, context, vision, reasoning modes, licence and vendor benchmarks, with a clear pick for each machine and job.
How to Use Open WebUI: Install and Connect Models
How to use Open WebUI: install it with Docker or pip, create the admin account, then connect Ollama, llama.cpp or LM Studio and fix an empty model list.
How to Use LightGBM: Step by Step Guide
How to use LightGBM in 2026: install the Python package, build a Dataset, train with early stopping, use the scikit-learn API, and run on GPU or CUDA.
Tinygrad vs TensorFlow: Which Should You Use?
Tinygrad vs TensorFlow: pick TensorFlow with Keras for production serving and deploy paths, tinygrad for a small readable compiler stack across many GPUs.
TensorFlow vs scikit-learn: Which Should You Use?
TensorFlow vs scikit-learn: use scikit-learn for tables of numbers and classical models, TensorFlow for neural networks on images, text and audio. How to choose.
How to Run GLM 5.3 Flash Locally
Run GLM 5.3 Flash locally with llama.cpp and Unsloth GGUFs, KTransformers or vLLM. VRAM and RAM requirements, which quant fits 128 GB, MTP and settings.