No project description provided
Project description
MLflow MLTF Gateway
PLEASE NOTE This is a very early alpha. If you hit an error or see missing functionality, please make an issue so we can track and improve.
This project is a remote MLFlow Project job submission service. Using the included CLI or via REST, users can submit their training code to ACCRE (Vanderbilt's reearch computing facility).
Install
Until releases are pushed to PyPi, one can install the client by executing the following
# If not already in a virtual environment
python3 -m venv venv
source venv/bin/activate
# Once within the virtual environment, install the client
# This only needs to be done once
git clone https://github.com/accre/mltf-gateway.git
pip install -e mltf-gateway
After installing, configure the client with
export MLTF_GATEWAY_URI=https://gateway-dev.mltf.k8s.accre.vanderbilt.edu
mltf login
This will prompt you to visit a webpage, login using either CERN or Vanderbilt credentials, and copy a code from your
terminal into the resulting page. You can verify things worked correctly with mltf auth-status
$ mltf auth-status
Credentials found, expired? False
Token Subject: e0574079-d98b-4cc3-9246-1aef09bc0107
Token Issuer: https://keycloak.k8s.accre.vanderbilt.edu/realms/mltf-dual-login
Access Token:
Issued: 2025-10-06 22:23:05+00:00
Expires: 2025-10-11 22:23:05+00:00
Remaining: 1 day, 2:43:28.941754
Refresh Token:
Issued: 2025-10-01 21:15:11+00:00
Expires: 2025-10-26 20:56:06+00:00
Remaining: 16 days, 1:16:29.941754
Quickstart
To demonstrate the gateway, we set up an example "Hello World" project in the demo/with-gpu subdirectory of this repository. To
submit a job, enter the demo/with-gpu subdirectory and execute mltf submit which should output something similar to
$ mltf submit
Find your MLFlow run at https://mlflow-test.mltf.k8s.accre.vanderbilt.edu/#/experiments/0/runs/1d0c653826144357aa90a7de2c6f6bf8
Submitted project to MLTF: 962e168e-a61c-11f0-b4b0-bc2411853964
You can list your tasks with mltf list
$ mltf list
Tasks:
2025-10-10@16:03:35 - 962e168e-a61c-11f0-b4b0-bc2411853964
And check their status with mltf show <task_id>. If wanted, logs can be viewed with --show-logs.
$ mltf show 962e168e-a61c-11f0-b4b0-bc2411853964
Status: RUNNING
Finally, any output artifacts, parameters or logs will be uploaded to the tracking server which can be accessed from the URL provided above (future improvements will add CLI access to artifacts). The tracking API is described here and will let you upload arbitrary metrics (e.g. loss) and artifacts (e.g. output files)
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mlflow_mltf_gateway-0.1.1.tar.gz.
File metadata
- Download URL: mlflow_mltf_gateway-0.1.1.tar.gz
- Upload date:
- Size: 58.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebc3c135f857bdde6bc397fe46558f252ebeba5a3b68790aee832c561b859b7d
|
|
| MD5 |
49de5aedbdbe7cbaba919c0e856aaca4
|
|
| BLAKE2b-256 |
8b2bccd04a47c04d8635651d1c52f075207456b4a2aad7da0caf45079880198c
|
Provenance
The following attestation bundles were made for mlflow_mltf_gateway-0.1.1.tar.gz:
Publisher:
python-publish.yml on accre/mltf-gateway
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mlflow_mltf_gateway-0.1.1.tar.gz -
Subject digest:
ebc3c135f857bdde6bc397fe46558f252ebeba5a3b68790aee832c561b859b7d - Sigstore transparency entry: 605915369
- Sigstore integration time:
-
Permalink:
accre/mltf-gateway@ed09c80d834d6a9e1de2b44e02056b937ddf926f -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/accre
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ed09c80d834d6a9e1de2b44e02056b937ddf926f -
Trigger Event:
release
-
Statement type:
File details
Details for the file mlflow_mltf_gateway-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mlflow_mltf_gateway-0.1.1-py3-none-any.whl
- Upload date:
- Size: 69.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e00cfd7cfb6d54bae9c36bb1f9412e56403d280102393b082ee78bd4b1766b7e
|
|
| MD5 |
c806a860b79b1ef32c465a08da724fc3
|
|
| BLAKE2b-256 |
0a0ff0819f9db9ac3eb092c11d708d8a041fc10798755f5ed22c60ddb6f85cfa
|
Provenance
The following attestation bundles were made for mlflow_mltf_gateway-0.1.1-py3-none-any.whl:
Publisher:
python-publish.yml on accre/mltf-gateway
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mlflow_mltf_gateway-0.1.1-py3-none-any.whl -
Subject digest:
e00cfd7cfb6d54bae9c36bb1f9412e56403d280102393b082ee78bd4b1766b7e - Sigstore transparency entry: 605915411
- Sigstore integration time:
-
Permalink:
accre/mltf-gateway@ed09c80d834d6a9e1de2b44e02056b937ddf926f -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/accre
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ed09c80d834d6a9e1de2b44e02056b937ddf926f -
Trigger Event:
release
-
Statement type: