Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hpvm-release
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
hpvm-release
Commits
d6c426f8
Commit
d6c426f8
authored
3 years ago
by
Yifan Zhao
Browse files
Options
Downloads
Patches
Plain Diff
Added gitlab CI/CD pipeline
parent
0b634585
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+12
-0
12 additions, 0 deletions
.gitlab-ci.yml
Dockerfile
+18
-0
18 additions, 0 deletions
Dockerfile
with
30 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
12
−
0
View file @
d6c426f8
image
:
hpvm/gitlab-ci
build
:
stage
:
build
tags
:
-
hpvm
script
:
-
source activate hpvm
-
cd hpvm
-
./install.sh -j32 -t "X86"
only
:
-
approx_hpvm_devops
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
+
18
−
0
View file @
d6c426f8
ARG
IMAGE_NAME=nvidia/cuda
FROM
nvidia/cuda:10.2-cudnn7-devel-ubuntu18.04
# Install dependencies: cmake, python 3.6, wget
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
cmake python3 curl git
# Install conda
RUN
curl https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh
-o
anaconda.sh
&&
\
bash anaconda.sh
-b
&&
rm
anaconda.sh
# Set PATH to include conda
ENV
PATH="/root/anaconda3/bin:${PATH}"
# Send conda env spec into container
COPY
. /root/hpvm/
# Create conda env named hpvm based on spec
RUN
conda
env
create
-n
hpvm
-f
/root/hpvm/hpvm/env.yaml
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