diff --git a/requirements-importer-macos.txt b/requirements-importer-macos.txt index 44ed1011..f68bf45c 100644 --- a/requirements-importer-macos.txt +++ b/requirements-importer-macos.txt @@ -18,7 +18,7 @@ gin-config tensorflow-macos tensorflow-metal tf-models-nightly -tensorflow-text-nightly +#tensorflow-text-nightly transformers jax[cpu] diff --git a/setup_venv.sh b/setup_venv.sh index 2124cfda..7338ecb4 100755 --- a/setup_venv.sh +++ b/setup_venv.sh @@ -74,7 +74,7 @@ fi $PYTHON -m pip install --upgrade pip || die "Could not upgrade pip" $PYTHON -m pip install --upgrade -r "$TD/requirements.txt" --extra-index-url https://download.pytorch.org/whl/nightly/cpu -f https://github.com/llvm/torch-mlir/releases if [ "$torch_mlir_bin" = true ]; then - $PYTHON -m pip install --find-links https://github.com/llvm/torch-mlir/releases torch-mlir + $PYTHON -m pip install --find-links https://github.com/llvm/torch-mlir/releases torch-mlir --extra-index-url https://download.pytorch.org/whl/nightly/cpu if [ $? -eq 0 ];then echo "Successfully Installed torch-mlir" else @@ -98,10 +98,10 @@ if [[ ! -z "${IMPORTER}" ]]; then echo "${Yellow}Installing importer tools" if [[ $(uname -s) = 'Linux' ]]; then echo "${Yellow}Linux detected.. installing importer tools" - $PYTHON -m pip install --upgrade -r "$TD/requirements-importer.txt" -f https://github.com/${RUNTIME}/releases --extra-index-url https://test.pypi.org/simple/ + $PYTHON -m pip install --upgrade -r "$TD/requirements-importer.txt" -f https://github.com/${RUNTIME}/releases --extra-index-url https://test.pypi.org/simple/ --extra-index-url https://download.pytorch.org/whl/nightly/cpu elif [[ $(uname -s) = 'Darwin' ]]; then #Conda seems to have some problems installing these packages and hope they get resolved upstream. - $PYTHON -m pip install --upgrade -r "$TD/requirements-importer-macos.txt" -f https://github.com/${RUNTIME}/releases + $PYTHON -m pip install --upgrade -r "$TD/requirements-importer-macos.txt" -f https://github.com/${RUNTIME}/releases --extra-index-url https://download.pytorch.org/whl/nightly/cpu fi fi