Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
dnth committed Oct 10, 2024
1 parent 80d8bf3 commit b337d54
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ Or locally:
pip install -e .
```

If using transformers, install the extra dependency:
```bash
pip install -e ".[transformers]"
```
Install PyTorch and transformers in your environment.

## Getting Started

Expand Down Expand Up @@ -110,7 +107,7 @@ list_models()
</tbody>
</table>

See [example.ipynb](example.ipynb) for more examples.
See [example.ipynb](nbs/example.ipynb) for more examples.


## Adding New Models
Expand Down
4 changes: 2 additions & 2 deletions example.ipynb → nbs/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "274d04e1588f41e89b1de0e870935633",
"model_id": "acca38d22ded4638a16d83d4cf3fbccc",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -148,7 +148,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "f419e565146a4b03a3016ce8ac8664ac",
"model_id": "4c19e1709a804c3486e3fed85dd95816",
"version_major": 2,
"version_minor": 0
},
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dynamic = [
]
description = "A unified interface to run inference on machine learning libraries."
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.11"
keywords = [
"InferX",
]
Expand Down Expand Up @@ -34,7 +34,7 @@ all = [
]

extra = [
"pandas",
"rich",
]

transformers = [
Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
numpy
numpy
rich
requests

0 comments on commit b337d54

Please sign in to comment.