# Installing software in E2E cloud compute

Most of the instances in E2E cloud comes with Python, but not with pip. CUDA drivers are install, but pytorch or tensorflow is missing.\ <br>

```
apt-get install python3-pip
```

Check CUDA version:\ <br>

```
nvcc --version
```

Then install pytorch for cuda:

```
python3 -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
```

Verify the installation using:\ <br>

```
import torch
torch.cuda.is_available()
```

Install jupyter lab and run with no password:

```
pip install jupyterlab

jupyter lab --allow-root --ip='*' --NotebookApp.token='' --NotebookApp.password=''
```

Then expose URL with ngrok: `ngrok http 8888`\ <br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://til.kurianbenoy.com/ai-ml/installing-software-in-e2e-cloud-compute.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
