Skip to content

Commit

Permalink
Remove xformers as it breaks injections module on mac (#162)
Browse files Browse the repository at this point in the history
* Remove xformers as it breaks injections module on mac
* Fix dependency cache key
* restrict to python >=3.8,<4 regen poetry.lock
* Pin poetry.lock torch to 2.0.0 and cleanup pyproject.toml split ranges
  • Loading branch information
jamie256 authored Oct 24, 2023
1 parent 9c85ca5 commit 4e27080
Show file tree
Hide file tree
Showing 4 changed files with 866 additions and 773 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/langkit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
name: Cache dependencies based on poetry.lock file
with:
path: ./.venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-all-${{ hashFiles('**/poetry.lock') }}
- name: check poetry env
run: poetry env info
- name: Install dependencies
if: steps.poetry-cache.outputs.cache-hit != 'true'
run: poetry install
run: make install
- name: Log cache hit
if: steps.poetry-cache.outputs.cache-hit == 'true'
run: echo 'poetry cache hit, skipping poetry install'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Install Poetry
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: 1.5.1
poetry-version: 1.6.1
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down
Loading

0 comments on commit 4e27080

Please sign in to comment.