Seeded UMAP 0.6 Can Still Optimize In Parallel
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.
Pass
n_jobsabove 1 only withcompatibility_layout=False. Otherwise UMAP overrides it to 1 with a warning. Seen another edge case with this? Add it below.