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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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