Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/pre-commit-gte-3.8-and-lt-5
Browse files Browse the repository at this point in the history
  • Loading branch information
asofter authored Oct 17, 2024
2 parents d497b36 + ae03db1 commit 7098ad9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ".[dev, onnxruntime]"
python -m pip install ".[dev]"
python -m pip install ".[onnxruntime]"
- name: Run pre-commit hooks
uses: pre-commit/action@v3.0.1
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ dependencies = [
"regex==2024.9.11",
"tiktoken>=0.5,<0.8",
"torch>=2.4.0",
"transformers>=4.44.2",
"transformers==4.44.2",
"structlog>=24",
"oldest-supported-numpy"
]

[project.optional-dependencies]
onnxruntime = [
"optimum[onnxruntime]>=1.21",
"optimum[onnxruntime]==1.23.1",
]
onnxruntime-gpu = [
"optimum[onnxruntime-gpu]>=1.21",
"optimum[onnxruntime-gpu]==1.23.1",
]
docs-dev = [
"mkdocs>=1.6,<2",
Expand Down

0 comments on commit 7098ad9

Please sign in to comment.