EMRY-067: emry slurm-wrap helper #111
Labels
No labels
blocked
bug
compat
docs
documentation
duplicate
emry-cli
emry-core
emry-engine
emry-ingest
emry-py
emry-store
emry-tui
emry-web
enhancement
good first issue
gpu-compute
help wanted
hpc
infra
integrations
invalid
needs-design
P0-blocker
P1-core
P2-enhanced
P3-future
performance
pull-request
python
pytorch
question
rust
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
femboy/emry#111
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A CLI that runs the SLURM sidecar pattern (from the runbook) as one command: start the engine, bind a socket, point the training command at it, run it, drain, clean up.
emry slurm-wrap [--project NAME] [--socket PATH] [--log-dir DIR] -- <training command…>… engine --project --socket --log-dir), waits for the socket, then runs the command withEMRY_MODE=sidecar+EMRY_SOCKETset (stdio inherited).RUN_FINISHED, then terminates it if still blocked onaccept(). Propagates the command's exit code.$TMPDIR/emry-{SLURM_JOB_ID or pid}.sock.