From 63bbfc95a2c3a988cd537ed36e0bb6864629d8f1 Mon Sep 17 00:00:00 2001 From: Alvaro Moran Date: Thu, 8 Aug 2024 10:26:49 +0000 Subject: [PATCH 1/4] chore(build): set Dev status to pre-alpha --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 01968a49..dc27e42b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ description = "Optimum TPU is the interface between the Hugging Face Transformer readme = "README.md" license = {file = "LICENSE"} classifiers = [ - "Development Status :: 1 - Pre-Alpha", + "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved :: Apache Software License", "Intended Audience :: Developers", "Intended Audience :: Education", From 19ba25fc7275950d0b60faa9a08b438d6087e6dd Mon Sep 17 00:00:00 2001 From: Alvaro Moran Date: Thu, 8 Aug 2024 10:35:22 +0000 Subject: [PATCH 2/4] ci(pypi): only try to publish on releases --- .github/workflows/pypi-release.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi-release.yaml b/.github/workflows/pypi-release.yaml index c4e37b70..8048ab5e 100644 --- a/.github/workflows/pypi-release.yaml +++ b/.github/workflows/pypi-release.yaml @@ -1,9 +1,8 @@ name: PyPI Release on: + release: + types: [published] workflow_dispatch: - push: - tags: - - v* env: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN_DIST }} From 63a0ac2312e665d3a6ed1598bf552735d692dce7 Mon Sep 17 00:00:00 2001 From: Alvaro Moran Date: Thu, 8 Aug 2024 10:40:00 +0000 Subject: [PATCH 3/4] chore: remove unused requirements.txt --- requirements.txt | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 1a9cb655..00000000 --- a/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -loguru == 0.6.0 -transformers == 4.41.1 -torch ~= 2.2.0 -torch-xla[tpu] ~= 2.2.0 -f https://storage.googleapis.com/libtpu-releases/index.html From 9916a54082ff64cfb1302f62b6ee578192411fe2 Mon Sep 17 00:00:00 2001 From: Alvaro Moran Date: Thu, 8 Aug 2024 10:37:08 +0000 Subject: [PATCH 4/4] chore: bump version to 0.1.5 --- optimum/tpu/version.py | 2 +- .../server/text_generation_server/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/optimum/tpu/version.py b/optimum/tpu/version.py index 6078244a..2343b3ba 100644 --- a/optimum/tpu/version.py +++ b/optimum/tpu/version.py @@ -15,5 +15,5 @@ from pkg_resources import parse_version -__version__ = "0.1.4" +__version__ = "0.1.5" VERSION = parse_version(__version__) diff --git a/text-generation-inference/server/text_generation_server/version.py b/text-generation-inference/server/text_generation_server/version.py index 16913b8c..55988374 100644 --- a/text-generation-inference/server/text_generation_server/version.py +++ b/text-generation-inference/server/text_generation_server/version.py @@ -1,5 +1,5 @@ from pkg_resources import parse_version -__version__ = "0.1.4" +__version__ = "0.1.5" VERSION = parse_version(__version__)