Skip to main content

Coverage Status PyTest PyPI version zincware

Dask4DVC - Distributed Node Exectuion

DVC provides tools for building and executing the computational graph locally through various methods. The dask4dvc package combines Dask Distributed with DVC to make it easier to use with HPC managers like Slurm.

The dask4dvc repro package will run the DVC graph in parallel where possible. Currently, dask4dvc run will not run stages per experiment sequentially.

:warning: This is an experimental package not affiliated in any way with iterative or DVC.

Usage

Dask4DVC provides a CLI similar to DVC.

  • dvc repro becomes dask4dvc repro.
  • dvc queue start becomes dask4dvc run

You can follow the progress using dask4dvc <cmd> --dashboard.

SLURM Cluster

You can use dask4dvc easily with a slurm cluster. This requires a running dask scheduler:

from dask_jobqueue import SLURMCluster

cluster = SLURMCluster(
    cores=1, memory='128GB',
    queue="gpu",
    processes=1,
    walltime='8:00:00',
    job_cpu=1,
    job_extra=['-N 1', '--cpus-per-task=1', '--tasks-per-node=64', "--gres=gpu:1"],
    scheduler_options={"port": 31415}
)
cluster.adapt()

with this setup you can then run dask4dvc repro --address 127.0.0.1:31415 on the example port 31415.

You can also use config files with dask4dvc repro --config myconfig.yaml. All dask.distributed Clusters should be supported.

default:
  SGECluster:
    queue: regular
    cores: 10
    memory: 16 GB

dask4dvc repro

Metadata

Release files for dask4dvc 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dask4dvc 0.2.3
File Size Uploaded Provenance
dask4dvc-0.2.3.tar.gz 11.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dask4dvc 0.2.3
File Interpreter ABI Platform
dask4dvc-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 24.1 kB

Release files / dask4dvc-0.2.3.tar.gz

Download URL dask4dvc-0.2.3.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
de696c0c9e79f5583a4352434bee41f321113bb19f8a7303fa3627a82bc3accb
BLAKE2b-256 checksum
How to use checksums
f7b618163d26a00668f314f1d3c3146ec93fa9f1fe78e0253ae0cad0216c4a3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.8 Linux/5.19.0-40-generic

Release files / dask4dvc-0.2.3-py3-none-any.whl

Download URL dask4dvc-0.2.3-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5adf2f493794d8f5750d32ce3ed834859d2826491d3c18c987b267b553ddc82
BLAKE2b-256 checksum
How to use checksums
17860e1d09f8e95893fe21b2715eaccbbc287baa7650dc7fe079172827d136ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.8 Linux/5.19.0-40-generic

Security for dask4dvc 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page