Skip to content

Commit

Permalink
added backup link to mnist test
Browse files Browse the repository at this point in the history
Signed-off-by: Elias Joseph <eljoseph@amd.com>
  • Loading branch information
Elias Joseph committed Oct 25, 2024
1 parent de6ef9a commit 49e3ad0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 24 deletions.
32 changes: 9 additions & 23 deletions .github/workflows/ci_windows_x64_msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
uses: actions/checkout@v4.1.7
with:
submodules: true
#- name: "Clean up build dir"
# run: |
# Remove-Item -Path "C:\mnt\azure\build-windows" -Recurse -Force
# mkdir "C:\mnt\azure\build-windows"
- name: "Clean up build dir"
run: |
if (Test-Path -Path "C:\mnt\azure\build-windows") {Remove-Item -Path "C:\mnt\azure\build-windows" -Recurse -Force}
mkdir "C:\mnt\azure\build-windows"
- name: "Setting up Python"
uses: actions/setup-python@v4
with:
Expand All @@ -43,13 +43,10 @@ jobs:
python3 -m venv .venv
.venv/Scripts/activate.bat
python3 -m pip install -r runtime/bindings/python/iree/runtime/build_requirements.txt
python3 -m pip install --upgrade certifi
python3 -m certifi
type "C:\home\runner\_work\_tool\Python\3.10.11\x64\lib\site-packages\certifi\cacert.pem"
- name: "Installing requirements"
run: choco install ccache --yes
- name: "Installing MSVC requirements"
run: |
run: | # TODO: Find a way to move this into the dockerfile
choco install visualstudio2022buildtools -y
choco install visualstudio2022community --package-parameters "--add Microsoft.VisualStudio.Workload.CoreEditor --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.DesktopDevelopmentWithC++" -y
choco install visualstudio2022-workload-nativedesktop -y
Expand All @@ -59,22 +56,11 @@ jobs:
run: |
choco install cmake
choco install ninja
choco install Ninja
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
refreshenv
- name: "Install Bash"
run: |
$gitPath = "C:\Program Files\Git\bin"
$env:PATH += ";C:\Program Files\Git\bin;C:\Program Files\Git\usr\bin"
[System.Environment]::GetEnvironmentVariable("PATH", "Process")
Test-Path -Path "C:/Program Files/Git/bin/bash.exe"
- name: Add Bash to PATH
run: |
echo "Adding Bash to PATH"
echo "C:\Program Files\Git\bin" >> $Env:GITHUB_PATH
#- name: "Building Iree"
# run: bash ./build_tools/cmake/build_all.sh "/c/mnt/azure/build-windows"
- name: "Building Iree"
run: bash ./build_tools/cmake/build_all.sh "/c/mnt/azure/build-windows"
- name: "Testing IREE"
run: bash ./build_tools/cmake/ctest_all.sh "/c/mnt/azure/build-windows"
#- name: "Clean up build dir"
# run: Remove-Item -Path "C:\mnt\azure\build-windows" -Recurse -Force
- name: "Clean up build dir"
run: Remove-Item -Path "C:\mnt\azure\build-windows" -Recurse -Force
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from iree.compiler.tools import InputType, compile_file
from iree.runtime import load_vm_flatbuffer_file

MODEL_ARTIFACTS_URL = "https://storage.googleapis.com/iree-model-artifacts/mnist_train.2bec0cb356ae7c059e04624a627eb3b15b0a556cbd781bbed9f8d32e80a4311d.tar"
MODEL_ARTIFACTS_URL = "https://sharkpublic.blob.core.windows.net/sharkpublic/shark-test-suite/iree-tests/mnist_train.2bec0cb356ae7c059e04624a627eb3b15b0a556cbd781bbed9f8d32e80a4311d.tar"

Tensor = TypeVar("Tensor")

Expand Down

0 comments on commit 49e3ad0

Please sign in to comment.