Skip to content

Commit

Permalink
[docker] Adds performance tuning env var for aarch64 (#1531)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu authored Feb 6, 2024
1 parent 927b029 commit 3e91fb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions serving/docker/aarch64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ ENV JAVA_OPTS="-Xmx1g -Xms1g -XX:+ExitOnOutOfMemoryError -Dai.djl.default_engine
ENV MODEL_SERVER_HOME=/opt/djl
ENV HUGGINGFACE_HUB_CACHE=/tmp/.cache/huggingface/hub
ENV TRANSFORMERS_CACHE=/tmp/.cache/huggingface/transformers
ENV DNNL_DEFAULT_FPMATH_MODE=BF16
ENV LRU_CACHE_CAPACITY=1024

ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh"]
CMD ["serve"]
Expand Down

0 comments on commit 3e91fb6

Please sign in to comment.