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
File details
Details for the file backend.ai-krunner-static-gnu-2.0.0.dev3.tar.gz
.
File metadata
- Download URL: backend.ai-krunner-static-gnu-2.0.0.dev3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1e5ed92fa7fc39b0d2038aeefdc6dd1fe0d133120f3bb5d65b4f69639d5ca45 |
|
MD5 | 3b465970a494333172e3f81453d6c440 |
|
BLAKE2b-256 | f25aea519d5e407828d03a7fefd931499acb62e9b6cd8c6d1af36c5c7e94d0a9 |
Provenance
File details
Details for the file backend.ai_krunner_static_gnu-2.0.0.dev3-py3-none-manylinux2014_x86_64.whl
.
File metadata
- Download URL: backend.ai_krunner_static_gnu-2.0.0.dev3-py3-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 36.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea73f89c4d6ad8d91b8b52cf554946d263b767efcea2d0aecc2dd7cf976aa071 |
|
MD5 | 94caa5d2245f04001f69d2a487e7eb23 |
|
BLAKE2b-256 | d7bd4a43aae7df120dc54a076edda649d44e845976fa701bf490a86708e23a4b |
Provenance
File details
Details for the file backend.ai_krunner_static_gnu-2.0.0.dev3-py3-none-manylinux2014_aarch64.whl
.
File metadata
- Download URL: backend.ai_krunner_static_gnu-2.0.0.dev3-py3-none-manylinux2014_aarch64.whl
- Upload date:
- Size: 38.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d6d2a4c6c78c47b07c57d7dbe8c19e1c0809606205cc68b0bc606eff29007d9 |
|
MD5 | d71e1dcd587b2815e5f180732abd5f1a |
|
BLAKE2b-256 | fe7ed737401ba4d43e8d8ebed39bb3f28f5cb4946338cf09d7e265a06bfff944 |