File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 58
58
" from IPython.utils import io\n " ,
59
59
" from google.colab import files\n " ,
60
60
" \n " ,
61
+ " import torch\n " ,
62
+ " torch_v = torch.__version__\n " ,
63
+ " \n " ,
64
+ " \n " ,
61
65
" if not os.path.isdir(\" RoseTTAFold\" ):\n " ,
62
66
" with io.capture_output() as captured:\n " ,
63
67
" # extra functionality\n " ,
81
85
" \n " ,
82
86
" # install libraries\n " ,
83
87
" %shell pip install -q dgl-cu113 -f https://data.dgl.ai/wheels/repo.html\n " ,
84
- " %shell pip install -q torch-scatter -f https://pytorch-geometric.com/whl/torch-1.11.0+cu113 .html\n " ,
85
- " %shell pip install -q torch-sparse -f https://pytorch-geometric.com/whl/torch-1.11.0+cu113 .html\n " ,
88
+ " %shell pip install -q torch-scatter -f https://pytorch-geometric.com/whl/torch-{torch_v} .html\n " ,
89
+ " %shell pip install -q torch-sparse -f https://pytorch-geometric.com/whl/torch-{torch_v} .html\n " ,
86
90
" %shell pip install -q torch-geometric\n " ,
87
91
" %shell pip install -q py3Dmol\n " ,
88
92
" \n " ,
You can’t perform that action at this time.
0 commit comments