Skip to content

How to use Neptune in parallel computing#

The Neptune client library is thread-safe. This means that you can track data to your run from multiple threads within one Python process.

Within one Python script, calls that log metadata from a run are executed in "First In, First Out" (FIFO) order. However, to avoid potential race condition issues, we advise against modifying a variable from multiple threads.

Info

You can track metadata to several runs at the same time – for example, from a Jupyter notebook.

Each run has a separate FIFO queue and a separate synchronization thread.