brilee commited on
Commit
489af7a
1 Parent(s): 8319f52

Push to HF space

Browse files
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:cdbb2eee77dee0660829aa3a2a61ced5b7a96cd47bf838524a51d0886cffa03d
3
- size 2480557
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a597fc919de114e4378f2caf5d7ed743ea05523c0e3175f78cb927d217eb8803
3
+ size 2481243