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
e3d8285a
Unverified
Commit
e3d8285a
authored
Aug 01, 2024
by
Joao Gante
Committed by
GitHub
Aug 01, 2024
Browse files
Docker: add `speech` dep to the consistency docker image (#32374)
parent
ca59d6f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docker/consistency.dockerfile
docker/consistency.dockerfile
+1
-1
No files found.
docker/consistency.dockerfile
View file @
e3d8285a
...
@@ -8,7 +8,7 @@ RUN pip install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools
...
@@ -8,7 +8,7 @@ RUN pip install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools
RUN
uv pip
install
--no-cache-dir
--upgrade
'torch'
--index-url
https://download.pytorch.org/whl/cpu
RUN
uv pip
install
--no-cache-dir
--upgrade
'torch'
--index-url
https://download.pytorch.org/whl/cpu
# tensorflow pin matching setup.py
# tensorflow pin matching setup.py
RUN
uv pip
install
--no-cache-dir
"tensorflow-cpu<2.16"
"tf-keras<2.16"
RUN
uv pip
install
--no-cache-dir
"tensorflow-cpu<2.16"
"tf-keras<2.16"
RUN
uv pip
install
--no-cache-dir
"git+https://github.com/huggingface/transformers.git@
${
REF
}
#egg=transformers[flax,quality,vision,testing]"
RUN
uv pip
install
--no-cache-dir
"git+https://github.com/huggingface/transformers.git@
${
REF
}
#egg=transformers[flax,quality,
speech,
vision,testing]"
RUN
git lfs
install
RUN
git lfs
install
RUN
pip uninstall
-y
transformers
RUN
pip uninstall
-y
transformers
...
...
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