From c903c253b9467dd66b497f53122863d654a96a0f Mon Sep 17 00:00:00 2001 From: Guofang Date: Mon, 9 Nov 2026 00:20:57 +0800 Subject: [PATCH] Update hf alias to include HF_HUB_OFFLINE environment variable --- bash_guofang | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bash_guofang b/bash_guofang index 1017aeb..9b6c958 100644 --- a/bash_guofang +++ b/bash_guofang @@ -1,4 +1,5 @@ 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="all_proxy=http://localhost:3128 hf" +alias hf="env -u HF_HUB_OFFLINE all_proxy=http://localhost:3128 hf" export HF_HUB_CACHE=/data/guofang/.cache/huggingface/hub +export HF_HUB_OFFLINE=1