Skip to content
Edit this page

Apple M3 Pro (MPS and CPU)

EASI on an Apple laptop, run on 2026-11-27. These numbers are kept apart from the NVIDIA tables in results.md and should not be compared with them directly.

Setup. Apple M3 Pro, plugged in. PyTorch 2.11.0, torchvision 0.26.0, Ultralytics 8.4.207, obss/sahi 0.14.0, supervision 0.31.6, Numba 0.68.1. 640 px tiles with 20% overlap, batch 16, FP32, the same weights and confidence threshold for every library. Milliseconds per frame, median, lower is better. Each table is the first of two passes.

Code. The GPU runs use a build after v0.1.0. The CPU runs also include the thread-count fix described below, which v0.1.0 does not have.

Apple GPU (MPS)

model frame EASI supervision obss/sahi Ultralytics tile EASI, frame on GPU
yolo11n.pt 1080p 50.3 66.8 73.3 68.7 48.3
yolo11n.pt 4k 169.0 214.4 253.1 209.7 166.7
yolo11n.pt 8k 702.7 881.2 1024.5 869.3 682.6
yolo11s.pt 1080p 90.7 107.3 116.7 109.8 89.4
yolo11s.pt 4k 322.1 367.8 402.7 364.7 319.3
yolo11s.pt 8k 1370.3 1558.2 1707.6 1528.6 1358.8
  • EASI was the fastest in every row in both passes, by 1.12-1.34x over the next best. The margin is smaller for the larger model, where the network takes most of the time.
  • The second pass was within 5.2% of the first.
  • A frame already on the GPU saves little: the Mac's memory is shared.

CPU only

model frame EASI supervision obss/sahi Ultralytics tile
yolo11n.pt 1080p 247.7 251.0 263.9 249.8
yolo11n.pt 4k 968.0 986.2 1026.4 977.0
yolo11s.pt 1080p 486.4 516.1 494.1 481.7
yolo11s.pt 4k 1941.3 1919.8 1969.8 1918.6
  • On the CPU the libraries are close: EASI took 0.99-1.01x the time of the fastest other library. The network is nearly all of the time.
  • Timed calls: 5 per row; the second pass was within 7.3% of the first.

Running EASI on a Mac

pip install "easi-cv[ultralytics,fast]"

easi.predict picks the Apple GPU on its own. Pass device="cpu" to stay on the CPU. FP16 is not used on MPS or the CPU. TensorRT and GPU JPEG decoding are NVIDIA only.

CPU threads with Ultralytics models

Importing Ultralytics leaves PyTorch on one thread. In v0.1.0 EASI stayed there: a 1080p frame took 608 ms with yolo11n, against 249 ms after the fix. The fixed version sets Ultralytics' own thread count before its first CPU call (see Threads and streams). On v0.1.0, call this at the start of your script:

import torch

torch.set_num_threads(8)