Skip to content

Commit

Permalink
unbreak my heart
Browse files Browse the repository at this point in the history
  • Loading branch information
mgehre-amd committed Mar 19, 2024
1 parent 10617e6 commit df1aa09
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y ccache clang python-is-python3
/usr/bin/python --version
/usr/bin/python3 --version
- name: Enable cache
uses: actions/cache/restore@v3
Expand All @@ -59,6 +61,11 @@ jobs:
run: |
export cache_dir="${{ env.CACHE_DIR }}"
bash build_tools/ci/install_python_deps.sh ${{ matrix.torch-version }}
/usr/bin/python -m pip freeze | grep torch
/usr/bin/python3 -m pip freeze | grep torch
/usr/bin/python -c 'import torch'
echo $PYTHONPATH
- name: Build project
run: |
Expand Down
3 changes: 2 additions & 1 deletion test/python/compile.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# RUN: %PYTHON -s %s 2>&1 | FileCheck %s
# RUN: %PYTHON %s 2>&1 | FileCheck %s

import gc
import sys
print(sys.path)
import torch
from torch_mlir import torchscript

Expand Down

0 comments on commit df1aa09

Please sign in to comment.