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

Commit

Permalink
build(docker): download in safetensors format for supported models (#186
Browse files Browse the repository at this point in the history
)
  • Loading branch information
peakji authored Apr 26, 2023
1 parent 4ea43b4 commit 997f19a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployments/bundle/bloomz-560m.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM hyperonym/basaran:0.17.1
WORKDIR /app

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

# Provide default environment variables
ENV MODEL="/model"
Expand Down
2 changes: 1 addition & 1 deletion deployments/bundle/llama-7b.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM hyperonym/basaran:0.17.1
WORKDIR /app

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

# Provide default environment variables
ENV MODEL="/model"
Expand Down

0 comments on commit 997f19a

Please sign in to comment.