omidvaramin commited on
Commit
3b3e45f
1 Parent(s): a5cbd68

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -61,6 +61,7 @@ are simply reacting to it, which is how markets should operate."""
61
  import transformers
62
  import os
63
  import torch
 
64
  os.environ["CUDA_VISIBLE_DEVICES"]="5"
65
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
66
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
61
  import transformers
62
  import os
63
  import torch
64
+ #If you have more than one GPU, you can specify here which one to use
65
  os.environ["CUDA_VISIBLE_DEVICES"]="5"
66
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
67
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")