Parallel execution of DVC stages
Project description
paraffin
Paraffin, derived from the Latin phrase parum affinis
meaning
little related
, is a Python package designed to run DVC
stages in parallel. While DVC does not currently support this directly, Paraffin
provides an effective workaround. For more details, refer to the DVC
documentation on
parallel stage execution.
[!WARNING] Although DVC supports running multiple
dvc repro
commands simultaneously, spawning many workers that finish at the same time may lead to DVC lock issues and unexpected failures.
Installation
Install Paraffin via pip:
pip install paraffin
Usage
To use Paraffin, you can run the following to run up to 4 DVC stages in parallel:
paraffin -n 4 <stage names>
If you have pip install dash
you can also access the dashboard by running
paraffin --dashboard <stage names>
For more information, run:
paraffin --help
[!TIP] If you are building Python-based workflows with DVC, consider trying our other project ZnTrack for a more Pythonic way to define workflows.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file paraffin-0.1.3.tar.gz
.
File metadata
- Download URL: paraffin-0.1.3.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a7c3522da113d099cfcaea4c080b3423f935da538ff5a5ae529347fa2aef038 |
|
MD5 | 3a26fa71c76a0632f38ffe0162878088 |
|
BLAKE2b-256 | 862dc17c108ebc7f20963af66e99b6cefc5ee4862c1637488b6968bb02aa9054 |
File details
Details for the file paraffin-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: paraffin-0.1.3-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a39c64f28211ea68523dd3e09bf60031833bb153bc22734645baf5ad4d94d5bb |
|
MD5 | 6ee78fc19ae17278f05c52223c67f978 |
|
BLAKE2b-256 | 0c0a25299f57247e490e04d17c9e1818114f729990780a87d81cb2ef51fabdab |