From 9c003e48f8bbd9ae967b5a7e332ccea1b5f28edd Mon Sep 17 00:00:00 2001 From: Guofang Date: Tue, 10 Nov 2026 10:20:04 +0800 Subject: [PATCH] Update HF_HUB_CACHE export to set HF_HOME for huggingface cache directory --- bash_guofang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_guofang b/bash_guofang index 726fbe7..584c260 100644 --- a/bash_guofang +++ b/bash_guofang @@ -2,6 +2,6 @@ alias claude='env -u TERM_PROGRAM https_proxy=http://localhost:3128 claude' alias codex="all_proxy=http://localhost:3128 codex --dangerously-bypass-approvals-and-sandbox" alias hf="env -u HF_HUB_OFFLINE all_proxy=http://localhost:3128 hf" if [ -d /data/guofang ]; then - export HF_HUB_CACHE=/data/guofang/.cache/huggingface/hub + export HF_HOME=/data/guofang/.cache/huggingface fi export HF_HUB_OFFLINE=1