From b591527a6c4f6e9249af65dadbd238ab8cceff6c Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Sat, 1 Jul 2023 19:35:26 +0000 Subject: [PATCH] Einops. --- server/poetry.lock | 13 ++++++++++++- server/pyproject.toml | 1 + server/requirements.txt | 1 + 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/server/poetry.lock b/server/poetry.lock index 9a6900bc..7c126e80 100644 --- a/server/poetry.lock +++ b/server/poetry.lock @@ -187,6 +187,17 @@ wrapt = ">=1.10,<2" [package.extras] dev = ["PyTest", "PyTest-Cov", "bump2version (<1)", "sphinx (<2)", "tox"] +[[package]] +name = "einops" +version = "0.6.1" +description = "A new flavour of deep learning operations" +optional = false +python-versions = ">=3.7" +files = [ + {file = "einops-0.6.1-py3-none-any.whl", hash = "sha256:99149e46cc808956b174932fe563d920db4d6e5dadb8c6ecdaa7483b7ef7cfc3"}, + {file = "einops-0.6.1.tar.gz", hash = "sha256:f95f8d00f4ded90dbc4b19b6f98b177332614b0357dde66997f3ae5d474dc8c8"}, +] + [[package]] name = "exceptiongroup" version = "1.1.1" @@ -1586,4 +1597,4 @@ bnb = ["bitsandbytes"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "54ecacb32d699cb1298c237c4661c1b707f119cf2c27bd54bad7a1ea2ffb8b10" +content-hash = "3174a211d30bed5990ed5f8418416c951bb6c585153fb51b62809baa89ef07d0" diff --git a/server/pyproject.toml b/server/pyproject.toml index f0ec25eb..c574cc06 100644 --- a/server/pyproject.toml +++ b/server/pyproject.toml @@ -27,6 +27,7 @@ sentencepiece = "^0.1.97" tokenizers = "0.13.3" huggingface-hub = "^0.14.1" transformers = "^4.29.2" +einops = "^0.6.1" [tool.poetry.extras] accelerate = ["accelerate"] diff --git a/server/requirements.txt b/server/requirements.txt index a9bd441c..92693bbd 100644 --- a/server/requirements.txt +++ b/server/requirements.txt @@ -4,6 +4,7 @@ charset-normalizer==3.1.0 ; python_version >= "3.9" and python_version < "4.0" click==8.1.3 ; python_version >= "3.9" and python_version < "4.0" colorama==0.4.6 ; python_version >= "3.9" and python_version < "4.0" and (sys_platform == "win32" or platform_system == "Windows") deprecated==1.2.14 ; python_version >= "3.9" and python_version < "4.0" +einops==0.6.1 ; python_version >= "3.9" and python_version < "4.0" filelock==3.12.2 ; python_version >= "3.9" and python_version < "4.0" fsspec==2023.6.0 ; python_version >= "3.9" and python_version < "4.0" googleapis-common-protos==1.59.1 ; python_version >= "3.9" and python_version < "4.0"