Categorygithub.com/Astera-org/mlflow-go
modulepackage
0.0.2
Repository: https://github.com/astera-org/mlflow-go.git
Documentation: pkg.go.dev

# README

mlflow-go

Go MLFlow client.

Supports the Tracking API, with local files and HTTP.

Usage

See the examples in conformance/main.go, or fully rendered documentation on pkg.go.dev.

Development

Install Bazel using Bazelisk. Some tests require Bazel to run (i.e. they are not run by go test).

If you want to use the go tool instead of / in addition to Bazel, you can install Go on your own or use the version that Bazel downloads.

After a bazel test //..., you should be able to find the Go binary like so:

find -L bazel-mlflow-go/external -wholename "*/bin/go"

Install pre-commit.

Manual tests

There are some tests that assume something about the environment. They can be run with go test -tags manual, or by specifying the exact target to bazel test. When making changes to the code that is not well-covered by the unit tests, please run the manual tests.

You can list the manual tests with:

bazel query "attr(tags, '\\bmanual\\b', //...)"

# Packages

No description provided by the author
No description provided by the author

# Functions

Same as ActiveRunFromEnv, but uses the given struct as the source of config values.
Returns the singleton active run.
LogStructAsParams logs the fields of the given obj as params.
This assumes uri is for the root of a run.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
https://www.mlflow.org/docs/latest/tracking.html#system-tags.
No description provided by the author
https://github.com/mlflow/mlflow/blob/8cd2eb0f7975decefb88af60ac5cc4f968458ab3/mlflow/entities/lifecycle_stage.py#L5.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

DBFSArtifactRepo uploads to DBFS (Databricks File System).
FileArtifactRepo writes to a local file system.
Implements Tracking interface.
No description provided by the author
No description provided by the author
Implements Tracking interface See https://www.mlflow.org/docs/latest/rest-api.html for the REST API documentation.
No description provided by the author

# Interfaces

ArtifactRepo is an interface for logging artifacts.
No description provided by the author
No description provided by the author
Tracking is an interface for an MLFlow tracking server.