Skip to main content

Backend.AI Kernel Runner based on GNU libc

Project description

backend.ai-krunner-static-gnu

Backend.AI Kernel Runner Package for glibc-based Kernels

How to read below

  • {distro} is a string like static-gnu, static-musl, etc. depending on which repository you are in.
  • {distro_} is a string same to {distro} but with hyphens replaced with underscores for Python package names and paths. (e.g., static_gnu, static_musl)

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.
  • To update the Python version, update src/ai/backend/krunner/{distro_}/krunner-python.{distro}.txt and the dockerfiles accordingly, including the PYTHON_VERSION environment variable and the download URL of the statically built Python distribution.
  1. Increment the volume version number specified as a label ai.backend.krunner.version in src/ai/backend/krunner/{distro_}/krunner-env.{distro}.dockerfile
  2. Run scripts/build.py.
  3. Repeat the above steps for each distro version. (For static builds, there is only one.)
  4. Increment the package version number in src/ai/backend/krunner/{distro_}/__init__.py
  5. rm -r dist/* build/* (skip if these directories do not exist and or are empty)
  6. python setup.py sdist bdist_wheel
  7. twine upload dist/*

Note that src/ai/backend/krunner/{distro_}/krunner-version.{distro}.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-static-gnu-1.0.0.tar.gz (37.9 MB view details)

Uploaded Source

Built Distribution

File details

Details for the file backend.ai-krunner-static-gnu-1.0.0.tar.gz.

File metadata

  • Download URL: backend.ai-krunner-static-gnu-1.0.0.tar.gz
  • Upload date:
  • Size: 37.9 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-static-gnu-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3917385ef5ae2244cd48aa7466a936442d4100f116366135f63f15ad1df99338
MD5 584c9750dbf051ac4a30a5e7d4a91def
BLAKE2b-256 1e2fdab01e9c65040379d0a5ebaf7656ee6c5b858669a97c1dfedbc14a1c29a9

See more details on using hashes here.

Provenance

File details

Details for the file backend.ai_krunner_static_gnu-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: backend.ai_krunner_static_gnu-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 37.9 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_static_gnu-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5addc1c525ca6da9054802508411e41764db5a361699a6892fbd3f271a43438b
MD5 037f92c0e7603bd5ab97efb72a573491
BLAKE2b-256 85cca30dd53381e0924f520574acc46d6382ba9910602ddf33593b1948bd3cdd

See more details on using hashes here.

Provenance

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