cluv (from 'cluster' + 'uv') - A versatile tool to work with uv python projects across HPC clusters.
Project description
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 --helporcluv <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
- Initialize your project with:
cluv init - Establish SSH connections to all configured clusters:
cluv login - Sync your project to all clusters and run
uv syncon 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.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cluster_uv-0.0.2.tar.gz.
File metadata
- Download URL: cluster_uv-0.0.2.tar.gz
- Upload date:
- Size: 194.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
466653c7e24c7d59fae9a6ef873365b685776ee3c06ee75ecce2e1fb9a6fa882
|
|
| MD5 |
bace328ee02fd8a9fabe16c32978e52d
|
|
| BLAKE2b-256 |
16fdd2ce09a6b4a6d721359b6ace4dc646fac96c5d3ee85a76f4921b5787e4a7
|
Provenance
The following attestation bundles were made for cluster_uv-0.0.2.tar.gz:
Publisher:
publish.yaml on mila-iqia/cluv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cluster_uv-0.0.2.tar.gz -
Subject digest:
466653c7e24c7d59fae9a6ef873365b685776ee3c06ee75ecce2e1fb9a6fa882 - Sigstore transparency entry: 2218512540
- Sigstore integration time:
-
Permalink:
mila-iqia/cluv@4410549001915e477b20b961f5a4d2cfd7b5b573 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/mila-iqia
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@4410549001915e477b20b961f5a4d2cfd7b5b573 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file cluster_uv-0.0.2-py3-none-any.whl.
File metadata
- Download URL: cluster_uv-0.0.2-py3-none-any.whl
- Upload date:
- Size: 68.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
008c187ed9653ada647237afc4eeadb5453ea1eedc56ca9b14056606b5815061
|
|
| MD5 |
487a6f77cb820bad8e59002c6b890f96
|
|
| BLAKE2b-256 |
948d9cba61aaf78881f27fde5d2420c2f427e32f28cad58346f985b3c7fad128
|
Provenance
The following attestation bundles were made for cluster_uv-0.0.2-py3-none-any.whl:
Publisher:
publish.yaml on mila-iqia/cluv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cluster_uv-0.0.2-py3-none-any.whl -
Subject digest:
008c187ed9653ada647237afc4eeadb5453ea1eedc56ca9b14056606b5815061 - Sigstore transparency entry: 2218512593
- Sigstore integration time:
-
Permalink:
mila-iqia/cluv@4410549001915e477b20b961f5a4d2cfd7b5b573 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/mila-iqia
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@4410549001915e477b20b961f5a4d2cfd7b5b573 -
Trigger Event:
workflow_dispatch
-
Statement type: