Git Product home page Git Product logo

ltm's Introduction

project-demo

demo the use with project object

see documentation in: https://docs.mlrun.org/en/latest/projects/overview.html

Load & Run using MLRun SDK

When our project is already created and stored in a git archive we can quickly load and use it with the mlrun.load_project() method. load_project will use a local context directory (with initialized git) or clone a remote repo into the local dir and return a project object.

Users need to provide the path to the context dir and the git/zip/tar archive url, the name can be specified or taken from the project object, they can also specify secrets (repo credentials), init_git flag (to initialize git in the context dir), clone flag (indicating we must clone and ignore/remove local copy), and user_project flag (indicate the project name is unique to the user).

example, load a project from git and run the main workflow:

project = mlrun.load_project("./", "git://github.com/mlrun/project-demo.git")
project.run("main", arguments={'data': data_url})

Load & run using MLRun CLI

Loading a project from git into ./project :

mlrun project -n myproj -u "git://github.com/mlrun/project-demo.git" ./project

Running a specific workflow (main) from the project stored in . (current dir):

mlrun project -r main -w ./project

ltm's People

Contributors

yuribros1974 avatar hedingber 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.