Update hf alias to include HF_HUB_OFFLINE environment variable
This commit is contained in:
1 parent
9a6feb1e5a
commit
c903c253b9
1 file changed
+2
-1
+2
-1
@@ -1,4 +1,5 @@
|
|||||||
alias claude='env -u TERM_PROGRAM https_proxy=http://localhost:3128 claude'
|
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 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_CACHE=/data/guofang/.cache/huggingface/hub
|
||||||
|
export HF_HUB_OFFLINE=1
|
||||||
Reference in new issue
Block a user