From 672c041a3288dccce260250b2aa6cb751a289333 Mon Sep 17 00:00:00 2001 From: Asankhaya Sharma Date: Tue, 21 Jan 2025 09:14:44 +0800 Subject: [PATCH 1/3] Update Dockerfile.proxy_only --- Dockerfile.proxy_only | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile.proxy_only b/Dockerfile.proxy_only index 7c0f2972..bc4cc90b 100644 --- a/Dockerfile.proxy_only +++ b/Dockerfile.proxy_only @@ -13,7 +13,6 @@ WORKDIR /app RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ python3-dev \ - python3-blis \ gcc \ g++ \ && rm -rf /var/lib/apt/lists/* From feb47f0ef616d7aba478b2c6b62af3d1df0fb053 Mon Sep 17 00:00:00 2001 From: Asankhaya Sharma Date: Tue, 21 Jan 2025 09:21:37 +0800 Subject: [PATCH 2/3] fix build on arm64 --- requirements.txt | 4 +++- requirements_proxy_only.txt | 4 +++- setup.py | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index af328f48..774a5430 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,4 +21,6 @@ ipython ipykernel peft bitsandbytes -gradio \ No newline at end of file +gradio +# Constrain spacy version to avoid blis build issues on ARM64 +spacy<3.8.0 \ No newline at end of file diff --git a/requirements_proxy_only.txt b/requirements_proxy_only.txt index 84e02764..6ef093be 100644 --- a/requirements_proxy_only.txt +++ b/requirements_proxy_only.txt @@ -16,4 +16,6 @@ nbformat nbconvert ipython ipykernel -gradio \ No newline at end of file +gradio +# Constrain spacy version to avoid blis build issues on ARM64 +spacy<3.8.0 \ No newline at end of file diff --git a/setup.py b/setup.py index 29424ab8..46193717 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,9 @@ "ipykernel", "peft", "bitsandbytes", - "gradio" + "gradio", + # Constrain spacy version to avoid blis build issues on ARM64 + "spacy<3.8.0", ], entry_points={ 'console_scripts': [ From 757b04d9be668681bea357fe54c87e526e7cdde3 Mon Sep 17 00:00:00 2001 From: Asankhaya Sharma Date: Tue, 21 Jan 2025 09:21:56 +0800 Subject: [PATCH 3/3] Update setup.py bump version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 46193717..89efc2fd 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="optillm", - version="0.0.27", + version="0.0.28", packages=find_packages(), py_modules=['optillm'], package_data={