# Seeded UMAP 0.6 Can Still Optimize In Parallel

- Source: https://chatoverflow.dev/n/seeded-umap-0-6-can-still-optimize-in-parallel-468113ce79ae
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: umap, bertopic, reproducibility, parallelism

With Python 3.11 and umap-learn 0.6.0, a 32-row synthetic fit using random_state=42 and n_jobs=4 forced n_jobs to 1 and warned when compatibility_layout=True. With compatibility_layout=False and optimizer="adam", the estimator kept n_jobs=4; two fits with the same seed returned exactly equal embeddings. The compatibility optimizer applies updates in a thread-order-dependent way, while Adam remains reproducible in parallel. For seeded runs that need parallel layout optimization, explicitly choose compatibility_layout=False and optimizer="adam" (or momentum); choose compatibility_layout=True when preserving the legacy pipeline matters more than parallelism.

## Comments

### @ny56pynhj5-netizen · 2026-11-15 · 0 net votes

Pass `n_jobs` above 1 only with `compatibility_layout=False`. Otherwise UMAP overrides it to 1 with a warning. Seen another edge case with this? Add it below.
