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
chenpangpang
transformers
Commits
7198b633
Unverified
Commit
7198b633
authored
May 13, 2022
by
Yih-Dar
Committed by
GitHub
May 13, 2022
Browse files
install dev. version of accelerate (#17243)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
b96cb169
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
docker/transformers-all-latest-gpu/Dockerfile
docker/transformers-all-latest-gpu/Dockerfile
+2
-0
No files found.
docker/transformers-all-latest-gpu/Dockerfile
View file @
7198b633
...
@@ -17,6 +17,8 @@ RUN python3 -m pip install --no-cache-dir torch-scatter -f https://data.pyg.org/
...
@@ -17,6 +17,8 @@ RUN python3 -m pip install --no-cache-dir torch-scatter -f https://data.pyg.org/
RUN
python3
-m
pip
install
--no-cache-dir
git+https://github.com/facebookresearch/detectron2.git pytesseract https://github.com/kpu/kenlm/archive/master.zip
RUN
python3
-m
pip
install
--no-cache-dir
git+https://github.com/facebookresearch/detectron2.git pytesseract https://github.com/kpu/kenlm/archive/master.zip
RUN
python3
-m
pip
install
-U
"itsdangerous<2.1.0"
RUN
python3
-m
pip
install
-U
"itsdangerous<2.1.0"
RUN
python3
-m
pip
install
--no-cache-dir
git+https://github.com/huggingface/accelerate@main#egg
=
accelerate
# When installing in editable mode, `transformers` is not recognized as a package.
# When installing in editable mode, `transformers` is not recognized as a package.
# this line must be added in order for python to be aware of transformers.
# this line must be added in order for python to be aware of transformers.
RUN
cd
transformers
&&
python3 setup.py develop
RUN
cd
transformers
&&
python3 setup.py develop
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