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
91182e3a
Unverified
Commit
91182e3a
authored
Dec 05, 2022
by
Yih-Dar
Committed by
GitHub
Dec 05, 2022
Browse files
Install `tensorflow_probability` for TF pipeline CI (#20586)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
cc8aec67
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
docker/transformers-tensorflow-gpu/Dockerfile
docker/transformers-tensorflow-gpu/Dockerfile
+2
-0
No files found.
docker/transformers-tensorflow-gpu/Dockerfile
View file @
91182e3a
...
@@ -18,6 +18,8 @@ RUN [ ${#TENSORFLOW} -gt 0 ] && VERSION='tensorflow=='$TENSORFLOW'.*' || VERSIO
...
@@ -18,6 +18,8 @@ RUN [ ${#TENSORFLOW} -gt 0 ] && VERSION='tensorflow=='$TENSORFLOW'.*' || VERSIO
RUN
python3
-m
pip uninstall
-y
torch flax
RUN
python3
-m
pip uninstall
-y
torch flax
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
-U
tensorflow_probability
# 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