captions/code/caption_all.submit
Michał Szczepanik 9016aeedac Flock on push and pull, queue only webm files
This is a workaround to some clone attempts being rejected (a proper
solution would probably be to clone from a local mirror, which we
actually do have, but I keep using forgejo to see how it goes). This
locking introduces a double bottleneck, but for a limited number of
jobs this should be acceptable.

Additionally, the scheduled jobs are restricted to only the webm
files (the previous glob matched mp4 and json as well).
2025-04-04 21:35:01 +02:00

21 lines
616 B
Text

universe = vanilla
getenv = True
request_cpus = 4
request_memory = 8G
log = $ENV(HOME)/condor/logs/$(Cluster).$(Process).log
output = $ENV(HOME)/condor/logs/$(Cluster).$(Process).out
error = $ENV(HOME)/condor/logs/$(Cluster).$(Process).err
# assumes that we are submitting from the dataset root
executable = code/wrap_caption.bash
environment = "\
DS_CLONE_URL=ssh://git@hub.datalad.org/distribits/captions.git \
DS_LOCKFILE=$ENV(HOME)/dslockfile \
DS_TARGET_PATH=/tmp/ds \
VIRTUALENV_PATH=$ENV(PWD)/venv/whisperx \
"
arguments = $(filename)
queue filename matching files recordings/distribits2024/*webm