Skip to content
Edit this page

Options and the evidence behind them

Every option measured for v0.1.0, with the numbers behind it. Most jobs need none of them: the defaults are the fastest general choice. The six-line "which option do I want?" table is in the README; this page is the reference behind it.

Want Use
More speed on NVIDIA TensorRT: easi.export_tensorrt("yolo11n.pt"), then UltralyticsAdapter("yolo11n.engine"); FP16 for torchvision / Hugging Face models: half=True
Small models (yolo11n/s) at 4K/8K on a 24 GB GPU batch_size=32 (RTX 3090, yolo11n/s FP16 and FP32: 6-16% less time at 4K and 8K vs the default 8; no gain at 1080p, which has only 8 tiles). From 32 up the tiles are split into equal batches. Not on small GPUs: on a 12 GB RTX 3060 yolo11n FP16 was slower at every batch above 8, yolo11x FP16 22% slower at 32, and Faster R-CNN ran out of memory at 8K
Larger models at 4K and above batch_size=16 (yolo11s at 4K on an RTX 3090, frame already on the GPU: 62.6 vs 68.6 ms in FP32, 31.9 vs 35.9 ms in FP16, vs the default 8; more GPU memory; yolo11n FP16 gains nothing)
Batch picked from free GPU memory batch_size="auto" (at most 16 tiles per call). It picked 16 for YOLO models on both GPUs we measured, so it runs like batch_size=16: faster than 8 for yolo11s at 4K/8K (RTX 3090 and 3060) and for yolo11n FP32 on the 3090, but slower on a 12 GB RTX 3060 for yolo11n FP16 (14-22% at 4K/8K) and yolo11x (FP16 25-30%, FP32 12-19% at 4K/8K). Use it to avoid running out of memory with heavy models on small GPUs (it picked 5-16 for Faster R-CNN at 8K and never ran out of memory)
Exact FP32 results half=False
Memory layout on CUDA FP16 channels_last="auto" (default): on NVIDIA CUDA in FP16, cuts latency 10–15% at 4K/8K with no accuracy loss (yolo11s FP16). Automatically off on AMD ROCm and CPU/MPS
Fewer tiles overlap_ratio=0.1 or 0.05: seam fusion loses little accuracy at low overlap (at 0.05: -0.13 AP vs 0.2, still above NMS at 0.2, measured on an earlier build, 2026-11-10; 640 px tiles at 10%: 12.5% fewer tiles at 4K, 17% at 8K, none at 1080p)
Fewer wrong boxes at tile edges edge_cleanup="aggressive": compared with EASI's first clean-up rule it removes about as many wrong tile-edge boxes (+1%) and loses 26% fewer real objects; the default "balanced" loses about half as many real objects (-52%) and removes 14% fewer wrong boxes at 640 px tiles. Both raised AP on every VisDrone/DOTA split we tested (earlier build, not repeated in the release run)
Keep every tile-edge piece edge_cleanup="off"
Fewer duplicate boxes at a fixed score threshold, Ultralytics YOLO UltralyticsAdapter(..., iou=0.5): the NMS inside each tile (default 0.7) removes boxes that overlap a better one by more than this. 0.5 removes more duplicates but also more neighbouring objects in crowds. Measured on the full splits (fine-tuned yolo11s/n, VisDrone val and test-dev; COCO yolo11s, VisDrone and DOTA val): on VisDrone F1 at score 0.3 +0.04 to +0.15 points and recall (AR500) -0.2 to -0.4; on DOTA val almost no change (F1 +0.002, AR500 -0.06); AP within 0.07 either way. The default stays 0.7, as Ultralytics' own val uses; Ultralytics' predict() uses 0.5 since 8.4.208 (earlier build, not repeated in the release run)
Small objects slice_size=320 (tiles are enlarged to the model's 640 px input) with a model trained on 320 px tiles: a model trained on 640 px tiles can lose AP there (fine-tuned yolo11s: VisDrone test-dev 0.2510 at 320 px tiles vs 0.2623 at 640, though val gains, 0.3437 vs 0.3344). The same recipe trained on 320 px tiles gives 0.2766 on test-dev, for 2.5-4x the time (RTX 3090, FP16, frame from CPU, 1080p-8K). With full_frame_size=1280 and multi_label=True as well: 0.2986 on test-dev (v0.1 release run); the 1280 pass adds about 7 ms per frame to 320 px tiles (yolo11s FP16: +21% at 1080p, +5% at 4K, +2% at 8K) and multi-label nothing measurable (docs/benchmarks/results.md)
Most accuracy for the time (opt-in, Ultralytics models) full_frame_size=1280: one more pass over the whole image at 1280 px, keeping its shape. VisDrone val AP (v0.1 code, FP16 accuracy runs): fine-tuned yolo11s 0.3503 vs 0.3341, COCO yolo11s 0.2022 vs 0.1923 (FP16). The pass adds 6-10 ms per frame on an RTX 3090 in FP16 (frame already on the GPU): yolo11s +73% at 1080p, +20% at 4K, +7% at 8K; yolo11n +99%, +38%, +11%. Stacks with flip: fine-tuned yolo11s 0.3551 with both. A larger pass gains more (1920: 0.3604, COCO 0.2137) for the same added time at 4K and 8K. Exported (TensorRT) models cannot run it
Small, crowded objects (opt-in, Ultralytics models) EASI(zoom_size=1280): a tile with several small boxes is run a second time at 2x, and both views are fused. Fine-tuned yolo11s (v0.1 release run): VisDrone test-dev AP +1.35 (0.2621 to 0.2756), val +2.83 (0.3341 to 0.3624), both FP16; with the 1280 full pass and multi-label +4.41 on val (FP16) and +2.90 on test-dev (FP32). Only the tiles that need it are re-run: one call took +50-70% at 1080p-8K (RTX 3090, FP16, frame from CPU, yolo11s), about 1.5x the time per image on test-dev (T4, FP32) and 2.5x on val (T4, FP16; 2x in FP32); on the two smaller VisDrone frame sizes (1360x765, 960x540) +127% and +160%. Not on DOTA (no change)
Higher AP/recall over all scores, Ultralytics YOLO (opt-in) multi_label=True (easi.predict(..., multi_label=True) or UltralyticsAdapter(..., multi_label=True)): a box the model is unsure about also comes out under its other likely classes, each with its own lower score, as Ultralytics' own val decodes. Fine-tuned VisDrone yolo11s / yolo11n: AP +1.37 / +1.49 on val, +1.13 / +1.16 on test-dev, AR500 +3.5 to +4.9 (FP16, v0.1 release code). At conf=0.25 it changes little (+0.8% boxes, same precision and recall). Fusion takes longer: +28% to +51% at conf=0.05 and about +40% at conf=0.25 (Mac CPU); on an RTX 3090 (FP16, yolo11n/s, 1080p-8K) a whole call took 0-3% longer (one noisy 8K point aside). It helps ranking-based use (AP, trackers that keep low scores), not a fixed threshold. Not in our comparison tables against other libraries, which all use one label per box
More accuracy, slower (opt-in) flip_tta=True: +0.02 to +0.77 AP on all 13 models we tested (VisDrone val, v0.1 release run), for about 2x the time with YOLO models (yolo11s FP16, frame already on the GPU: 18.9 vs 9.6 ms at 1080p, 63.6 vs 31.9 ms at 4K) and 2-4x with RT-DETR and the torchvision models (earlier build)
Large objects only full_frame_pass=True also runs the whole image at the tile size: large objects score higher on 11 of 13 models (yolo11s AP_large 0.646 vs 0.610), while overall AP drops slightly on 11 of 13 (by at most 0.005; earlier build, not repeated in the release run)
No warm-up on the first frames UltralyticsAdapter(..., compile=False): the default compile="auto" builds a CUDA graph on the first call per batch size (tens of seconds once), then reuses it; it falls back to eager by itself if compiling fails

TensorRT engines run only on the GPU model, driver and TensorRT version they were built with: build them with export_tensorrt on the machine that will run them (a mismatched engine raises an error that says so), or ship the .pt weights.

Back to the README.