0e942e04c1
- verification/ (hk1k, issste, common) moved out of src/: not in the wheel; the image imports it with PYTHONPATH=/opt/tea-modulo. - python -m verification issste: every biomarker, legacy and modern, on processed/eeg-edf-2025|2026; age from the EDF header inside the task; group numbers only (file names, paths, dates and rows stay in the job). - Pipeline.map (Dask): a task that dies (KilledWorker) becomes an error row instead of stopping the batch. - deploy/verify.sh [hk1k|issste]; issste uses 3 workers x 6 GiB per pod.
74 lines
2.7 KiB
YAML
74 lines
2.7 KiB
YAML
# tea-verify: a cluster check of tea_modulo in its own Dask cluster, 9 pods.
|
|
# hk1k: test suite + HK1K check; 4 workers per pod x 4.25 GiB
|
|
# issste: ISSSTELEÓN check on processed/eeg-edf-2025|2026 (group summaries
|
|
# only); 3 workers per pod x 6 GiB (long recordings)
|
|
# Applied by deploy/verify.sh, which substitutes COMMIT, CHECK, NWORKERS and
|
|
# MEMLIMIT. The eeg-data PVC is NOT mounted; S3 is read in the tasks only.
|
|
apiVersion: kubernetes.dask.org/v1
|
|
kind: DaskJob
|
|
metadata:
|
|
name: tea-verify
|
|
spec:
|
|
job:
|
|
spec:
|
|
restartPolicy: Never
|
|
containers:
|
|
- name: job
|
|
image: 192.168.20.18:5000/tea-verify:COMMIT
|
|
workingDir: /opt/tea-modulo
|
|
command: [sh, -c]
|
|
args:
|
|
- |
|
|
set -e
|
|
export DASK_SCHEDULER="$DASK_SCHEDULER_ADDRESS"
|
|
export MLFLOW_DISABLE_AGENT_HINT=1
|
|
if [ "CHECK" = hk1k ]; then
|
|
python -m pytest -q -p no:cacheprovider -m "not cluster"
|
|
python -m pytest -q -p no:cacheprovider -m cluster
|
|
fi
|
|
python -m verification CHECK --out processed/usuarios/alberto/tea-verify/
|
|
env:
|
|
- {name: OMP_NUM_THREADS, value: "1"}
|
|
- {name: OPENBLAS_NUM_THREADS, value: "1"}
|
|
- {name: MKL_NUM_THREADS, value: "1"}
|
|
resources:
|
|
requests: {memory: 6Gi, cpu: "2"}
|
|
limits: {memory: 6Gi}
|
|
cluster:
|
|
spec:
|
|
worker:
|
|
replicas: 9
|
|
spec:
|
|
containers:
|
|
- name: worker
|
|
image: 192.168.20.18:5000/tea-verify:COMMIT
|
|
args: [dask-worker, --name, $(DASK_WORKER_NAME), --nworkers, "NWORKERS", --nthreads, "1", --memory-limit, MEMLIMIT]
|
|
resources:
|
|
requests: {memory: 19Gi, cpu: "4"}
|
|
limits: {memory: 19Gi}
|
|
env:
|
|
- {name: AWS_ENDPOINT_URL, value: "http://seaweedfs-s3.seaweedfs:8333"}
|
|
- {name: OMP_NUM_THREADS, value: "1"}
|
|
- {name: OPENBLAS_NUM_THREADS, value: "1"}
|
|
- {name: MKL_NUM_THREADS, value: "1"}
|
|
- {name: MLFLOW_DISABLE_AGENT_HINT, value: "1"}
|
|
envFrom:
|
|
- secretRef: {name: seaweed-s3}
|
|
scheduler:
|
|
spec:
|
|
containers:
|
|
- name: scheduler
|
|
image: 192.168.20.18:5000/tea-verify:COMMIT
|
|
args: [dask-scheduler]
|
|
ports:
|
|
- {name: tcp-comm, containerPort: 8786}
|
|
- {name: http-dashboard, containerPort: 8787}
|
|
service:
|
|
type: ClusterIP
|
|
selector:
|
|
dask.org/cluster-name: tea-verify
|
|
dask.org/component: scheduler
|
|
ports:
|
|
- {name: tcp-comm, port: 8786, targetPort: tcp-comm}
|
|
- {name: http-dashboard, port: 8787, targetPort: http-dashboard}
|