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
renzhc
diffusers_dcu
Commits
3e3d4692
Unverified
Commit
3e3d4692
authored
Feb 27, 2024
by
Sayak Paul
Committed by
GitHub
Feb 27, 2024
Browse files
[Dockerfile] remove uv from docker jax tpu (#7115)
remove uv from docker jax tpu
parent
d71ecad8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docker/diffusers-flax-tpu/Dockerfile
docker/diffusers-flax-tpu/Dockerfile
+1
-1
No files found.
docker/diffusers-flax-tpu/Dockerfile
View file @
3e3d4692
...
@@ -24,7 +24,7 @@ ENV PATH="/opt/venv/bin:$PATH"
...
@@ -24,7 +24,7 @@ ENV PATH="/opt/venv/bin:$PATH"
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
# follow the instructions here: https://cloud.google.com/tpu/docs/run-in-container#train_a_jax_model_in_a_docker_container
# follow the instructions here: https://cloud.google.com/tpu/docs/run-in-container#train_a_jax_model_in_a_docker_container
RUN
python3
-m
pip
install
--no-cache-dir
--upgrade
pip uv
&&
\
RUN
python3
-m
pip
install
--no-cache-dir
--upgrade
pip uv
&&
\
python3
-m
uv
pip
install
--no-cache-dir
\
python3
-m
pip
install
--no-cache-dir
\
"jax[tpu]>=0.2.16,!=0.3.2"
\
"jax[tpu]>=0.2.16,!=0.3.2"
\
-f
https://storage.googleapis.com/jax-releases/libtpu_releases.html
&&
\
-f
https://storage.googleapis.com/jax-releases/libtpu_releases.html
&&
\
python3
-m
uv pip
install
--upgrade
--no-cache-dir
\
python3
-m
uv pip
install
--upgrade
--no-cache-dir
\
...
...
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