Revert to 20231212

This commit is contained in:
Ean Garvey
2024-01-09 12:31:38 -06:00
parent 1c094d96eb
commit 80906155f8
4 changed files with 6 additions and 6 deletions

View File

@@ -6,8 +6,8 @@ requires = [
"numpy>=1.22.4",
"torch-mlir>=20230620.875",
"iree-compiler==20231206.*",
"iree-runtime==20231206.*",
"iree-compiler==20231212.*",
"iree-runtime==20231212.*",
]
build-backend = "setuptools.build_meta"

View File

@@ -11,8 +11,8 @@ PACKAGE_VERSION = os.environ.get("SHARK_PACKAGE_VERSION") or "0.0.5"
backend_deps = []
if "NO_BACKEND" in os.environ.keys():
backend_deps = [
"iree-compiler==20231206.*",
"iree-runtime==20231206.*",
"iree-compiler==20231212.*",
"iree-runtime==20231212.*",
]
setup(

View File

@@ -90,7 +90,7 @@ python -m pip install --upgrade pip
pip install wheel
pip install -r requirements.txt
pip install --pre torch-mlir torchvision torch --extra-index-url https://download.pytorch.org/whl/nightly/cpu -f https://llvm.github.io/torch-mlir/package-index/
pip install --upgrade -f https://nod-ai.github.io/SRT/pip-release-links.html iree-compiler==20231206.* iree-runtime==20231206.*
pip install --upgrade -f https://nod-ai.github.io/SRT/pip-release-links.html iree-compiler==20231212.* iree-runtime==20231212.*
Write-Host "Building SHARK..."
pip install -e . -f https://llvm.github.io/torch-mlir/package-index/ -f https://nod-ai.github.io/SRT/pip-release-links.html
Write-Host "Build and installation completed successfully"

View File

@@ -111,7 +111,7 @@ else
fi
if [[ -z "${NO_BACKEND}" ]]; then
echo "Installing ${RUNTIME}..."
$PYTHON -m pip install --pre --upgrade --no-index --find-links ${RUNTIME} iree-compiler==20231206.* iree-runtime==20231206.*
$PYTHON -m pip install --pre --upgrade --no-index --find-links ${RUNTIME} iree-compiler==20231212.* iree-runtime==20231212.*
else
echo "Not installing a backend, please make sure to add your backend to PYTHONPATH"
fi