Skip to main content

cluv

cluv — sync UV-based Python projects across HPC clusters.

Status

In early development. Commands are functional, but expect bugs or missing features.

Requirements

  • Python >= 3.13
  • UV
  • SSH access configured for each cluster in ~/.ssh/config
  • A GitHub repository with your project

Installation

To add cluv to your project, use uv add or pip install:

uv add cluster-uv

To also include the Cluv Hydra launcher:

uv add cluster-uv[hydra]

Install as a command-line tool in an isolated environment:

uv tool install cluster-uv

If you want the bleeding edge version from GitHub, use:

uv add git+https://github.com/mila-iqia/cluv

Then you can run cluv directly as a command:

cluv init
cluv login mila
cluv sync mila
cluv submit mila job.sh

Documentation

  • Cluv is documented at https://mila-iqia.github.io/cluv/.
  • Command line help : Use cluv --help or cluv <command> --help.
  • Examples : See the examples folder for sample projects using cluv. Each example includes a README with instructions specific to that project.

Quick Start

  1. Initialize your project with:
    cluv init
    
  2. Establish SSH connections to all configured clusters:
    cluv login
    
  3. Sync your project to all clusters and run uv sync on each:
    cluv sync
    

Configuration

Add a [tool.cluv] section to the pyproject.toml of your project to manage the behavior of the tool. The command cluv init will add a default config if it doesn't already exists in the .toml.

See the config at the project root for an example, or refer to the docs.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cluster_uv-0.1.0.tar.gz (199.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cluster_uv-0.1.0-py3-none-any.whl (72.9 kB view details)

Uploaded Python 3

File details

Details for the file cluster_uv-0.1.0.tar.gz.

File metadata

  • Download URL: cluster_uv-0.1.0.tar.gz
  • Upload date:
  • Size: 199.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for cluster_uv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 01926c7e2860af77f25aef30b14c97b83d38fc6fa38d4a87e34fa255b194fef5
MD5 e4afe9dbce4d79d06804734e10710501
BLAKE2b-256 2afd1b6e62ca040be55ef0629b1d0bad68c2fe3bfea5167b4cf61dcb75161441

See more details on using hashes here.

Provenance

The following attestation bundles were made for cluster_uv-0.1.0.tar.gz:

Publisher: publish.yaml on mila-iqia/cluv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cluster_uv-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cluster_uv-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 72.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for cluster_uv-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ce8eef6b624117f4428a1b9fb3fb58ee4604d2ad3d265e853eb0e40abd08660
MD5 bf3fc74029aac2af51bd69b272d3f764
BLAKE2b-256 95a3cbd4d2286f45e235806044b531e1b1287db96b1336fcb4d2b1f209726f99

See more details on using hashes here.

Provenance

The following attestation bundles were made for cluster_uv-0.1.0-py3-none-any.whl:

Publisher: publish.yaml on mila-iqia/cluv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

2 files

0.0.2

2 files

0.0.1.post1

2 files

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