Skip to main content

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 like ubuntu, centos, alpine, etc.
  • {distro-version} is a string like ubuntu18.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

  1. Modify Dockerfile and/or other contents.
  2. Increment the volume version number specified as a label ai.backend.krunner.vesrion in src/ai/backend/krunner/ubuntu/krunner-env.{distro-version}.dockerfile (there may be multiple dockerfiles).
  3. Run scripts/build.py {distro-version}.
  4. Repeat the above steps for each distro version.
  5. Increment the package version number in src/ai/backend/krunner/ubuntu/__init__.py
  6. rm -r dist/* build/* (skip if these directories do not exist and or are empty)
  7. python setup.py sdist bdist_wheel
  8. 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

backend.ai-krunner-ubuntu-3.5.0.tar.gz (84.6 MB view details)

Uploaded Source

Built Distribution

backend.ai_krunner_ubuntu-3.5.0-py3-none-any.whl (84.6 MB view details)

Uploaded Python 3

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

Hashes for backend.ai-krunner-ubuntu-3.5.0.tar.gz
Algorithm Hash digest
SHA256 e3e92299782387969dd83616b13c93db24764047a650dc82f539fcbb08058f1b
MD5 f15879135603f3a1590903422edad73f
BLAKE2b-256 4a01cd66c970c74df8380a02b194dfc3d323459b859ae618ae10103a51f9956b

See more details on using hashes here.

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

Hashes for backend.ai_krunner_ubuntu-3.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50154a96ef1a253cf1e52e45a6206c860e28f4925293d6c4a328341b719aaef1
MD5 52fcc176056bfa2fb448714585d8f466
BLAKE2b-256 b6f79fdfef261807db7cd9e6c1c64b933e36442e86f7156a4879e57e35986acd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page