Skip to content

Commit dc4667f

Browse files
quicddaviskoddavisko
andauthored
Update torch-mlir version. Fix pip install order to use CPython before GraalPy switch
which replaces CPython with GraalPy from conda-forge. torch-mlir wheels are only built for CPython (cp310), so pip must run under CPython. Signed-off-by: ddavisko <ddavisko@qti.qualcomm.com> Co-authored-by: ddavisko <ddavisko@qti.qualcomm.com>
1 parent bce31bd commit dc4667f

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ jobs:
3232
conda create -y -n mlir-env python=3.10
3333
conda activate mlir-env
3434
35-
# Install glibc-compatible libstdcxx
36-
conda install -y -c conda-forge libstdcxx-ng=12
37-
3835
# Install Python dependencies
3936
python -m pip -V
4037
python -m pip install --no-user -r ci/requirements.txt
4138
39+
# Install glibc-compatible libstdcxx
40+
conda install -y -c conda-forge libstdcxx-ng=12
4241
4342
# Persist environment path
4443
echo "CONDA_ENV=/local/mnt/workspace/MLIR_build_artifacts/miniconda/envs/mlir-env" >> $GITHUB_ENV
@@ -144,4 +143,4 @@ jobs:
144143
export PATH="$GRAALPY_BIN:$PATH"
145144
cd "$BACKEND_BUILD_DIR"
146145
lit test --verbose
147-
shell: bash
146+
shell: bash

ci/torch-requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
--pre
44
torch==2.10.0+cpu
55
torchvision==0.25.0+cpu
6-
torch-mlir==20260123.701
7-
torchao==0.10.0+cpu
6+
torch-mlir==20260325.762
7+
torchao==0.10.0+cpu

0 commit comments

Comments
 (0)