Backend.AI Kernel Runner for Ubuntu
Project description
backend.ai-krunner-ubuntu
Backend.AI Kernel Runner Package for Ubuntu-based Kernels
How to read below
{distro}
is a string likeubuntu
,centos
,alpine
, etc.{distro-version}
is a string likeubuntu18.04
,centos7.6
,alpine3.10
, etc.
Development
$ git clone https://github.com/lablup/backend.ai-krunner-{distro} krunner-{distro}
$ cd krunner-{distro}
$ pyenv virtualenv 3.8.6 venv-krunner # you may share the same venv with other krunner projects
$ pyenv local venv-krunner
$ pip install -U pip setuptools
$ pip install -U click -e .
How to update
- Modify Dockerfile and/or other contents.
- Increment the volume version number specified as a label
ai.backend.krunner.vesrion
insrc/ai/backend/krunner/ubuntu/krunner-env.{distro-version}.dockerfile
(there may be multiple dockerfiles). - Run
scripts/build.py {distro-version}
. - Repeat the above steps for each distro version.
- Increment the package version number in
src/ai/backend/krunner/ubuntu/__init__.py
rm -r dist/* build/*
(skip if these directories do not exist and or are empty)python setup.py sdist bdist_wheel
twine upload dist/*
Note that src/ai/backend/krunner/{distro}/krunner-version.{distro-version}.txt
files are
overwritten by the build script from the label.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file backend.ai-krunner-ubuntu-3.5.0.tar.gz
.
File metadata
- Download URL: backend.ai-krunner-ubuntu-3.5.0.tar.gz
- Upload date:
- Size: 84.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3e92299782387969dd83616b13c93db24764047a650dc82f539fcbb08058f1b |
|
MD5 | f15879135603f3a1590903422edad73f |
|
BLAKE2b-256 | 4a01cd66c970c74df8380a02b194dfc3d323459b859ae618ae10103a51f9956b |
File details
Details for the file backend.ai_krunner_ubuntu-3.5.0-py3-none-any.whl
.
File metadata
- Download URL: backend.ai_krunner_ubuntu-3.5.0-py3-none-any.whl
- Upload date:
- Size: 84.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50154a96ef1a253cf1e52e45a6206c860e28f4925293d6c4a328341b719aaef1 |
|
MD5 | 52fcc176056bfa2fb448714585d8f466 |
|
BLAKE2b-256 | b6f79fdfef261807db7cd9e6c1c64b933e36442e86f7156a4879e57e35986acd |