Installation and setup

For monitoring experiments using TrueFoundry you need to setup mlfoundry:

  • mlfoundry python library

Step 1: Signup or Login on TrueFoundry

Sign up on TrueFoundry using email, Google account, or GitHub account.

Step 2: Setup ServiceFoundry

mlfoundry is the python library from TrueFoundry used for deployment.

Install ServiceFoundry client library

On your machine, run (preferably within a virtual environment or conda environment):

pip install mlfoundry

Login from CLI

From the CLI, run the following and follow the link to authenticate:

mlfoundry login

📘

Login to managed or self-hosted

If you are running the Truefoundry platform on your own infrastructure or isolated from our public cloud offering, you can login using the --host parameter

mlfoundry login --host https://app.example.yourdomain.com

You will be prompted to complete the authentication by clicking on the link.

Output:

Opening:- https://app.truefoundry.com/authorize/device?userCode=XXXX
Please click on the above link if it is not automatically opened in a browser window.
Successfully logged in to 'https://app.truefoundry.com' as 'abc-tfy'
([email protected])