Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit 997f19a

Browse files
authored
build(docker): download in safetensors format for supported models (#186)
1 parent 4ea43b4 commit 997f19a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deployments/bundle/bloomz-560m.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM hyperonym/basaran:0.17.1
44
WORKDIR /app
55

66
# Download the model to be bundled
7-
RUN python utils/download.py bigscience/bloomz-560m /model
7+
RUN TENSOR_FORMAT=safetensors python utils/download.py bigscience/bloomz-560m /model
88

99
# Provide default environment variables
1010
ENV MODEL="/model"

deployments/bundle/llama-7b.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM hyperonym/basaran:0.17.1
44
WORKDIR /app
55

66
# Download the model to be bundled
7-
RUN python utils/download.py huggyllama/llama-7b /model
7+
RUN TENSOR_FORMAT=safetensors python utils/download.py huggyllama/llama-7b /model
88

99
# Provide default environment variables
1010
ENV MODEL="/model"

0 commit comments

Comments
 (0)