Skip to content

Commit

Permalink
Chore: Transfer to crate organization
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Jun 15, 2024
1 parent 2141a57 commit a8890eb
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 35 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/oci-runtime.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage OCI container images through GitHub Actions (GHA) to GitHub Container Registry (GHCR).
# The `ghcr.io/crate-workbench/ml-runtime` OCI image contains a number of popular ML libraries,
# The `ghcr.io/crate/ml-runtime` OCI image contains a number of popular ML libraries,
# and is suitable to support a variety of ML workloads.
name: OCI for runtime

Expand Down Expand Up @@ -32,7 +32,7 @@ concurrency:

# The name for the produced image at ghcr.io.
env:
IMAGE_NAME: "crate-workbench/ml-runtime"
IMAGE_NAME: "crate/ml-runtime"
RECIPE_PATH: "release/oci-runtime"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/oci-server.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage OCI container images through GitHub Actions (GHA) to GitHub Container Registry (GHCR).
# The `ghcr.io/crate-workbench/mlflow-cratedb` OCI image contains the amalgamated
# The `ghcr.io/crate/mlflow-cratedb` OCI image contains the amalgamated
# MLflow for CrateDB adapter.
name: OCI for server

Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# MLflow adapter for CrateDB

[![Tests](https://github.com/crate-workbench/mlflow-cratedb/actions/workflows/main.yml/badge.svg)](https://github.com/crate-workbench/mlflow-cratedb/actions/workflows/main.yml)
[![Test coverage](https://img.shields.io/codecov/c/gh/crate-workbench/mlflow-cratedb.svg)](https://codecov.io/gh/crate-workbench/mlflow-cratedb/)
[![Tests](https://github.com/crate/mlflow-cratedb/actions/workflows/main.yml/badge.svg)](https://github.com/crate/mlflow-cratedb/actions/workflows/main.yml)
[![Test coverage](https://img.shields.io/codecov/c/gh/crate/mlflow-cratedb.svg)](https://codecov.io/gh/crate/mlflow-cratedb/)
[![Python versions](https://img.shields.io/pypi/pyversions/mlflow-cratedb.svg)](https://pypi.org/project/mlflow-cratedb/)

[![License](https://img.shields.io/github/license/crate-workbench/mlflow-cratedb.svg)](https://github.com/crate-workbench/mlflow-cratedb/blob/main/LICENSE)
[![License](https://img.shields.io/github/license/crate/mlflow-cratedb.svg)](https://github.com/crate/mlflow-cratedb/blob/main/LICENSE)
[![Status](https://img.shields.io/pypi/status/mlflow-cratedb.svg)](https://pypi.org/project/mlflow-cratedb/)
[![PyPI](https://img.shields.io/pypi/v/mlflow-cratedb.svg)](https://pypi.org/project/mlflow-cratedb/)
[![Downloads](https://pepy.tech/badge/mlflow-cratedb/month)](https://pypi.org/project/mlflow-cratedb/)
Expand Down Expand Up @@ -54,8 +54,8 @@ how to [install a development sandbox].
## Project Information

### Resources
- [Source code](https://github.com/crate-workbench/mlflow-cratedb)
- [Documentation](https://github.com/crate-workbench/mlflow-cratedb/tree/main/docs)
- [Source code](https://github.com/crate/mlflow-cratedb)
- [Documentation](https://github.com/crate/mlflow-cratedb/tree/main/docs)
- [Python Package Index (PyPI)](https://pypi.org/project/mlflow-cratedb/)

### Contributions
Expand Down Expand Up @@ -83,23 +83,23 @@ ML experiment programs, using [Merlion] and [PyCaret].

[Andreas Nigg]: https://github.com/andnig
[Ben Wilson]: https://github.com/BenWilson2
[container usage]: https://github.com/crate-workbench/mlflow-cratedb/blob/main/docs/container.md
[container usage]: https://github.com/crate/mlflow-cratedb/blob/main/docs/container.md
[Corey Zumar]: https://github.com/dbczumar
[CrateDB]: https://github.com/crate/crate
[CrateDB Cloud]: https://console.cratedb.cloud/
[Create an issue]: https://github.com/crate-workbench/mlflow-cratedb/issues
[development sandbox]: https://github.com/crate-workbench/mlflow-cratedb/blob/main/docs/development.md
[Create an issue]: https://github.com/crate/mlflow-cratedb/issues
[development sandbox]: https://github.com/crate/mlflow-cratedb/blob/main/docs/development.md
[examples about MLflow and CrateDB]: https://github.com/crate/cratedb-examples/tree/main/topic/machine-learning/mlops-mlflow
[handbook]: https://github.com/crate-workbench/mlflow-cratedb/blob/main/docs/handbook.md
[handbook]: https://github.com/crate/mlflow-cratedb/blob/main/docs/handbook.md
[Harutaka Kawamura]: https://github.com/harupy
[install a development sandbox]: https://github.com/crate-workbench/mlflow-cratedb/blob/main/docs/development.md
[LICENSE]: https://github.com/crate-workbench/mlflow-cratedb/blob/main/LICENSE
[install a development sandbox]: https://github.com/crate/mlflow-cratedb/blob/main/docs/development.md
[LICENSE]: https://github.com/crate/mlflow-cratedb/blob/main/LICENSE
[Machine Learning with CrateDB]: https://cratedb.com/docs/guide/domain/ml/
[managed on GitHub]: https://github.com/crate-workbench/mlflow-cratedb
[managed on GitHub]: https://github.com/crate/mlflow-cratedb
[Merlion]: https://github.com/salesforce/Merlion
[MLflow]: https://mlflow.org/
[MLflow Tracking]: https://mlflow.org/docs/latest/tracking.html
[PyCaret]: https://pycaret.org/
[Siddharth Murching]: https://github.com/smurching
[tracking_merlion.py]: https://github.com/crate-workbench/mlflow-cratedb/blob/main/examples/tracking_merlion.py
[tracking_pycaret.py]: https://github.com/crate-workbench/mlflow-cratedb/blob/main/examples/tracking_pycaret.py
[tracking_merlion.py]: https://github.com/crate/mlflow-cratedb/blob/main/examples/tracking_merlion.py
[tracking_pycaret.py]: https://github.com/crate/mlflow-cratedb/blob/main/examples/tracking_pycaret.py
14 changes: 7 additions & 7 deletions docs/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
The project operates GHA workflows to build and publish two OCI images to
GHCR, `mlflow-cratedb` and `ml-runtime`.

- `ghcr.io/crate-workbench/mlflow-cratedb`
- `ghcr.io/crate/mlflow-cratedb`
Includes the amalgamated Mlflow for CrateDB adapter, ready to run.
Effectively, it contains the same packages as if you installed them with
`pip install 'mlflow-cratedb'`

- `ghcr.io/crate-workbench/ml-runtime`
- `ghcr.io/crate/ml-runtime`
Includes a few popular machine learning libraries and other software
to support your experiments. Effectively, it contains the same packages
as if you installed them with `pip install 'mlflow-cratedb[examples]'`.
Expand Down Expand Up @@ -55,14 +55,14 @@ you will need to address the CrateDB container by name instead.
docker run --rm -it --link=cratedb \
--env="MLFLOW_TRACKING_URI=crate://crate@cratedb:4200/?schema=mlflow" \
--env="CRATEDB_HTTP_URL=http://crate@cratedb:4200/?schema=doc" \
ghcr.io/crate-workbench/ml-runtime python /opt/ml/bin/tracking_dummy.py
ghcr.io/crate/ml-runtime python /opt/ml/bin/tracking_dummy.py
```

You can use `crash` to inquire the relevant MLflow database tables.
```shell
docker run --rm -it --link=cratedb ghcr.io/crate-workbench/ml-runtime \
docker run --rm -it --link=cratedb ghcr.io/crate/ml-runtime \
crash --hosts="http://crate@cratedb:4200/" --schema=mlflow --command='SELECT * FROM "experiments";'
docker run --rm -it --link=cratedb ghcr.io/crate-workbench/ml-runtime \
docker run --rm -it --link=cratedb ghcr.io/crate/ml-runtime \
crash --hosts="http://crate@cratedb:4200/" --schema=mlflow --command='SELECT * FROM "runs";'
```

Expand All @@ -82,7 +82,7 @@ and the web UI, see http://localhost:5000/.

```shell
docker run --rm -it --name=mlflow --link=cratedb --publish=5000:5000 \
ghcr.io/crate-workbench/mlflow-cratedb mlflow-cratedb server \
ghcr.io/crate/mlflow-cratedb mlflow-cratedb server \
--backend-store-uri="${CRATEDB_SQLALCHEMY_URL}" --host=0.0.0.0 \
--gunicorn-opts="--log-level=debug"
```
Expand All @@ -95,7 +95,7 @@ other containers.
docker run --rm -it --link=cratedb --link=mlflow \
--env="MLFLOW_TRACKING_URI=http://mlflow:5000" \
--env="CRATEDB_HTTP_URL=http://crate@cratedb:4200/?schema=doc" \
ghcr.io/crate-workbench/ml-runtime python /opt/ml/bin/tracking_merlion.py
ghcr.io/crate/ml-runtime python /opt/ml/bin/tracking_merlion.py
```


Expand Down
4 changes: 2 additions & 2 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sandbox on your workstation, and how to run the software tests.
Acquire source code and install development sandbox. The authors recommend
to use a Python virtualenv.
```shell
git clone https://github.com/crate-workbench/mlflow-cratedb
git clone https://github.com/crate/mlflow-cratedb
cd mlflow-cratedb
python3 -m venv .venv
source .venv/bin/activate
Expand Down Expand Up @@ -61,4 +61,4 @@ adding the changelog items from the [](../CHANGES.md) file instead of the items
automatically generated by GitHub.


[release page on GitHub]: https://github.com/crate-workbench/mlflow-cratedb/releases
[release page on GitHub]: https://github.com/crate/mlflow-cratedb/releases
2 changes: 1 addition & 1 deletion examples/tracking_dummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Use MLflow and CrateDB to track the metrics and parameters of a dummy ML
experiment program.
- https://github.com/crate-workbench/mlflow-cratedb
- https://github.com/crate/mlflow-cratedb
- https://mlflow.org/docs/latest/tracking.html
Usage
Expand Down
2 changes: 1 addition & 1 deletion examples/tracking_merlion.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
experiment program using Merlion. It uses the `machine_temperature_system_failure.csv`
dataset from the Numenta Anomaly Benchmark data.
- https://github.com/crate-workbench/mlflow-cratedb
- https://github.com/crate/mlflow-cratedb
- https://mlflow.org/docs/latest/tracking.html
Usage
Expand Down
2 changes: 1 addition & 1 deletion examples/tracking_pycaret.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
experiment program using PyCaret. It uses the Real-world sales forecasting benchmark data
dataset from 4TU.ResearchData.
- https://github.com/crate-workbench/mlflow-cratedb
- https://github.com/crate/mlflow-cratedb
- https://mlflow.org/docs/latest/tracking.html
Usage
Expand Down
2 changes: 1 addition & 1 deletion mlflow_cratedb/patch/mlflow/tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def patch_get_orderby_clauses():
"""
MLflow's `_get_orderby_clauses` adds an `sql.case(...)` clause, which CrateDB does not understand.
https://github.com/crate-workbench/mlflow-cratedb/issues/8
https://github.com/crate/mlflow-cratedb/issues/8
"""
import mlflow.store.tracking.sqlalchemy_store as sqlalchemy_store

Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ mlflow-cratedb = "mlflow_cratedb.server:app"
packages = ["mlflow_cratedb"]

[project.urls]
changelog = "https://github.com/crate-workbench/mlflow-cratedb/blob/main/CHANGES.md"
documentation = "https://github.com/crate-workbench/mlflow-cratedb"
homepage = "https://github.com/crate-workbench/mlflow-cratedb"
repository = "https://github.com/crate-workbench/mlflow-cratedb"
changelog = "https://github.com/crate/mlflow-cratedb/blob/main/CHANGES.md"
documentation = "https://github.com/crate/mlflow-cratedb"
homepage = "https://github.com/crate/mlflow-cratedb"
repository = "https://github.com/crate/mlflow-cratedb"
[tool.black]
line-length = 120

Expand Down
2 changes: 1 addition & 1 deletion tests/test_tracking_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_log_model_twice(tracking_store, reset_database):
References
----------
- https://github.com/crate-workbench/mlflow-cratedb/issues/46
- https://github.com/crate/mlflow-cratedb/issues/46
"""

# Activate backend for tracking.
Expand Down

0 comments on commit a8890eb

Please sign in to comment.