mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-28 00:53:45 +08:00
0db0d2f589
Manage software updates and AGNOS retained state through explicit manifests and update preferences. Co-authored-by: Daniel Koepping <elkoled@gmail.com> Co-authored-by: Prabhaav Pillai <prabhaav@msu.edu> Co-authored-by: firestarsdog <229254897+firestarsdog@users.noreply.github.com> Co-authored-by: dirwin31 <83434411+dirwin31@users.noreply.github.com>
30 lines
740 B
Bash
Executable File
30 lines
740 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
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
|
|
|
|
# Use the dependency environment supplied by the retained custom image.
|
|
if [ -x /usr/local/venv/bin/python3 ]; then
|
|
export PATH="/usr/local/venv/bin:$PATH"
|
|
fi
|
|
|
|
# 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
|
|
|
|
if [ -z "$AGNOS_VERSION" ]; then
|
|
export AGNOS_VERSION="19.8.1"
|
|
fi
|
|
|
|
export AGNOS_UPDATE_POLICY="auto"
|
|
|
|
export STAGING_ROOT="/data/safe_staging"
|