Skip to content

Commit

Permalink
revert ALL changes [build-ci-image]
Browse files Browse the repository at this point in the history
  • Loading branch information
itazap committed Aug 20, 2024
1 parent ee22674 commit 53218dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/consistency.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ FROM python:3.10-slim
ENV PYTHONDONTWRITEBYTECODE=1
USER root
ARG REF=main
RUN apt-get update && apt-get install -y time git g++ pkg-config make git-lfs
RUN apt-get update && apt-get install -y time git g++ pkg-config make cmake git-lfs
ENV UV_PYTHON=/usr/local/bin/python
RUN pip install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools GitPython
RUN uv pip install --no-cache-dir --upgrade 'torch' 'torchaudio' --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
RUN uv pip install --no-cache-dir pypi-kenlm
RUN uv pip install --no-cache-dir "tensorflow-cpu<2.16" "tf-keras<2.16"
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"pytest-rich",
]


# this is a lookup table with items like:
#
# tokenizers: "tokenizers==0.9.4"
Expand Down Expand Up @@ -358,6 +359,7 @@ def run(self):
+ extras["video"]
)


extras["dev-torch"] = (
extras["testing"]
+ extras["torch"]
Expand Down

0 comments on commit 53218dd

Please sign in to comment.