Skip to content

TIR Instance

View as Markdown

A TIR Instance is a GPU or CPU machine set up for machine learning work. You pick an image with the framework you use, such as PyTorch, TensorFlow, Transformers, or vLLM, and a plan with the GPUs you need. Then you work in JupyterLab in your browser, or over SSH from your own terminal.

Use an instance to explore data in notebooks, train and fine-tune models, run a model behind a small web app, or build and test your own environment before you share it with your team. Each instance is a container in your TIR project, and its workspace at /home/jovyan keeps your notebooks, data, and checkpoints through restarts, stops, and starts.

In TIR, open your project. In the side menu, under Compute, select Containers (Instances). Your instances are listed in Manage Instances, and Create Instance starts a new one.

Choose an image Instance Choose a plan Open JupyterLab Connect over SSH Mount datasets and file systems Save it as an image
Diagram as text
flowchart LR
    A[Choose an image] --> C[Instance]
    B[Choose a plan] --> C
    C --> D[Open JupyterLab]
    C --> E[Connect over SSH]
    C --> F[Mount datasets and file systems]
    C --> G[Save it as an image]

You choose an image and a plan, and TIR starts the instance from them. Once it is running, you open JupyterLab in your browser or connect over SSH. To bring in data that lives outside the instance, you mount datasets and file systems on it. When the instance has the packages you need, you can save it as an image and start new instances from it.

The image decides what the instance starts with:

Image What you get Choose it when
Pre-built An image maintained by E2E, with a machine learning framework and an app such as JupyterLab You want to start working in your browser straight away
Base OS An operating system with no app, which you reach over SSH You want to install and set up everything yourself
Custom Your own image from your project’s Container Registry, or a public image from a registry such as Docker Hub You need a setup beyond what the pre-built images offer, or one environment for your whole team

The plan sets the instance’s GPUs, vCPUs, and memory. An instance runs on a GPU plan, a CPU plan, or your own TIR private cluster.

You can also create, start, stop, and delete instances through the API. See the instance operations in the TIR API.

Instance, TIR Virtual Machine, or MyAccount GPU node

Section titled “Instance, TIR Virtual Machine, or MyAccount GPU node”

A TIR Instance is a container with pre-built machine learning images, JupyterLab, and the TensorBoard and Gradio add-ons, ready for work as soon as it starts. Only /home/jovyan and mounted storage keep data across restarts, and it runs without systemd or a Docker daemon.

A TIR Virtual Machine, under Compute > Virtual Machines, is a full Linux virtual machine with its own kernel and root access. Its disk keeps its files across restarts and stops. Choose it for work that changes the operating system itself.

A MyAccount GPU node is a virtual machine in MyAccount where you choose the operating system. For how the three compare, see the TIR Instance FAQ.

Start with Get started with TIR Instances, which launches an instance and opens JupyterLab on it. Where your files live on an instance explains which folders keep your work. Billing options for TIR Instances explains On-Demand, committed, and Spot billing, and Pre-built images and their versions lists every pre-built image. For help with a problem, see Troubleshooting TIR Instances, and for short answers, the TIR Instance FAQ.