Commit
·
9da993f
1
Parent(s):
6e540cf
Update README.md
Browse files
README.md
CHANGED
@@ -63,7 +63,7 @@ import transformers
|
|
63 |
import os
|
64 |
import torch
|
65 |
#If you have more than one GPU, you can specify here which one to use
|
66 |
-
os.environ["CUDA_VISIBLE_DEVICES"]="
|
67 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
68 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
69 |
print(device)
|
|
|
63 |
import os
|
64 |
import torch
|
65 |
#If you have more than one GPU, you can specify here which one to use
|
66 |
+
os.environ["CUDA_VISIBLE_DEVICES"]="5"
|
67 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
68 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
69 |
print(device)
|