Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ FROM runpod/base:0.6.1-cuda${WORKER_CUDA_VERSION}
# Python dependencies
COPY builder/requirements.txt /requirements.txt
RUN python3.11 -m pip install --upgrade pip && \
python3.11 -m pip install --upgrade -r /requirements.txt --no-cache-dir && \
python3.11 -m pip install -r /requirements.txt --no-cache-dir && \
rm /requirements.txt

ENV SENTENCE_TRANSFORMERS_HOME=/runpod-volume
ENV HF_HOME=/runpod-volume

# Add src files (Worker Template)
ADD src .
Expand Down
4 changes: 2 additions & 2 deletions builder/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
runpod==1.6.2
infinity-emb[all]
hf_transfer
infinity-emb[all]==0.0.32
einops # deployment of custom code with nomic
2 changes: 1 addition & 1 deletion src/constants.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DEFAULT_BATCH_SIZE = 128
DEFAULT_BATCH_SIZE = 32
DEFAULT_BACKEND = "torch"