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/* 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..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={ @@ -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': [