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 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.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.
- 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.dev0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebdd9ed4c5be15f54877f34d0cde7ec4b7a31efad0f87d1755cf77f1b4a2dee3 |
|
MD5 | 9bb1c22cb3f98b4632ad9d8073b0a0a5 |
|
BLAKE2b-256 | 2b52db9d5b43b75c7e7999b13606c63afd381c7847622d7913cb36aab64ecb47 |
Close
Hashes for backend.ai_krunner_static_gnu-2.0.0.dev0-py3-none-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1141fa8de70c7558785cd26ba6d30539668ff24d6f4c9e18455f1bfa4721cd0b |
|
MD5 | 45a5cce0a100510eeda7598834358d0b |
|
BLAKE2b-256 | de8ff004f046ffff295af6096142a176ce670617795df203e336d420ddc65959 |
Close
Hashes for backend.ai_krunner_static_gnu-2.0.0.dev0-py3-none-manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d66dc6477ed4e569b73508c2a045d6db98b3388cac6a9b32a0ae56c3b3af3bab |
|
MD5 | ec470ac65255f4fa7916d16b27c049e3 |
|
BLAKE2b-256 | a12e717301d3e61bb946a07a3ce0179caf6adf51294dc0bc5ff7ca60e68fc5c5 |