Skip to content

Commit

Permalink
print the directory
Browse files Browse the repository at this point in the history
  • Loading branch information
baijumeswani committed Feb 20, 2025
1 parent 8bb742c commit 763179e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/win-cpu-x64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,25 +71,27 @@ jobs:
move ${{ env.ORT_PACKAGE_NAME }}/build/native/include ort/
move ${{ env.ORT_PACKAGE_NAME }}/runtimes/win-x64/native/* ort/lib/
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: 'cpp'
# - name: Initialize CodeQL
# uses: github/codeql-action/init@v3
# with:
# languages: 'cpp'

- name: Configure CMake
run: |
cmake --preset windows_x64_cpu_release
# - name: Configure CMake
# run: |
# cmake --preset windows_x64_cpu_release

- name: Build with CMake
run: |
cmake --build --preset windows_x64_cpu_release --parallel
# - name: Build with CMake
# run: |
# cmake --build --preset windows_x64_cpu_release --parallel

- name: Install the python wheel and test dependencies
run: |
python3 -m pip install -r test\python\requirements.txt --user
python3 -m pip install -r test\python\cpu\torch\requirements.txt --user
python3 -m pip install -r test\python\cpu\ort\requirements.txt --user
python3 -m pip install (Get-ChildItem ("$env:binaryDir\wheel\*.whl")) --no-deps
dir C:\data\models\ortgenai\pytorch
# python3 -m pip install (Get-ChildItem ("$env:binaryDir\wheel\*.whl")) --no-deps

- name: Run the Python Tests
run: |
Expand Down
2 changes: 2 additions & 0 deletions test/python/_test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ def get_model_paths():
}

ci_data_path = os.path.join(os.path.abspath(os.sep), "data", "ortgenai", "pytorch")
print("CI data path:", ci_data_path)
if not os.path.exists(ci_data_path):
return {}, hf_paths
exit()

# TODO: Uncomment the following models as needed in the CI pipeline.
# Note: If a model has over 4B parameters, please add a quantized version
Expand Down

0 comments on commit 763179e

Please sign in to comment.