Spaces:
Running
Running
Push to HF space
Browse files- Dockerfile +2 -0
- dist/lilac-1337.0.0-py3-none-any.whl +2 -2
Dockerfile
CHANGED
@@ -2,6 +2,8 @@ FROM python:3.11-slim-bullseye
|
|
2 |
|
3 |
# Allow statements and log messages to immediately appear in the Knative logs
|
4 |
ENV PYTHONUNBUFFERED True
|
|
|
|
|
5 |
|
6 |
# Adds GCC and other build tools so we can compile hnswlib and other native/C++ deps.
|
7 |
RUN apt-get update --fix-missing && apt-get install -y --fix-missing build-essential && \
|
|
|
2 |
|
3 |
# Allow statements and log messages to immediately appear in the Knative logs
|
4 |
ENV PYTHONUNBUFFERED True
|
5 |
+
# Fixes "invalid instruction" runtime error on AMD machines (specifically HF Upgraded CPU Space).
|
6 |
+
ENV HNSWLIB_NO_NATIVE 1
|
7 |
|
8 |
# Adds GCC and other build tools so we can compile hnswlib and other native/C++ deps.
|
9 |
RUN apt-get update --fix-missing && apt-get install -y --fix-missing build-essential && \
|
dist/lilac-1337.0.0-py3-none-any.whl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a597fc919de114e4378f2caf5d7ed743ea05523c0e3175f78cb927d217eb8803
|
3 |
+
size 2481243
|