1 Star 0 Fork 41

tuoyuanyuan / graphlearning

forked from MindSpore / graphlearning 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README_CN.md 2.69 KB
一键复制 编辑 原始数据 按行查看 历史
sophie 提交于 2022-03-02 21:53 . first commit

MindSpore Graph Learning

  

简介

MindSpore Graph Learning 是一个基于MindSpore的高效易用的图学习框架。得益于MindSpore的图算融合能力,MindSpore Graph Learning能够针对图模型特有的执行模式进行编译优化,帮助开发者缩短训练时间。 MindSpore Graph Learning 还创新提出了以点为中心编程范式,提供更原生的图神经网络表达方式,并内置覆盖了大部分应用场景的模型,使开发者能够轻松搭建图神经网络。

GraphLearning_architecture

安装指南

确认系统环境信息

安装方式

可以采用pip安装或者源码编译安装两种方式。

pip安装

pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/{version}/GraphLearning/any/mindspore_gl_gpu-{version}-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
  • 在联网状态下,安装whl包时会自动下载MindSpore Graph Learning安装包的依赖项(依赖项详情参见requirements.txt),其余情况需自行安装。
  • {version}表示MindSpore Graph Learning版本号,例如下载0.1版本MindSpore Graph Learning时,{version}应写为0.1。

源码安装

  1. 从代码仓下载源码

    git clone https://gitee.com/mindspore/graphlearning.git
  2. 编译安装MindSpore Graph Learning

    cd graphlearning
    bash build.sh
    pip install ./output/mindspore_gl_gpu-*.whl

验证是否成功安装

执行如下命令,如果没有报错No module named 'mindspore_gl',则说明安装成功。

python -c 'import mindspore_gl'
1
https://gitee.com/tuoyuanyuan/graphlearning.git
git@gitee.com:tuoyuanyuan/graphlearning.git
tuoyuanyuan
graphlearning
graphlearning
master

搜索帮助