Post-Installation Sanity Check
Last updated
Was this helpful?
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.
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 | bashClone the sample mnist project by running the following command:
git clone https://github.com/Tensorleap-hub/mnist.git
cd mnistAuthenticate 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
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?
Was this helpful?
leap auth login http://localhost:4589 -k [Token]leap push
