Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
952b450a
"src/vscode:/vscode.git/clone" did not exist on "b8cf84a3f902550937255c5b28b39827ba52beb6"
Unverified
Commit
952b450a
authored
Aug 09, 2024
by
Nicolas Patry
Committed by
GitHub
Aug 09, 2024
Browse files
Using HF_HOME instead of CACHE to get token read in addition to models. (#2288)
parent
c6d5039c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Dockerfile
Dockerfile
+1
-1
Dockerfile_amd
Dockerfile_amd
+1
-1
Dockerfile_intel
Dockerfile_intel
+1
-1
No files found.
Dockerfile
View file @
952b450a
...
...
@@ -191,7 +191,7 @@ ENV PATH=/opt/conda/bin:$PATH \
CONDA_PREFIX=/opt/conda
# Text Generation Inference base env
ENV
H
UGGINGFACE_HUB_CACH
E=/data \
ENV
H
F_HOM
E=/data \
HF_HUB_ENABLE_HF_TRANSFER=1 \
PORT=80
...
...
Dockerfile_amd
View file @
952b450a
...
...
@@ -167,7 +167,7 @@ RUN python setup.py build
FROM base AS base-copy
# Text Generation Inference base env
ENV H
UGGINGFACE_HUB_CACH
E=/data \
ENV H
F_HOM
E=/data \
HF_HUB_ENABLE_HF_TRANSFER=1 \
PORT=80
...
...
Dockerfile_intel
View file @
952b450a
...
...
@@ -57,7 +57,7 @@ RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRO
RUN apt-get update && apt install -y intel-basekit xpu-smi cmake python3-dev ninja-build pciutils
# Text Generation Inference base env
ENV H
UGGINGFACE_HUB_CACH
E=/data \
ENV H
F_HOM
E=/data \
HF_HUB_ENABLE_HF_TRANSFER=1 \
PORT=80
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment