我是靠谱客的博主 俊逸冬日,这篇文章主要介绍torch-scatter, torch-cluster, torch-sparse, torch版本对应,cuda,现在分享给大家,希望可以做个参考。

1. torch-scatter, torch-cluster, torch-sparse 的版本需要与torch版本对应,不然会出现莫名其妙的错误。以下是几个可用的版本配置:

python=3.8

           torch==1.8.0+cu111
           torch-scatter==2.0.6
           torch-cluster==1.5.9
           torch-sparse==0.6.9
           torch-geometric==1.6.3

python=3.7

           torch==1.1.0
           torch-scatter==1.3.2
           torch-cluster==1.4.5
           torch-sparse==0.4.3
           torch-spline-conv==1.1.1
           torch-geometric==1.3.2
           torchvision==0.3.0

python==3.6

     torch==1.3.0
     torch-scatter==1.3.2
     torch-cluster==1.4.5
     torch-sparse==0.4.3
     torch-spline-conv==1.1.1
     torch-geometric==1.3.2
     torchvision==0.4.1

2. 查看已装torch对应的cuda版本

>>> import torch
>>> print(torch.version.cuda)
 

最后

以上就是俊逸冬日最近收集整理的关于torch-scatter, torch-cluster, torch-sparse, torch版本对应,cuda的全部内容,更多相关torch-scatter,内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(117)

评论列表共有 0 条评论

立即
投稿
返回
顶部