diff --git a/.github/workflows/test-models.yml b/.github/workflows/test-models.yml index cf266d02..c4965d45 100644 --- a/.github/workflows/test-models.yml +++ b/.github/workflows/test-models.yml @@ -36,8 +36,6 @@ jobs: suite: cuda - os: ubuntu-latest suite: cpu - - os: MacStudio - suite: vulkan - os: MacStudio suite: cuda - os: MacStudio diff --git a/setup_venv.sh b/setup_venv.sh index e256b2d6..6e778286 100755 --- a/setup_venv.sh +++ b/setup_venv.sh @@ -77,7 +77,8 @@ $PYTHON -m pip install --upgrade pip || die "Could not upgrade pip" $PYTHON -m pip install --upgrade -r "$TD/requirements.txt" if [ "$torch_mlir_bin" = true ]; then if [[ $(uname -s) = 'Darwin' ]]; then - echo "MacOS detected. Please install torch-mlir from source or .whl, as dependency problems may occur otherwise." + echo "MacOS detected. Installing torch-mlir from .whl, to avoid dependency problems with torch." + $PYTHON -m pip install --pre --no-cache-dir torch-mlir -f https://llvm.github.io/torch-mlir/package-index/ -f https://download.pytorch.org/whl/nightly/torch/ else $PYTHON -m pip install --pre torch-mlir -f https://llvm.github.io/torch-mlir/package-index/ if [ $? -eq 0 ];then @@ -104,7 +105,7 @@ else echo "Not installing a backend, please make sure to add your backend to PYTHONPATH" fi -$PYTHON -m pip install -e . -f https://llvm.github.io/torch-mlir/package-index/ -f ${RUNTIME} +$PYTHON -m pip install -e . -f https://llvm.github.io/torch-mlir/package-index/ -f ${RUNTIME} -f https://download.pytorch.org/whl/nightly/torch/ if [[ ! -z "${IMPORTER}" ]]; then echo "${Yellow}Installing importer tools.."