Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
8639cfb4
Unverified
Commit
8639cfb4
authored
Dec 05, 2022
by
Yih-Dar
Committed by
GitHub
Dec 05, 2022
Browse files
Install `natten` with CUDA version (#20546)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
6276b437
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
docker/transformers-all-latest-gpu/Dockerfile
docker/transformers-all-latest-gpu/Dockerfile
+2
-0
No files found.
docker/transformers-all-latest-gpu/Dockerfile
View file @
8639cfb4
...
@@ -56,6 +56,8 @@ RUN python3 -m pip install --no-cache-dir decord
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment