Skip to content

Commit

Permalink
fix: update directml requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-sz committed Nov 11, 2024
1 parent aadb420 commit e20f878
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
env:
artifact_name: linux-${{ matrix.build.arch }}-${{ matrix.build.type }}.tar.br
python_url: 'https://github.com/indygreg/python-build-standalone/releases/download/20241002/cpython-3.11.10+20241002-x86_64_v3-unknown-linux-gnu-install_only_stripped.tar.gz'
python_url: 'https://github.com/indygreg/python-build-standalone/releases/download/20241016/cpython-3.11.10+20241016-x86_64_v3-unknown-linux-gnu-install_only_stripped.tar.gz'
pip_args: ${{ matrix.build.pip_args }} -r requirements.${{ matrix.build.type }}.txt
steps:
- name: Remove unnecessary files
Expand Down Expand Up @@ -107,14 +107,14 @@ jobs:
pip_args: ''
- arch: 'x64'
type: 'directml'
pip_args: '--pre'
pip_args: ''
- arch: 'x64'
type: 'cpu'
pip_args: ''
runs-on: windows-latest
env:
artifact_name: win32-${{ matrix.build.arch }}-${{ matrix.build.type }}.tar.br
python_url: 'https://github.com/indygreg/python-build-standalone/releases/download/20241002/cpython-3.10.15+20241002-x86_64-pc-windows-msvc-shared-install_only_stripped.tar.gz'
python_url: 'https://github.com/indygreg/python-build-standalone/releases/download/20241016/cpython-3.11.10+20241016-x86_64-pc-windows-msvc-shared-install_only_stripped.tar.gz'
pip_args: ${{ matrix.build.pip_args }} -r requirements.${{ matrix.build.type }}.txt
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
runs-on: macos-14
env:
artifact_name: darwin-${{ matrix.build.arch }}-${{ matrix.build.type }}.tar.br
python_url: 'https://github.com/indygreg/python-build-standalone/releases/download/20241002/cpython-3.11.10+20241002-aarch64-apple-darwin-install_only_stripped.tar.gz'
python_url: 'https://github.com/indygreg/python-build-standalone/releases/download/20241016/cpython-3.11.10+20241016-aarch64-apple-darwin-install_only_stripped.tar.gz'
pip_args: -r requirements.${{ matrix.build.type }}.txt
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
runs-on: macos-13
env:
artifact_name: darwin-${{ matrix.build.arch }}-${{ matrix.build.type }}.tar.br
python_url: 'https://github.com/indygreg/python-build-standalone/releases/download/20241002/cpython-3.11.10+20241002-x86_64-apple-darwin-install_only_stripped.tar.gz'
python_url: 'https://github.com/indygreg/python-build-standalone/releases/download/20241016/cpython-3.11.10+20241016-x86_64-apple-darwin-install_only_stripped.tar.gz'
pip_args: -r requirements.${{ matrix.build.type }}.txt
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions requirements.directml.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
-r requirements.txt
torch==2.4.1
torch-directml

0 comments on commit e20f878

Please sign in to comment.