sgl-xr / setup_sgl_2b_env.sh
xiaohaoWillX's picture
Add files using upload-large-folder tool
4ab6037 verified
raw
history blame contribute delete
372 Bytes
set -e
ENV_NAME=${1:-sgl2b}
if conda env list | awk '{print $1}' | grep -qx "sgl26b"; then
conda create -y -n "${ENV_NAME}" --clone sgl26b
echo "Cloned sgl26b into ${ENV_NAME}"
exit 0
fi
echo "sgl26b was not found."
echo "Create a fresh environment manually following the official InternVL dependency stack, then install this repo in editable mode."
exit 1