Valohai allows you to easily launch a cloud-hosted notebook.
With this feature, you can:
- Run notebook executions on any standard execution environment enabled by your organization, like an auto-scale machined on AWS/Azure/GCP, Kubernetes nodes or on-premise machine.
- Use the necessary packages and libraries for your job.
- Install additional packages on-the-fly.
- Execute cell-by-cell on a cloud-based CPU or GPU machine.
- Push changes to your Git repository.
Launching a Notebook Execution
To start a notebook execution:
- Go to the “Notebooks” tab in your project.
- Click “Create Notebook Execution.”
- Choose the environment and Docker image for your notebook.
Tip
You can use any standard Docker image, such as python:3.9
. Valohai will attempt to install Jupyter during startup if the image doesn’t have Jupyter pre-installed.
Optionally, you can also define:
-
A title and tags to easily find your notebooks later.
-
Inputs to download files from your data store into the notebook environment.
-
A specific Git commit if your Git is connected to the Valohai project. The code from this commit will then appear in Jupyter.
Once the notebook is launched and ready for use, you can connect to your cloud-hosted notebook instance by clicking the “Open Notebook” button.
Stop Notebook Execution
Remember to stop your notebook execution from the UI when you’re done; it will keep running until manually stopped.