21 lines
564 B
Bash
21 lines
564 B
Bash
# Note: This script should be sourced, not executed
|
|
# Usage: source env.sh
|
|
#
|
|
# If you need render group permissions, run this first:
|
|
# newgrp render
|
|
# Then source this script:
|
|
# source env.sh
|
|
|
|
# Initialize conda
|
|
source /mnt/ASC1637/miniconda3/etc/profile.d/conda.sh
|
|
|
|
# Activate conda environment
|
|
conda activate unifolm-wma-o
|
|
|
|
# Set HuggingFace cache directories
|
|
export HF_HOME=/mnt/ASC1637/hf_home
|
|
export HUGGINGFACE_HUB_CACHE=/mnt/ASC1637/hf_home/hub
|
|
|
|
echo "Environment configured successfully"
|
|
echo "Conda environment: unifolm-wma-o"
|
|
echo "HF_HOME: $HF_HOME" |