Melikshah's picture
download
raw
637 Bytes
if [ -n "${BASH_VERSION:-}" ]; then _f="${BASH_SOURCE[0]}"; else _f="$0"; fi
_root="$(cd "$(dirname "$_f")/.." && pwd)"
export HF_HOME="$_root/.cache/huggingface"
export HF_HUB_CACHE="$HF_HOME/hub"
export HF_XET_CACHE="$HF_HOME/xet"
export TORCH_HOME="$_root/.cache/torch"
export MPLCONFIGDIR="$_root/.cache/matplotlib"
export XDG_CACHE_HOME="$_root/.cache"
export UV_CACHE_DIR="$_root/.cache/uv"
export HF_HUB_DISABLE_TELEMETRY=1
if [ -z "${HF_TOKEN:-}" ] && [ -f "$_root/.env" ]; then
HF_TOKEN="$(sed -nE 's/^[[:space:]]*(export[[:space:]]+)?HF_READ=//p' "$_root/.env" | tail -n 1 | tr -d "\"'")"
export HF_TOKEN
fi
unset _f _root

Xet Storage Details

Size:
637 Bytes
·
Xet hash:
e6a16ad5ef9a2644afe6af65060b80c271cd473295269a5d0c6b8e04a6d117d0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.