Skip to content

Commit

Permalink
add timm as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Jun 13, 2024
1 parent ad743bb commit 32f622d
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 3 deletions.
59 changes: 57 additions & 2 deletions libs/infinity_emb/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion libs/infinity_emb/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ ctranslate2 = {version = "^4.0.0", optional=true}
optimum = {version = ">=1.16.2", optional=true, extras=["onnxruntime"]}
hf_transfer = {version=">=0.1.5"}
einops = {version = "*", optional=true}
# vision
pillow = {version = "*", optional=true}
timm = {version = "*", optional=true}
# cache
diskcache = {version = "*", optional=true}
# gpu
Expand Down Expand Up @@ -78,7 +80,7 @@ torch=["sentence-transformers","torch"]
einops=["einops"]
logging=["rich"]
cache=["diskcache"]
vision=["pillow"]
vision=["pillow","timm"]
server=[
"fastapi",
"orjson",
Expand Down

0 comments on commit 32f622d

Please sign in to comment.