Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
few_shot
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Wu, Cong Dr (PG/R - Comp Sci & Elec Eng)
few_shot
Commits
d5f89b83
Commit
d5f89b83
authored
1 year ago
by
Wu, Cong Dr (PG/R - Comp Sci & Elec Eng)
Browse files
Options
Downloads
Patches
Plain Diff
Update gpu.Dockerfile
parent
c6f254f7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gpu.Dockerfile
+7
-5
7 additions, 5 deletions
gpu.Dockerfile
with
7 additions
and
5 deletions
gpu.Dockerfile
+
7
−
5
View file @
d5f89b83
FROM
nvcr.io/nvidia/cuda:11.2.0-cudnn8-devel-ubuntu20.04
FROM
psoto87/pytorch1.13
ENV
DEBIAN_FRONTEND=noninteractive
...
...
@@ -24,6 +24,8 @@ RUN apt-get -y update && apt-get install -y \
python3-pip
\
python3-setuptools
RUN
pip
install
einops oss2
# some image/media dependencies
RUN
apt-get
-y
update
&&
apt-get
install
-y
\
libjpeg8-dev
\
...
...
@@ -36,13 +38,13 @@ RUN apt-get -y update && apt-get install -y \
libdc1394-22-dev
\
libxine2-dev
\
libavfilter-dev
\
libavutil-dev
libavutil-dev
\
libavdevice-dev
RUN
apt-get
-y
update
&&
apt-get
install
-y
ffmpeg
RUN
apt-get clean
&&
rm
-rf
/tmp/
*
/var/tmp/
*
/var/lib/apt/lists/
*
&&
apt-get
-y
autoremove
ENV
NVIDIA_DRIVER_CAPABILITIES=all
RUN
ln
-s
/usr/lib/x86_64-linux-gnu/libnvcuvid.so.1 /usr/local/cuda/lib64/libnvcuvid.so
RUN
git clone
--recursive
https://github.com/dmlc/decord
RUN
cd
decord
&&
mkdir
build
&&
cd
build
&&
cmake ..
-DUSE_CUDA
=
ON
-DCMAKE_BUILD_TYPE
=
Release
&&
make
-j2
&&
cd
../python
&&
python3 setup.py
install
RUN
cd
decord
&&
mkdir
build
&&
cd
build
&&
cmake ..
-DUSE_CUDA
=
0
-DCMAKE_BUILD_TYPE
=
Release
&&
make
-j2
RUN
cd
/workspace/decord/python
&&
python3 setup.py
install
--user
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment