Skip to content

Commit

Permalink
github actions (lucidrains#285)
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
lucidrains authored Oct 29, 2024
1 parent c9d46a4 commit 6e56f43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pip uv
pip install build
- name: Build package
run: python -m build
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/python-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install torch==2.1.0 --index-url https://download.pytorch.org/whl/cpu
python -m pip install --upgrade pip uv
python -m uv pip install torch==2.1.0+cpu --extra-index-url https://download.pytorch.org/whl/cpu
python -m uv pip install .
- name: Test with pytest
run: |
python setup.py test

0 comments on commit 6e56f43

Please sign in to comment.