"vscode:/vscode.git/clone" did not exist on "c19727fd38ed6e36f836606705217477a2f4b5c9"
Unverified Commit 7198b633 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

install dev. version of accelerate (#17243)


Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent b96cb169
......@@ -17,6 +17,8 @@ RUN python3 -m pip install --no-cache-dir torch-scatter -f https://data.pyg.org/
RUN python3 -m pip install --no-cache-dir git+https://github.com/facebookresearch/detectron2.git pytesseract https://github.com/kpu/kenlm/archive/master.zip
RUN python3 -m pip install -U "itsdangerous<2.1.0"
RUN python3 -m pip install --no-cache-dir git+https://github.com/huggingface/accelerate@main#egg=accelerate
# 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.
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