Clean up diff
This commit is contained in:
parent
31614fc2c4
commit
191d92c940
|
|
@ -49,7 +49,7 @@ COPY --from=downloader llama-7b-4bit.pt llama-7b-4bit.pt
|
||||||
|
|
||||||
RUN git clone --depth=1 --branch main https://github.com/oobabooga/text-generation-webui.git text-generation-webui-tmp
|
RUN git clone --depth=1 --branch main https://github.com/oobabooga/text-generation-webui.git text-generation-webui-tmp
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/root/.cache pip install --user markdown
|
RUN --mount=type=cache,target=/root/.cache pip install --user markdown gradio
|
||||||
|
|
||||||
# Apply monkey patch
|
# Apply monkey patch
|
||||||
RUN cd text-generation-webui-tmp && printf '%s'"import custom_monkey_patch # apply monkey patch\nimport gc\n\n" | cat - server.py > tmpfile && mv tmpfile server.py
|
RUN cd text-generation-webui-tmp && printf '%s'"import custom_monkey_patch # apply monkey patch\nimport gc\n\n" | cat - server.py > tmpfile && mv tmpfile server.py
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,7 @@ accelerate
|
||||||
bitsandbytes
|
bitsandbytes
|
||||||
datasets
|
datasets
|
||||||
sentencepiece
|
sentencepiece
|
||||||
safetensors==0.3.0
|
safetensors
|
||||||
gradio
|
|
||||||
semantic-version==2.10.0
|
|
||||||
flash-attn
|
flash-attn
|
||||||
triton
|
triton
|
||||||
colorama
|
colorama
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue