backend.ai-krunner-ubuntu-3.5.0
توضیحات
Backend.AI Kernel Runner for Ubuntu
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | backend.ai-krunner-ubuntu-3.5.0 |
| نام | backend.ai-krunner-ubuntu |
| نسخه کتابخانه | 3.5.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Lablup Inc. |
| ایمیل نویسنده | devops@lablup.com |
| آدرس صفحه اصلی | https://backend.ai |
| آدرس اینترنتی | https://pypi.org/project/backend.ai-krunner-ubuntu/ |
| مجوز | MIT |
# 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
```console
$ 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.
نیازمندی
| مقدار | نام |
|---|---|
| >=7.1 | Click |
| >=0.34.2 | wheel |
| ~=3.0 | twine |
| ~=5.4.1 | pytest |
| >=3.7.9 | flake8 |
| - | codecov |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl backend.ai-krunner-ubuntu-3.5.0:
pip install backend.ai-krunner-ubuntu-3.5.0.whl
نصب پکیج tar.gz backend.ai-krunner-ubuntu-3.5.0:
pip install backend.ai-krunner-ubuntu-3.5.0.tar.gz