Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
punctuator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
punctuator
Merge requests
!6
Full transformer mixed model + accuracy optimizations
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Full transformer mixed model + accuracy optimizations
merge_new_models
into
master
Overview
0
Commits
124
Pipelines
1
Changes
41
Merged
Full transformer mixed model + accuracy optimizations
Michał Pogoda
requested to merge
merge_new_models
into
master
Sep 2, 2020
Overview
0
Commits
124
Pipelines
1
Changes
41
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
81f40372
124 commits,
Sep 2, 2020
41 files
+
2789
−
450
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
41
docker/development/Dockerfile deleted
100644 → 0
+
0
−
41
View file @ 19344621
from
ubuntu:20.04
RUN
apt update
&&
apt
install
-y
python3 python3-pip
RUN
apt update
&&
apt
install
-y
git
RUN
pip3
install
ipywidgets
#### CUDA Installation
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
gnupg2 curl ca-certificates
&&
\
curl
-fsSL
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub | apt-key add -
&&
\
echo
"deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 /"
>
/etc/apt/sources.list.d/cuda.list
&&
\
echo
"deb https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 /"
>
/etc/apt/sources.list.d/nvidia-ml.list
&&
\
rm
-rf
/var/lib/apt/lists/
*
ENV
CUDA_VERSION 10.2.89
ENV
CUDA_PKG_VERSION 10-2=$CUDA_VERSION-1
# For libraries in the cuda-compat-* package: https://docs.nvidia.com/cuda/eula/index.html#attachment-a
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
cuda-cudart-
$CUDA_PKG_VERSION
\
cuda-compat-10-2
&&
\
ln
-s
cuda-10.2 /usr/local/cuda
&&
\
rm
-rf
/var/lib/apt/lists/
*
# Required for nvidia-docker v1
RUN
echo
"/usr/local/nvidia/lib"
>>
/etc/ld.so.conf.d/nvidia.conf
&&
\
echo
"/usr/local/nvidia/lib64"
>>
/etc/ld.so.conf.d/nvidia.conf
ENV
PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}
ENV
LD_LIBRARY_PATH /usr/local/nvidia/lib:/usr/local/nvidia/lib64
# nvidia-container-runtime
ENV
NVIDIA_VISIBLE_DEVICES all
ENV
NVIDIA_DRIVER_CAPABILITIES compute,utility
ENV
NVIDIA_REQUIRE_CUDA "cuda>=10.2 brand=tesla,driver>=384,driver<385 brand=tesla,driver>=396,driver<397 brand=tesla,driver>=410,driver<411 brand=tesla,driver>=418,driver<419"
### END CUDA Installation
RUN
pip3
install
numpy pandas tqdm seaborn torch dask[complete] transformers
pyarrow
==
0.17.1 pytest lxml
RUN
ln
-s
/usr/bin/pip3 /usr/bin/pip
\ No newline at end of file
Loading