Skip to content

Commit

Permalink
fix(typo): modify tgi version from 2.4.1 to v2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistecolle committed Dec 18, 2024
1 parent f7f4cc1 commit fcaa95a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REAL_CLONE_URL = $(if $(CLONE_URL),$(CLONE_URL),$(DEFAULT_CLONE_URL))

.PHONY: build_dist style style_check clean

TGI_VERSION ?= 2.4.1
TGI_VERSION ?= v2.4.1

rwildcard=$(wildcard $1) $(foreach d,$1,$(call rwildcard,$(addsuffix /$(notdir $d),$(wildcard $(dir $d)*))))

Expand Down
4 changes: 2 additions & 2 deletions text-generation-inference/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Fetch and extract the TGI sources
FROM alpine AS tgi
# TGI version 2.4.1 by default
ARG TGI_VERSION=2.4.1
ARG TGI_VERSION=v2.4.1
RUN test -n ${TGI_VERSION:?}
RUN mkdir -p /tgi
ADD https://github.com/huggingface/text-generation-inference/archive/v${TGI_VERSION}.tar.gz /tgi/sources.tar.gz
ADD https://github.com/huggingface/text-generation-inference/archive/${TGI_VERSION}.tar.gz /tgi/sources.tar.gz
RUN tar -C /tgi -xf /tgi/sources.tar.gz --strip-components=1

# Build cargo components (adapted from TGI original Dockerfile)
Expand Down

0 comments on commit fcaa95a

Please sign in to comment.