Skip to main content

mlflow-baidubce-store-plugin

A MLflow plugin that allows users to use Baidu BCE BOS(CN/EN) as the artifact store for MLflow.

Example

pip install mlflow-baidubce-store-plugin -U
import mlflow.pyfunc
import os

os.environ["MLFLOW_BOS_ENDPOINT"] = "bj.bcebos.com"
os.environ["MLFLOW_BOS_SECRET_ACCESS_KEY"] = "AK"
os.environ["MLFLOW_BOS_KEY_ID"] = "SK"

class Mod(mlflow.pyfunc.PythonModel):
    def predict(self, ctx, inp):
        return 8765


exp_name = "bos-exp"
mlflow.create_experiment(exp_name, artifact_location="bos://mlflow-test/")
mlflow.set_experiment(exp_name)
mlflow.pyfunc.log_model('model_test', python_model=Mod())
print(mlflow.get_artifact_uri())
mlflow.artifacts.download_artifacts(mlflow.get_artifact_uri())

Metadata

Release files for mlflow-baidubce-store-plugin 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mlflow-baidubce-store-plugin 1.0.7
File Size Uploaded
mlflow-baidubce-store-plugin-1.0.7.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mlflow-baidubce-store-plugin 1.0.7
File Interpreter ABI Platform
mlflow_baidubce_store_plugin-1.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 15.0 kB

Release files / mlflow-baidubce-store-plugin-1.0.7.tar.gz

Download URL mlflow-baidubce-store-plugin-1.0.7.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d0e765e62be00b8faa074849a8b4207b9c825cda43560965521aa3776e3a1284
BLAKE2b-256 checksum
How to use checksums
618458ee1145a9b759583bef85ac3a97ca1e33f2c4e99bc7070bbe8a7a0018db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / mlflow_baidubce_store_plugin-1.0.7-py3-none-any.whl

Download URL mlflow_baidubce_store_plugin-1.0.7-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a744c84de177e3a3fcc7026333510bd7eda2b5171f808b2f3c86b0605ca307d
BLAKE2b-256 checksum
How to use checksums
b1b868cb0ba4ece9fb26829d1ba683fde67b6782e29ea486010143f448961191
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release history Release notifications | RSS feed

This release

1.0.7 This release

2 release files

1.0.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page