Install natten with CUDA version (#20546)
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -56,6 +56,8 @@ RUN python3 -m pip install --no-cache-dir decord
|
|||||||
# For `dinat` model
|
# For `dinat` model
|
||||||
RUN python3 -m pip install --no-cache-dir natten
|
RUN python3 -m pip install --no-cache-dir natten
|
||||||
|
|
||||||
|
RUN python3 -m pip install --no-cache-dir natten -f https://shi-labs.com/natten/wheels/$CUDA/
|
||||||
|
|
||||||
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user