Skip to content

Commit

Permalink
fix(server): fix missing datasets in quantize
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierDehaene committed Jul 27, 2023
1 parent 8bd0adb commit 2efd46e
Show file tree
Hide file tree
Showing 5 changed files with 789 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ COPY server/Makefile server/Makefile
RUN cd server && \
make gen-server && \
pip install -r requirements.txt && \
pip install ".[bnb, accelerate]" --no-cache-dir
pip install ".[bnb, accelerate, quantize]" --no-cache-dir

# Install benchmarker
COPY --from=builder /usr/src/target/release/text-generation-benchmark /usr/local/bin/text-generation-benchmark
Expand Down
2 changes: 1 addition & 1 deletion server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ run-dev:
SAFETENSORS_FAST_GPU=1 python -m torch.distributed.run --nproc_per_node=2 text_generation_server/cli.py serve bigscience/bloom-560m --sharded

export-requirements:
poetry export -o requirements.txt -E bnb --without-hashes
poetry export -o requirements.txt -E bnb -E quantize --without-hashes
Loading

0 comments on commit 2efd46e

Please sign in to comment.