For the complete documentation index, see llms.txt. This page is also available as Markdown.

Post-Installation Sanity Check

Once you have installed Tensorleap on your local machine or server, you can perform a quick sanity check to ensure the system is fully operational. This guide will walk you through installing the Tensorleap CLI on your machine, authenticating your machine with a secure token, and deploying a sample MNIST project to verify your setup. Please note that the initial model evaluation process may take up to 20 minutes to complete.

Performing the Sanity

  1. Install the Leap CLI on your machine (you write code on) by running the following command:

curl -s https://raw.githubusercontent.com/tensorleap/leap-cli/master/install.sh | bash
  1. Clone the sample mnist project by running the following command:

git clone https://github.com/Tensorleap-hub/mnist.git
cd mnist
  1. Authenticate the CLI:

Copy your API token from the Tensorleap UI by navigating to Settings and selecting CLI Token.

Click on "YES, DISABLE MY OLD TOKEN AND GENERATE A NEW ONE"

Click on the copy icon

Run the following command and replace the [Token] with the token ID you've copied

  1. Within the mnist directory run the following command:

While being prompt in the process of the leap push run in the cli:

  • Create a new project

  • Provide a name for the model - For Example modelmnist

  • Select the .h5 model

  • Reply with a Yes to the Evaluate Model

  • Set the batch to 256

Th evaluate process may take up to 20 minutes

Last updated

Was this helpful?