Backend.AI Kernel Runner based on GNU libc
Project description
backend.ai-krunner-static-gnu
Backend.AI Kernel Runner Package for glibc-based Kernels
Notice about source distribution
This package is to distribute prebuilt binaries, so the source distribution does not have prebuilt binaries and does not work as intended. Just refer this repository on how we build stuffs.
How to read below
{distro}
is a string likestatic-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.9.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.
- To update the Python version, update
src/ai/backend/krunner/{distro_}/krunner-python.{distro}.txt
and the dockerfiles accordingly, including thePYTHON_VERSION
environment variable and the download URL of the statically built Python distribution.
- Increment the volume version number specified as a label
ai.backend.krunner.version
insrc/ai/backend/krunner/{distro_}/krunner-env.{distro}.dockerfile
- Run
scripts/build.py
. - Repeat the above steps for each distro version. (For static builds, there is only one.)
- Increment the package version number in
src/ai/backend/krunner/{distro_}/__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}.txt
files are
overwritten by the build script from the label.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for backend.ai-krunner-static-gnu-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab84ff90f994a64213784d164d67b3cc5d8e17c981b8771a2596e5f241712747 |
|
MD5 | 706d833bbc89679cd031b6dc46a3bc89 |
|
BLAKE2b-256 | 0a3a54d328fbc5e6fcb7243a2eff6a663d606c08ffc1f5891e4c17dd14f20687 |
Close
Hashes for backend.ai_krunner_static_gnu-2.0.0-py3-none-manylinux2014_x86_64.macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bec307c5200797e9d093b40cd9882c30452a395770a9bcfefbfed233d2eac37a |
|
MD5 | 014d064e96d6e1dda8d3362503a183e3 |
|
BLAKE2b-256 | 8f23ed1ac1581f5e58a4f96ff1e9531e0712fc036020aea4830884d07979fd19 |
Close
Hashes for backend.ai_krunner_static_gnu-2.0.0-py3-none-manylinux2014_aarch64.macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6afc27379a3aca9aef4e35114119949d9127e08f348d1ec25c59bbe543919e67 |
|
MD5 | 663c9aaed6c37fda6630b362e8d42390 |
|
BLAKE2b-256 | 3ae10d55df989d1dc193117924654620163885b4a040782557258abf667c3697 |