Unverified Commit 3b596213 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Install `python-Levenshtein` for `nougat` in CI image (#27465)



fix
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent 2dc29cfc
...@@ -67,6 +67,9 @@ RUN python3 -m pip install --no-cache-dir decord av==9.2.0 ...@@ -67,6 +67,9 @@ RUN python3 -m pip install --no-cache-dir decord av==9.2.0
# For `dinat` model # For `dinat` model
RUN python3 -m pip install --no-cache-dir natten -f https://shi-labs.com/natten/wheels/$CUDA/ RUN python3 -m pip install --no-cache-dir natten -f https://shi-labs.com/natten/wheels/$CUDA/
# For `nougat` tokenizer
RUN python3 -m pip install --no-cache-dir python-Levenshtein
# 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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment