Jean Lima commited on
Commit
6f751d0
·
1 Parent(s): fab2e4e

Downgrade to Python 3.10 and use stable wheels

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +2 -1
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.12
2
 
3
  RUN useradd -m -u 1000 user
4
  USER user
 
1
+ FROM python:3.10
2
 
3
  RUN useradd -m -u 1000 user
4
  USER user
requirements.txt CHANGED
@@ -2,4 +2,5 @@ fastapi==0.109.0
2
  uvicorn[standard]==0.27.0
3
  huggingface-hub>=0.25.0
4
  python-multipart==0.0.6
5
- https://github.com/abetlen/llama-cpp-python/releases/download/v0.3.2/llama_cpp_python-0.3.2-cp312-cp312-manylinux_2_31_x86_64.whl
 
 
2
  uvicorn[standard]==0.27.0
3
  huggingface-hub>=0.25.0
4
  python-multipart==0.0.6
5
+ --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
6
+ llama-cpp-python>=0.2.90