AnatoliiG commited on
Commit
cbbd03b
·
1 Parent(s): 5c8b266

add build and track wheels with LFS

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.whl filter=lfs diff=lfs merge=lfs -text
Dockerfile CHANGED
@@ -1,11 +1,8 @@
1
  FROM python:3.10-slim-bookworm
2
 
3
  RUN apt-get update && apt-get install -y --no-install-recommends \
4
- build-essential \
5
- cmake \
6
- libopenblas-dev \
7
  libgomp1 \
8
- curl \
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  RUN useradd -m -u 1000 user
@@ -18,8 +15,9 @@ WORKDIR /app
18
 
19
  RUN pip install --no-cache-dir --upgrade pip
20
 
21
- RUN pip install llama-cpp-python \
22
- --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
 
23
 
24
  COPY --chown=user requirements.txt .
25
  RUN pip install --no-cache-dir -r requirements.txt
 
1
  FROM python:3.10-slim-bookworm
2
 
3
  RUN apt-get update && apt-get install -y --no-install-recommends \
4
+ libopenblas0 \
 
 
5
  libgomp1 \
 
6
  && rm -rf /var/lib/apt/lists/*
7
 
8
  RUN useradd -m -u 1000 user
 
15
 
16
  RUN pip install --no-cache-dir --upgrade pip
17
 
18
+ COPY --chown=user build /app/build
19
+
20
+ RUN pip install /app/build/llama_cpp_python-*.whl
21
 
22
  COPY --chown=user requirements.txt .
23
  RUN pip install --no-cache-dir -r requirements.txt
build/diskcache-5.6.3-py3-none-any.whl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e31b2d5fbad117cc363ebaf6b689474db18a1f6438bc82358b024abd4c2ca19
3
+ size 45550
build/jinja2-3.1.6-py3-none-any.whl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67
3
+ size 134899
build/llama_cpp_python-0.3.16-cp310-cp310-linux_x86_64.whl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:834c8e7761ab3fe276930fa700e61e817ffc00d9bcc3ffba8d288ae01d5d7e45
3
+ size 4283874
build/markupsafe-3.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f42d0984e947b8adf7dd6dde396e720934d12c506ce84eea8476409563607591
3
+ size 20681
build/numpy-2.2.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc7b73d02efb0e18c000e9ad8b83480dfcd5dfd11065997ed4c6747470ae8915
3
+ size 16801050
build/typing_extensions-4.15.0-py3-none-any.whl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548
3
+ size 44614