Skip to content

Commit

Permalink
Fix pinned huggingface-inference-toolkit to include path patch (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarobartt authored Dec 3, 2024
1 parent edc876d commit b174d63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ RUN apt-get update && \
# Prevent `huggingface_hub>0.26.0` from being installed later on
RUN pip install "huggingface_hub[hf_transfer]<0.26.0"

# Hugging Face Inference Toolkit
ARG HF_INFERENCE_TOOLKIT_VERSION=0.4.1
# Hugging Face Inference Toolkit (version 0.4.1 + path fix)
ARG HF_INFERENCE_TOOLKIT_VERSION=58b760fe3ec4cbddf064ac62c7a3f745af136d5f
ARG HF_INFERENCE_TOOLKIT_URL=git+https://github.com/huggingface/huggingface-inference-toolkit.git@${HF_INFERENCE_TOOLKIT_VERSION}
RUN pip install "${HF_INFERENCE_TOOLKIT_URL}#egg=huggingface-inference-toolkit[torch,diffusers,st]"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ RUN apt-get update && \
# Prevent `huggingface_hub>0.26.0` from being installed later on
RUN pip install "huggingface_hub[hf_transfer]<0.26.0"

# Hugging Face Inference Toolkit
ARG HF_INFERENCE_TOOLKIT_VERSION=0.4.1
# Hugging Face Inference Toolkit (version 0.4.1 + path fix)
ARG HF_INFERENCE_TOOLKIT_VERSION=58b760fe3ec4cbddf064ac62c7a3f745af136d5f
ARG HF_INFERENCE_TOOLKIT_URL=git+https://github.com/huggingface/huggingface-inference-toolkit.git@${HF_INFERENCE_TOOLKIT_VERSION}
RUN pip install "${HF_INFERENCE_TOOLKIT_URL}#egg=huggingface-inference-toolkit[torch,diffusers,st]"

Expand Down

0 comments on commit b174d63

Please sign in to comment.