Skip to content

phvv-me/lote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lote banner

CI Publish PyPI Python Docs Coverage

Warning lote is early (0.0.x). The config and commands may still change.

Installation

pip install lote            # the lote command, ready to use
chefe add lote --pypi       # or pull it into a chefe project

The command is lote. It drives each host through chefe, which lote setup installs for you and which brings up pixi on first run.

What it is

You have a laptop and a handful of machines, each one running a different scheduler and expecting a different incantation. lote is one bridge over all of them. You pick a host, lote rsyncs your repo there, runs your job under whatever scheduler that host has (pueue, slurm, pbs, or bare bash), and pulls the results back. One job script runs anywhere, no code changes.

It works in three layers. The control plane lote onboards hosts, dispatches jobs, and tracks them across your machines. The on-host executor lote exec runs, submits, and monitors a single job on one machine. Underneath are typed clients over qsub, sbatch, pueue, and rsync. Targets come from your ~/.ssh/config aliases, so there is nothing new to declare.

Usage

lote setup dgx                          # onboard: probe, sync, install the env, start the queue
lote submit dgx train.sh                # ship the repo, launch the job, get a handle back
lote submit auto train.sh --needs 40    # or route to the smallest host that fits
lote ps                                 # recent runs across every target
lote pull <handle>                      # rsync the run's results back home

Tip lote reconcile <target> shows each run's live state, exit code, and a verdict (ok, failed, running, vanished). The docs cover the full command set.

Lore

A lote is a load shipped as one consignment. lote ships your work the same way: pick a machine, send the job, bring the results home.

About

One command plane for your machines | dispatch jobs to any host, run them under any scheduler, pull results back.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors