Giter Club home page Giter Club logo

mlstack's Introduction

mlstack

(work in progress)

ML Infrastructure stack and playground for local (for now) machine learning development. Including workflow engine, experiment tracking, model serving (upcoming), and more.

Includes the following components:

Quick Start

Install poetry and flytectl

poetry install

Kubernetes

For local development cluster and how to start refer to kubernetes/README.md.

Flyte

To test flyte locally using the local development cluster perform the following steps - (inspired by).

Make sure the hosts entry for the fully qualified domain name (FQDN) is set to the storage service (e.g. minio). Pyflyte gets the minio endpoint from the flyteadmin service. In the cluster flyte is configured to use a particular storage service which is forwarded to the client(pyflyte). If the FQDN is not set to the storage service the client will not be able to connect to the storage service.

127.0.0.1       ml-minio.default.svc.cluster.local

Make sure your flyte config is defined - default in ~/.flyte/config - see flyte docs for more details.

mkdir -p ~/.flyte && \
cat << EOF > ~/.flyte/config
admin:
  # grpc endpoint
  endpoint: localhost:8089
  authType: Pkce
  insecure: true
logger:
  show-source: true
  level: 6
EOF

Make sure that the flyte/flyteadmin service is running and corresponding ports are forwarded (see kubernetes/README.md).

Executes a flyte workflow remotely.

pyflyte run --remote samples/hello_flyte.py my_wf

MLFlow

Test artifact storage:

poetry run python samples/mlflow/artifacts.py --tracking_uri http://localhost:8888/mlflow

Test experiment tracking:

poetry run python samples/mlflow/tracking.py --tracking_uri http://localhost:8888/mlflow

mlstack's People

Contributors

clemens33 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.