makina-runway
Project description
Software Development Kit
- support only python
Goal
- mlflow를 사용하는 사용자들이 import만 변경하여 runway에 logging하는 방식을 제공한다.
- runway sdk 는 mlflow 의 interface/arguments 를 최대한 맞추는 방향으로 구현해야 한다.
# import mlflow
from runway import mlflow
with mlflow.start_run() as run:
mlflow.log_param()
mlflow.sklearn.save_model()
Install
- makina 사내 pypi server에서 install 합니다.
-
pip install
# pip install pip install --index-url http://pypi.makina.rocks/simple/ --trusted-host pypi.makina.rocks runway
pyproject.toml의 version 수정 후 테스트 시 pip install --index-url http://pypi.makina.rocks/simple/ --trusted-host pypi.makina.rocks mrx-runway=={{version}}
-
poetry 사용
-
pyproject.toml에 사내 pypi source 추가
[[tool.poetry.source]] name = "mrx" url = "http://pypi.makina.rocks/simple/" default = true
-
poetry add & install
poetry add runway poetry install
-
Publish
- 정식 version은 runway repo의 tag로 관리됨
- pyproject.toml 파일의 version은 developer의 test를 위한 pseudo-version 임
- local에서 publish test는 make command 사용
# version patch, build & publish 한꺼번에 수행 make publish-dev
How to test in local environment
- sdk 개발시 local 에서 unit test 실행방식은 아래와 같습니다. utest 시에는 다양한 mlframework package 가 설치되니, 별도의 명령어보다는 makefile 의 recipe 를 사용하시기 바랍니다.
make utest
```bash
## How to develop
- sdk 개발을 위한 `python` 환경을 하나 더 생성합니다.
- edit 모드로 sdk를 설치 합니다.
```bash
pip install -e .
- /etc/hosts에 minio관련 host를 추가합니다.
misc/gw.yaml
,misc/vs.yaml
을 수정하여 배포합니다.prepare_develop.sh
파일에BACKEND_URL
,MLFLOW_URL
,MINIO_URL
를 환경에 맞게 수정합니다.prepare_develop.sh
를 실행합니다.
./prepare_develop.sh
- 실행
DEPLOY_TARGET=dev python examples/sample_log_model.py
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for mrx_runway-1.5.0.dev15-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 084a7a5d0ae9f04d579afc9c9578c44c6042ee8cc00cd17ace2dcdebce270955 |
|
MD5 | b96368bbd5f8fc2ff4d12a02bf9f749d |
|
BLAKE2b-256 | fcd3ecc12c195d977e01a2b042a0a14daf30a1bbf5b5974bb52625888eeeeb3c |
Close
Hashes for mrx_runway-1.5.0.dev15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be0f0fe153fd111af1da226e7a4f9ea45726dae4edb9cd34c97a2e3b63e32800 |
|
MD5 | f50410a08ca01a2fdc6b8ca25868140e |
|
BLAKE2b-256 | 900d8181ca32a1f27404f2da1aec592b93ca6d94f88e5f947b0e2a58fc1b7d36 |
Close
Hashes for mrx_runway-1.5.0.dev15-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d116c3632eb605d45da16b1a68d52d7d6f355b5cd03fb7c4ea140b365144b9f1 |
|
MD5 | 3286f44aa393a72e2036d7c0df01f49b |
|
BLAKE2b-256 | e6f44437be65a70e32054fb7830eacf456ca51db58f0110825e65d7cd49d62d8 |
Close
Hashes for mrx_runway-1.5.0.dev15-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d26d72dc9aea599252a57ba9df4c55fa52444e7f7245889c746e3e0ab479ea04 |
|
MD5 | e3f7ee41f2ca73614b001a2c91785f80 |
|
BLAKE2b-256 | 6da31f3da42e8ae6fa11ab46cf5d2662b8341a0eeca74003b49a7ce7485608c5 |
Close
Hashes for mrx_runway-1.5.0.dev15-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 911d67d7d8f9f609ef08ea3be2f1e342bb1fcefbd2cb88754a978ece186cc3de |
|
MD5 | 82460c619aed6cd3a5723dcd57cf3598 |
|
BLAKE2b-256 | f5f58f1c5bba9644f7aef0cefb4db82c771f8d619c7cb6b424ba0b282b3699e8 |
Close
Hashes for mrx_runway-1.5.0.dev15-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6853ba3c665211d88a1491f59861885196a2598a3d94e7d2a178c282d5bfe67 |
|
MD5 | 0687501f665ecc74ea2e725b70d0df67 |
|
BLAKE2b-256 | 1363a2d549fb8fcbaef71c6d146f31f4889fe42479b14dc70aa832a94cd0a165 |
Close
Hashes for mrx_runway-1.5.0.dev15-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 686a3a136408dc090d0938a8d54afc27cc9f80beb1baabb885260f9fe84e38dc |
|
MD5 | f248b6baada19ad5c56ba0aedfe51e72 |
|
BLAKE2b-256 | 19ee0f2f3d528b87e29935127aa7bcc53939ce3a383dd9be643b5a55b34f6a90 |
Close
Hashes for mrx_runway-1.5.0.dev15-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49c1739d2086186690674a6aee22a29dd3564f8e236e0ff2f751d6667ac0192c |
|
MD5 | dbc73042a19ea546b810ca5ff54c273d |
|
BLAKE2b-256 | 61b097b52df35cb2ce0138019402204bafc85c708185e11be6de905734d20545 |
Close
Hashes for mrx_runway-1.5.0.dev15-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 884330a4ce132f6097a356de11436d895336e8951552facee5a1cd5beb1eef41 |
|
MD5 | 7f5f9c70fe698e36f4d7b11f31bbc852 |
|
BLAKE2b-256 | 76d41f0503abbe2a37662660114a3560dbf45aad976ea1d6c31c5b0e367e3610 |
Close
Hashes for mrx_runway-1.5.0.dev15-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3763291a074cbb9f09cec602b087e97b53287f406376a0c7c533d4025c0292f |
|
MD5 | 861a231841e85f944c256e1f2fe76827 |
|
BLAKE2b-256 | 329c4fda61e67060302d8a0788bb17a699048e9ae55ed18705fea29cc67030cd |
Close
Hashes for mrx_runway-1.5.0.dev15-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b88e926ce2820145c255106f403bb4dc978f82251dd64b63e06b6e3dd2d632a0 |
|
MD5 | 2e3a60fa90f6f11abefbae53778c14b2 |
|
BLAKE2b-256 | 99582d6511f00032bc270eeea38614e9d7e4232e70fe9be10ae442a91b8c73b7 |
Close
Hashes for mrx_runway-1.5.0.dev15-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5f5f74006189238b420a37b45c55f0e32dea82e66a1a12c086855a2ee0ed32d |
|
MD5 | f3d5c8e92fa026281684eb1f3bba7912 |
|
BLAKE2b-256 | fdad5efff385689dc7ac76533ae692ca7826d0c0cde8be25d3cee52d08dc7b59 |
Close
Hashes for mrx_runway-1.5.0.dev15-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50769d044789ab85dc9b834ddc9adca61d7cb21180b78af47f67dbcc950be96c |
|
MD5 | 95ce64681c20ccea75733f74a62a751d |
|
BLAKE2b-256 | 84b23c558f1b5a54bb86833a1608a85fc54138a4ecefe7b2ff92fa0cfc2b1499 |
Close
Hashes for mrx_runway-1.5.0.dev15-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 540a8221954825b18433a3e9270c4ebddce005c60b2965fa25984999ddc1896f |
|
MD5 | 75d7b8f1f599ef448abaf562f2b00569 |
|
BLAKE2b-256 | 439fb3e16a708c4445a3842f8393d8cefa4aff846417a5956319d421f96be698 |
Close
Hashes for mrx_runway-1.5.0.dev15-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fecdfacdfbbb3e4bb9103ebd68cd6023130ca8a3df2ff0095452ed4662ad7aa |
|
MD5 | 74bfdbb2ef4455ec2ab79dda79bad762 |
|
BLAKE2b-256 | 3f6bd1246c55d23210b1d5851641185bb8011ad678a938c9f8a5632fec05de9a |