PixelPatrol SLURM Cluster (pixel-patrol-slurm)
Launches a Dask SLURMCluster, waits for workers to come online, then runs pixel-patrol process against the cluster.
Installation
uv 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 raster-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 1.0.0
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-1.0.0.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pixel_patrol_slurm-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / pixel_patrol_slurm-1.0.0.tar.gz
| Download URL | pixel_patrol_slurm-1.0.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4015e2d2e82d505392b237719bcf5a135ea43359d87ac92de6cdbb1676627f3
|
|
BLAKE2b-256 checksum How to use checksums |
03057b860e1409ace637f35f86076e10f0e1fc9b9406419e261012b4697c41b5
|
| 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-1.0.0-py3-none-any.whl
| Download URL | pixel_patrol_slurm-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39a29d280409d3f8479773d8f3239b355f7a624765b26036b6def110a1989540
|
|
BLAKE2b-256 checksum How to use checksums |
54dcad4f898b057d2c22a6d3952ce9649008bf6f855bcc74b1b01fa437958f06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|