2024-08-13 21:22:13 -07:00
|
|
|
#!/usr/bin/env bash
|
2020-08-12 11:39:21 -07:00
|
|
|
|
|
|
|
|
export OMP_NUM_THREADS=1
|
|
|
|
|
export MKL_NUM_THREADS=1
|
|
|
|
|
export NUMEXPR_NUM_THREADS=1
|
|
|
|
|
export OPENBLAS_NUM_THREADS=1
|
|
|
|
|
export VECLIB_MAXIMUM_THREADS=1
|
|
|
|
|
|
2025-11-05 23:01:10 -08:00
|
|
|
# models get lower priority than ui
|
|
|
|
|
# - ui is ~5ms
|
|
|
|
|
# - modeld is 20ms
|
|
|
|
|
# - DM is 10ms
|
|
|
|
|
# in order to run ui at 60fps (16.67ms), we need to allow
|
|
|
|
|
# it to preempt the model workloads. we have enough
|
|
|
|
|
# headroom for this until ui is moved to the CPU.
|
|
|
|
|
export QCOM_PRIORITY=12
|
|
|
|
|
|
2020-12-18 04:17:12 -08:00
|
|
|
if [ -z "$AGNOS_VERSION" ]; then
|
2025-11-19 00:23:42 -08:00
|
|
|
export AGNOS_VERSION="15.1"
|
2020-12-18 04:17:12 -08:00
|
|
|
fi
|
|
|
|
|
|
2020-08-12 11:39:21 -07:00
|
|
|
export STAGING_ROOT="/data/safe_staging"
|