0ee5263419
python -m verification mlflow [--uri] [--table]: both plans and the 9 biomarkers in both implementations, registered as tea_modulo-test.*; falls back to a local store (mlflow_local/, kept) when the server does not answer. The HK1K check registers HK1K-trained baselines when TEA_MLFLOW_URI answers from the job.
75 lines
2.8 KiB
YAML
75 lines
2.8 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"}
|
|
- {name: TEA_MLFLOW_URI, value: "http://10.0.10.41:5000"}
|
|
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}
|