PixelPatrol SLURM Launcher (pixel-patrol-slurm)
Launches a Dask SLURMCluster, waits for workers to come online, then runs pixel-patrol process against the cluster.
Installation
pip install pixel-patrol-slurm
Usage
pixel-patrol-slurm [SLURM options] -- BASE_DIR [pixel-patrol process options]
Arguments before -- control the Slurm cluster.
Arguments after -- are passed verbatim to pixel-patrol process (--scheduler is injected automatically).
Examples
# Minimal - use defaults (4 jobs, 4 cores, 16 GB, 2 h walltime)
pixel-patrol-slurm -- /data/images --output results.parquet
# Custom cluster
pixel-patrol-slurm --jobs 16 --cores 4 --memory 32GB --partition gpu \
-- /data/images --output results.parquet --flavor myproject
# Short walltime, fewer jobs
pixel-patrol-slurm --walltime 04:00:00 --jobs 8 \
-- /data/images -o out.parquet --processors-exclude histogram
Options
| Flag | Default | Description |
|---|---|---|
--jobs |
4 | Number of Slurm jobs (workers) to submit |
--cores |
4 | CPU cores per job |
--memory |
16GB | Memory per job |
--partition |
(none) | Slurm partition / queue name |
--walltime |
02:00:00 | Job walltime HH:MM:SS |
--processes |
1 | Dask worker processes per job |
--wait |
60 | Seconds to wait for workers to start |
--min-workers |
1 | Minimum workers before proceeding |
--env-extra |
(none) | Extra environment string, e.g. 'module load cuda' |
Metadata
Release files for pixel-patrol-slurm 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pixel_patrol_slurm-0.9.1.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pixel_patrol_slurm-0.9.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / pixel_patrol_slurm-0.9.1.tar.gz
| Download URL | pixel_patrol_slurm-0.9.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ad51c2503fa7b708cfe6f5c42a502fe14e1fcb2afa80c7dc75302e9e290b9f5
|
|
BLAKE2b-256 checksum How to use checksums |
1d3a066e41e95753b198881f9e69a61d9b4cf4eae5d6cc672d444cccfb351926
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pixel_patrol_slurm-0.9.1-py3-none-any.whl
| Download URL | pixel_patrol_slurm-0.9.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61573e27a48daf945f80aaa88ae1d8961ca958e67e62b1091f9418609fdb9fc0
|
|
BLAKE2b-256 checksum How to use checksums |
143f5903bfabc816bd97f80a998d04459293acfd31e782354e6c6427205db9cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|