Huang Zhengjie

Results 30 comments of Huang Zhengjie

目前pgl已经支持paddle2.0了,可以看分支 [pgl-2.0.0a](https://github.com/PaddlePaddle/PGL/tree/pgl-2.0.0a) 后续会合入主干,或者pip install pgl==2.0.0a。 目前还是试验性阶段,我们sequence_pool已经用segment系列op代替了。 我们的图卷积操作等,也基本全部动态化了。 引用网络GCN/GAT/APPNP/GCNII/SGC 例子可以看 https://github.com/PaddlePaddle/PGL/tree/pgl-2.0.0a/examples/citation_benchmark

pgl2.0的主要改动如下: 1. 因为是Paddle2.0是动态图了,为了进一步简化使用,我们将GraphWrapper的概念去掉了,目前可以直接在Graph上进行Send/Recv。 2. 在pgl 2.0的recv函数的输入将会是一个Message类来代替原来的LodTensor,一个简单的例子如下 ``` import pgl import paddle def send_func(src_feat, dst_feat, edge_feat): return { "h": src_feat["h"] } def recv_func(msg): return msg.reduce_sum(msg["h"]) edges = ... node_feat = ......

我们在GCN/GAT/APPNP 这些模型都测过,基本持平。在动态图上面,少了一些显存交换,跑起来速度甚至更快。

这个可能暂时不行,2.0版本现在还没完善。

https://pgl.readthedocs.io/en/latest/api/heter_graph.html# 现在latest底下已经是pgl 2.0的文档了。

谢谢反馈,我们优化一下输出文件。 目前保存出来的文件会带有一些meta信息(包括adam的一些动量参数),每一列的意义可以看*.meta文件。

The new log_writer has not been packaged into the latest PGL wheels. You can manually install pgl by ```git clone``` and ```python setup.py install```.

这个主要是python lib设置有问题, -L/home/users/zhouhanqing/python/lib 跟/ssd1/wangqi38/tools/python_new/lib/python2.7/l 路径对不上

> win10 > anaconda > python 3.7.1 > paddlepaddle-gpu 1.7.1.post97 > 使用pip install pgl 提示 Could not find a version that satisfies the requirement pgl > 用pip search pgl 提示有pgl(1.1.0)版本...

Some of the distributed demos in legacy are supported with PaddlePaddle= 2.1 in dynamic computation graphs like PyTorch. The newest distributed demos are coming soon.