update HF HUB env var and fix reward trainer log since it doesn't directly override log

This commit is contained in:
Wing Lian
2024-12-06 14:52:59 -05:00
parent 3b44989205
commit 825f66b9fd
3 changed files with 2 additions and 8 deletions

View File

@@ -2,7 +2,7 @@ ARG BASE_TAG=main
FROM axolotlai/axolotl:$BASE_TAG
ENV HF_DATASETS_CACHE="/workspace/data/huggingface-cache/datasets"
ENV HUGGINGFACE_HUB_CACHE="/workspace/data/huggingface-cache/hub"
ENV HF_HUB_CACHE="/workspace/data/huggingface-cache/hub"
ENV HF_HOME="/workspace/data/huggingface-cache/hub"
ENV HF_HUB_ENABLE_HF_TRANSFER="1"