You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for conda_path in "$conda_init" "$HOME/miniconda3/etc/profile.d/conda.sh" "$HOME/anaconda3/etc/profile.d/conda.sh" "$HOME/miniforge3/etc/profile.d/conda.sh" "/opt/conda/etc/profile.d/conda.sh" "/usr/etc/profile.d/conda.sh" "/etc/profile.d/conda.sh"; do
if [ -n "$conda_path" ] && [ -f "$conda_path" ]; then
source "$conda_path"
break
fi
done
if ! command -v conda &> /dev/null; then
echo "Error: conda not found. Install miniconda and try again." >&2
exit 1
fi
fi
# Activate conda environment if CONDA_DEFAULT_ENV is set but not active
if [ -n "${CONDA_DEFAULT_ENV:-}" ] && [ "${CONDA_PREFIX:-}" = "" ]; then
conda activate "$CONDA_DEFAULT_ENV"
fi
python3 -m ensurepip --upgrade
python3 -m pip install --upgrade pip
conda install conda-forge::rsync -y
# Build the third-party/rccl bits. build_rccl.sh clones ROCm rccl and runs
# ./install.sh in the rccl directory.
# Any arguments (e.g. --custom-branch <branch>) are forwarded to build_rccl.sh.
# Pass --custom-branch to force a build even when a system librccl.so exists.
ONLY_FUNCS="AllReduce * * Sum f32" ./comms/github/build_rccl.sh "$@"