Skip to content

Commit ddd39a8

Browse files
committed
Merge remote-tracking branch 'origin/dev' into jp6
2 parents e8d7ebd + 641e6dd commit ddd39a8

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

packages/llm/exllama/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#---
2-
# name: exllama
2+
# name: exllama:v1
3+
# alias: exllama
34
# group: llm
45
# config: config.py
56
# depends: [pytorch, huggingface_hub]

packages/llm/llava/Dockerfile

+8-5
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ ADD https://api.github.com/repos/${LLAVA_REPO}/git/refs/heads/${LLAVA_BRANCH} /t
1818

1919
RUN git clone --branch=${LLAVA_BRANCH} --depth=1 https://github.com/${LLAVA_REPO} llava && \
2020
cd llava && \
21-
sed 's|"deepspeed==0.9.5",.*||' -i pyproject.toml && \
22-
sed 's|"transformers.*"|"transformers"|' -i pyproject.toml && \
23-
sed 's|"accelerate.*"|"accelerate"|' -i pyproject.toml && \
24-
sed 's|"bitsandbytes.*"|"bitsandbytes"|' -i pyproject.toml && \
21+
# sed 's|"deepspeed==0.9.5",.*||' -i pyproject.toml && \
22+
# sed 's|"transformers.*"|"transformers"|' -i pyproject.toml && \
23+
# sed 's|"accelerate.*"|"accelerate"|' -i pyproject.toml && \
24+
sed 's|"bitsandbytes.*",||' -i pyproject.toml && \
2525
cat pyproject.toml
2626

2727
COPY benchmark.py llava/llava/serve/
@@ -31,5 +31,8 @@ RUN cd llava && \
3131
cp dist/llava*.whl /opt
3232

3333
RUN pip3 install --no-cache-dir --verbose llava*.whl
34-
34+
35+
RUN pip3 install --verbose /opt/torch*.whl
36+
RUN pip3 install --verbose /opt/torchvision*.whl
37+
3538
WORKDIR /

packages/llm/text-generation-webui/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# name: text-generation-webui
33
# group: llm
44
# config: config.py
5-
# depends: [transformers, auto_gptq, gptq-for-llama, exllama, exllama:v2, llama_cpp:gguf]
5+
# depends: [transformers, auto_gptq, gptq-for-llama, exllama:v1, exllama:v2, llama_cpp:gguf]
66
# requires: '>=34.1.0'
77
# docs: docs.md
88
#---

0 commit comments

Comments
 (0)