mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-24 23:08:57 +06:00
Install python-Levenshtein
for nougat
in CI image (#27465)
fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
parent
2dc29cfc98
commit
3b59621310
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user