mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-08 11:25:51 +08:00
* Revert "modeld: fix capnp memory leak (#38117)" This reverts commit0f17a98793. * Revert "fix memory leak from pycapnp 2.2+ (#38001)" This reverts commit294cb687f6. * downgrade * agnos 18.4
23 lines
541 B
Bash
Executable File
23 lines
541 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
|
|
|
|
# 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="18.4"
|
|
fi
|
|
|
|
export STAGING_ROOT="/data/safe_staging"
|