Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup last layer for GPU images #1

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .aicoe-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
check:
- thoth-build
build:
base-image: "quay.io/thoth-station/s2i-minimal-notebook:latest"
build-stratergy: Source
registry: quay.io
registry-org: os-climate
registry-project: neural-magic-notebook
registry-secret: os-climate-pusher-secret
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Bug report
about: Create a report to help us improve
labels: bug
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project
labels: enhancement
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/major-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Major release
about: Create a new major release
title: New major release
assignees: 'sesheta'
labels: bot
---

Hey, Kebechet!

Create a new major release, please.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/minor-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Minor release
about: Create a new minor release
title: New minor release
assignees: 'sesheta'
labels: bot
---

Hey, Kebechet!

Create a new minor release, please.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/patch-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Patch release
about: Create a new patch release
title: New patch release
assignees: 'sesheta'
labels: bot
---

Hey, Kebechet!

Create a new patch release, please.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/redeliver_container_image.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Deliver Container Image
about: build a git tag and push it as a container image to quay
title: Deliver Container Image
assignees: sesheta
labels: bot
---

Hey, AICoE-CI!

Please build and deliver the following git tag:

Tag: x.y.z
6 changes: 6 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- [ ] The commits are squashed in a cohesive manner and have meaningful messages.
- [ ] For commits that came from upstream, `[UPSTREAM]` has been prepended to the commit message
- [ ] JIRA link(s):
- [ ] The Jira story is acked
- [ ] An entry has been added to the latest build document in [Build Announcements Folder](https://drive.google.com/drive/folders/1sgkK1WZgGo9CXsLizNe0GbAzVKuSKrZL).
- [ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious)
33 changes: 33 additions & 0 deletions .s2i/bin/assemble
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash

set -x

set -eo pipefail


# Execute original assemble script.

/opt/app-root/builder/assemble

# Activate ipywidgets extension.

jupyter nbextension enable --py widgetsnbextension --sys-prefix

# Also activate ipywidgets/bokeh extension for JupyterLab.

jupyter labextension install @jupyter-widgets/[email protected] --no-build
pacospace marked this conversation as resolved.
Show resolved Hide resolved

jupyter lab build

# Import matplotlib the first time to build the font cache.

MPLBACKEND=Agg python -c "import matplotlib.pyplot"

# Make sure the S2I source directory is empty as we will use the image
# produced to run further S2I builds

(shopt -s dotglob ; rm -rf ${APP_ROOT}/src/*)

# Fix up permissions.

fix-permissions /opt/app-root
7 changes: 7 additions & 0 deletions .s2i/bin/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

set -eo pipefail

# Execute the run script from the customised builder.

exec /opt/app-root/builder/run
1 change: 1 addition & 0 deletions .s2i/environment
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
XDG_CACHE_HOME=/opt/app-root/src/.cache
pacospace marked this conversation as resolved.
Show resolved Hide resolved
26 changes: 26 additions & 0 deletions .thoth.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
host: khemenu.thoth-station.ninja
tls_verify: true
requirements_format: pipenv

runtime_environments:
- name: ubi8
operating_system:
name: ubi
version: "8"
python_version: "3.6"
pacospace marked this conversation as resolved.
Show resolved Hide resolved
recommendation_type: latest

managers:
- name: update
configuration:
labels: [bot]
- name: info
- name: version
configuration:
maintainers:
- erikerlandson
- pacospace
assignees:
- sesheta
labels: [bot]
changelog_file: true
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

## Release 0.0.0 (2022-10-02T15:58:10)
19 changes: 19 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
boto3 = "*"
ipython = "<8.*"
ipywidgets = "*"
matplotlib = "*"
pandas = "*"
seaborn = "*"
sparseml = "*"
torch = "<1.9"

[requires]
python_version = "3.8"
Loading