Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MXNET
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Byungheong Jeong
MXNET
Commits
f623b172
Commit
f623b172
authored
4 years ago
by
Byungheong Jeong
Browse files
Options
Downloads
Patches
Plain Diff
initial
parent
1f4f31b0
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+14
-0
14 additions, 0 deletions
.gitlab-ci.yml
Dockerfile.dockerfile
+50
-0
50 additions, 0 deletions
Dockerfile.dockerfile
mxnetDeployment.yaml
+46
-0
46 additions, 0 deletions
mxnetDeployment.yaml
with
110 additions
and
0 deletions
.gitlab-ci.yml
0 → 100755
+
14
−
0
View file @
f623b172
image
:
gcr.io/kaniko-project/executor:debug-v0.16.0
stages
:
-
build-and-push
build-and-push-job
:
stage
:
build-and-push
except
:
changes
:
-
"
**/*.yaml"
-
"
README.md"
script
:
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:${CI_COMMIT_SHA:0:8} --destination $CI_REGISTRY_IMAGE:latest
This diff is collapsed.
Click to expand it.
Dockerfile.dockerfile
0 → 100755
+
50
−
0
View file @
f623b172
FROM
mxnet/python
WORKDIR
/userdata/kerasData/mxnet
# Install system packages
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
bzip2 \
g++ \
git \
graphviz \
libgl1-mesa-glx \
libhdf5-dev \
sudo\
openmpi-bin \
xvfb \
screen \
wget && \
rm -rf /var/lib/apt/lists/*
# Install conda
ENV
CONDA_DIR /opt/conda
ENV
PATH $CONDA_DIR/bin:$PATH
RUN
wget
--quiet
--no-check-certificate
https://repo.continuum.io/miniconda/Miniconda3-4.2.12-Linux-x86_64.sh
&&
\
echo "c59b3dd3cad550ac7596e0d599b91e75d88826db132e4146030ef471bb434e9a *Miniconda3-4.2.12-Linux-x86_64.sh" | sha256sum -c - && \
/bin/bash /Miniconda3-4.2.12-Linux-x86_64.sh -f -b -p $CONDA_DIR && \
rm Miniconda3-4.2.12-Linux-x86_64.sh && \
echo export PATH=$CONDA_DIR/bin:'$PATH' > /etc/profile.d/conda.sh
ARG
python_version=3.5.2
RUN
conda config
--append
channels conda-forge
RUN
conda
install
\
bcolz \
h5py \
matplotlib \
mkl \
nose \
notebook \
Pillow \
pandas \
pydot \
pygpu \
pyyaml \
scikit-learn \
six \
theano \
mkdocs \
This diff is collapsed.
Click to expand it.
mxnetDeployment.yaml
0 → 100755
+
46
−
0
View file @
f623b172
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
MXNET-gpu
namespace
:
digits
spec
:
replicas
:
1
selector
:
matchLabels
:
k8s-app
:
MXNET-gpu
template
:
metadata
:
labels
:
k8s-app
:
MXNET-gpu
spec
:
tolerations
:
-
key
:
"
region"
operator
:
"
Equal"
value
:
"
allow"
effect
:
"
NoSchedule"
containers
:
-
name
:
MXNET-gpu
image
:
gitlab-registry.nautilus.optiputer.net/ar-noc/MXNET:latest
securityContext
:
capabilities
:
add
:
-
NET_ADMIN
command
:
[
"
/bin/sh"
,
"
-c"
]
args
:
[
"
sleep
infinity"
]
resources
:
limits
:
nvidia.com/gpu
:
1
memory
:
"
64Gi"
cpu
:
"
8"
requests
:
memory
:
"
10Gi"
cpu
:
"
2"
volumeMounts
:
-
mountPath
:
/userdata/kerasData
name
:
modeltraining
volumes
:
-
name
:
modeltraining
persistentVolumeClaim
:
claimName
:
modeltraining
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