Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 837 Bytes

install.md

File metadata and controls

38 lines (24 loc) · 837 Bytes

AGL安装说明

AGL 目前主要以镜像的方式提供使用能力。

Docker镜像:

aglimage/agl:agl-ubuntu-gcc9.4.0-py3.8-cuda11.8-pytorch2.0.1-0825

镜像中包含运行 AGL 所需的依赖,包括Java, Maven, Spark, Pytorch, PyG, Cuda等。 在该镜像的 docker 容器中,用户无需再关注环境配置.

安装步骤:

1. Clone 代码

git clone https://github.com/TuGraph-family/TuGraph-AntGraphLearning.git

2. 启动 docker

启动 docker 脚本 参考

bash start_docker_with_image.sh

3. 编译源码

bash build.sh

基于当前分支编译一个whl并覆盖安装到当前docker中, whl包位于 dist 目录中,名称类似agl-0.0.1-cp38-cp38-linux_x86_64.whl

镜像构建脚本