# Can not keep pace with Pytorch

**URL:** <https://deeptalk.lambda.ai/t/can-not-keep-pace-with-pytorch/2506>\
**Category:** Technical Help\
**Created:** [July 22, 2021, 5:07pm UTC](https://deeptalk.lambda.ai/t/can-not-keep-pace-with-pytorch/2506 "2021-07-22T17:07:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hode](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@hode](https://deeptalk.lambda.ai/u/hode)\
**Post date:** [July 22, 2021, 5:07pm UTC](https://deeptalk.lambda.ai/t/can-not-keep-pace-with-pytorch/2506/1 "2021-07-22T17:07:38Z")

</div>

I need to use Ubuntu 18.04 and run latest Pytorch on it. The lowest cuda version for the latest Pytorch 1.9.0 is 10.2. But it seems the highest cuda version Lambda stack support for Ubuntu 18,04 is 10.0. I tried to upgrade to 10.2 but can not. Can lambda stack update the cuda version to 10.2 or 11.0? Thanks.

---

<div class="post-metadata">

**Author:** ![rneely](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@rneely](https://deeptalk.lambda.ai/u/rneely)\
**Post date:** [February 10, 2022, 6:24pm UTC](https://deeptalk.lambda.ai/t/can-not-keep-pace-with-pytorch/2506/2 "2022-02-10T18:24:01Z")

</div>

How can I update to the latest (or at least a more recent) version of PyTorch with Lambda Stack? On 2022.02.10 PyTorch is up to 1.10.2 and CUDA up to 11.3 per [Start Locally | PyTorch](https://pytorch.org/get-started/locally/).

I’ve a Lambda Labs Tensorbook. I tried upgrading my lambda stack with:

```
sudo apt-get update
sudo apt-get dist-upgrade

```

That succeeded. However

```
python3 -c "import torch;print(torch. __version__ );print(torch.cuda.is_available());print(torch.cuda.get_device_name(torch.cuda.current_device()));"

```

outputs

```
1.6.0
True
NVIDIA GeForce RTX 2080 Super with Max-Q Design

```

which reveals the lambda-stack is using PyTorch 1.6.

Additionally

```
nvcc --version

```

outputs

```
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:24:38_PDT_2019
Cuda compilation tools, release 10.2, V10.2.89

```

which shows CUDA 10.2 in use.

Please help. I at least need Pytorch 1.8.

---

<div class="post-metadata">

**Author:** ![markd](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@markd](https://deeptalk.lambda.ai/u/markd)\
**Post date:** [March 4, 2022, 10:03am UTC](https://deeptalk.lambda.ai/t/can-not-keep-pace-with-pytorch/2506/3 "2022-03-04T10:03:47Z")

</div>

Hi!

1. I am guessing you are on Ubuntu 18.04 LTS.
  - So you can upgrade to 20.04 LTS  
(Ubuntu 22.04 releases around April).  
$ python3 -c “import torch;print(torch. **version** );print(torch.cuda.is\_available());print(torch.cuda.get\_device\_name(torch.cuda.current\_device()));”  
1.10.1  
True  
NVIDIA GeForce RTX 3080

  - You can use python venv, docker, virtualenv, or anaconda to run newer versions.  
I have write ups on how to run newer tensorflow, 2.7 + CUDA 11, on ubuntu 18.04 with docker or venv  
And a blog on the Anaconda use for that.

I cannot upload a text document to attach here. But I am open to sharing it, they worked for me and another person that needed that. And I could quick adapt that to pytorch.
