From be7084bd8cc10361f96f13c7745b5cec52c406c9 Mon Sep 17 00:00:00 2001 From: x4v13r64 Date: Tue, 14 Apr 2026 20:37:11 +0200 Subject: [PATCH] Use --find-links for MLIR-AIE and LLVM-AIE wheel sources Replace --extra-index-url with --find-links for the GitHub Release wheel sources. This avoids adding them as full package indexes that pip queries for all packages. The CPU-only PyTorch index is kept as an --extra-index-url since it serves a standard PEP 503 index. --- requirements.txt | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/requirements.txt b/requirements.txt index d10cfd82..c92dbf47 100755 --- a/requirements.txt +++ b/requirements.txt @@ -2,13 +2,11 @@ # SPDX-License-Identifier: Apache-2.0 # The MLIR-AIE and LLVM-AIE (Peano) packages are not on the official PyPI, so -# we add them as additional indices here. Furthermore, we want the CPU-only -# version of torch (don't need CUDA), so we give this index precedence over the -# main PyPI. These indices are consulted in order of precedence by pip. ---index-url https://download.pytorch.org/whl/cpu ---extra-index-url https://github.com/Xilinx/mlir-aie/releases/expanded_assets/latest-wheels-3 ---extra-index-url https://github.com/Xilinx/llvm-aie/releases/expanded_assets/nightly ---extra-index-url https://pypi.org/simple +# we reference their GitHub Releases via --find-links. The CPU-only PyTorch +# index is added as an extra index for the torch package. +--extra-index-url https://download.pytorch.org/whl/cpu +--find-links https://github.com/Xilinx/mlir-aie/releases/expanded_assets/latest-wheels-3 +--find-links https://github.com/Xilinx/llvm-aie/releases/expanded_assets/nightly mlir_aie==0.0.1.2026033104+e4f35d6 llvm-aie