Skip to content

Commit f8047d1

Browse files
lh0x00djherbis
andauthored
Upgrade torch to 2.2.1 to resolve some issues (#1388)
Related issues were discussed: huggingface/transformers#28731, Lightning-AI/litgpt#327. The solution used was to upgrade the `torch` version to `2.2.1` which is referenced [comment](huggingface/transformers#28731 (comment)), and [colab release note](https://colab.research.google.com/notebooks/relnotes.ipynb#scrollTo=59f6f87f). For example, some notebooks encountered the above problem and had to temporarily fix the error with the following code: ```python import torch torch.backends.cuda.enable_mem_efficient_sdp(False) torch.backends.cuda.enable_flash_sdp(False) ``` - [Ghost 7B Alpha - Playground using Transformers, en](https://www.kaggle.com/code/lamhieu/ghost-7b-alpha-playground-using-transformers-en) - [Ghost 7B Alpha - Playground using Transformers, vi](https://www.kaggle.com/code/lamhieu/ghost-7b-alpha-playground-using-transformers-vi) --------- Co-authored-by: Dustin H <djherbis@gmail.com>
1 parent 60328f8 commit f8047d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ BASE_IMAGE_TAG=m114
33
CPU_BASE_IMAGE_NAME=tf2-cpu.2-15.py310
44
GPU_BASE_IMAGE_NAME=tf2-gpu.2-15.py310
55
LIGHTGBM_VERSION=4.2.0
6-
TORCH_VERSION=2.1.2
7-
TORCHAUDIO_VERSION=2.1.2
8-
TORCHTEXT_VERSION=0.16.2
9-
TORCHVISION_VERSION=0.16.2
6+
TORCH_VERSION=2.2.1
7+
TORCHAUDIO_VERSION=2.2.1
8+
TORCHTEXT_VERSION=0.17.1
9+
TORCHVISION_VERSION=0.17.1
1010
JAX_VERSION=0.4.23
1111
CUDA_MAJOR_VERSION=12
1212
CUDA_MINOR_VERSION=1

0 commit comments

Comments
 (0)