zhanghongyi
  • Joined on Dec 14, 2021
  • Organization
Loading Heatmap…

zhanghongyi synced commits to master at zhanghongyi/pytorch_geometric from mirror

22 hours ago

zhanghongyi synced commits to master at zhanghongyi/pytorch_geometric from mirror

2 days ago

zhanghongyi synced commits to gnn-llm-model-integration at zhanghongyi/pytorch_geometric from mirror

  • 8dc7e2184f Merge branch 'master' into gnn-llm-model-integration
  • 5621c671ab Fix `mypy` (#9270)
  • 2310348ad1 Fix `map_annotation` when annotation is `{list,dict}` instead of `typing.{List,Dict}` (#9269) Fixes this error: ```python from dataclasses import dataclass from typing import Dict from torch_geometric.config_store import register @register() @dataclass class MyClass1: something: Dict[str, int] @register() @dataclass class MyClass2: something: dict[str, int] ``` ``` Traceback (most recent call last): File "/home/aki/work/github.com/pyg-team/pytorch_geometric/test_config.py", line 13, in <module> @register() ^^^^^^^^^^ File "/home/aki/work/github.com/pyg-team/pytorch_geometric/torch_geometric/config_store.py", line 360, in bounded_register register(cls=cls, data_cls=data_cls, group=group, **kwargs) File "/home/aki/work/github.com/pyg-team/pytorch_geometric/torch_geometric/config_store.py", line 345, in register data_cls = to_dataclass(cls, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/aki/work/github.com/pyg-team/pytorch_geometric/torch_geometric/config_store.py", line 255, in to_dataclass annotation = map_annotation(annotation, mapping=MAPPING) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/aki/work/github.com/pyg-team/pytorch_geometric/torch_geometric/config_store.py", line 170, in map_annotation annotation.__args__ = tuple(map_annotation(a, mapping) for a in args) ^^^^^^^^^^^^^^^^^^^ AttributeError: readonly attribute ``` --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: rusty1s <matthias.fey@tu-dortmund.de>
  • ae185bad82 Only warn once on double underscore type name checks (#9268)
  • ab8f3fd19e Add temporal leakage test (#9267)
  • Compare 5 commits »

2 days ago

zhanghongyi synced commits to master at zhanghongyi/pytorch_geometric from mirror

5 days ago

zhanghongyi synced commits to gnn-llm-model-integration at zhanghongyi/pytorch_geometric from mirror

5 days ago

zhanghongyi synced commits to master at zhanghongyi/pytorch_geometric from mirror

  • 36bc925590 Add PyTorch 2.3 installation guide (#9257)

1 week ago

zhanghongyi synced commits to gnn-llm-model-integration at zhanghongyi/pytorch_geometric from mirror

1 week ago

zhanghongyi synced commits to master at zhanghongyi/dgl from mirror

  • f0213d2163 [GraphBolt] Refactor sampling (#7367)
  • 6b140f28ed [GraphBolt] Hetero CPU sampling bug fix. (#7369)
  • 0d9a09df18 [graphbolt] Disable liburing (#7366)
  • 658b2086b0 [GraphBolt] Optimize hetero sampling on CPU (#7360)
  • 9090a8790c [GraphBolt] Hyperlink support in `subgraph_sampler`. (#7354) Co-authored-by: Ubuntu <ubuntu@ip-172-31-0-133.us-west-2.compute.internal>
  • Compare 6 commits »

1 week ago

zhanghongyi synced commits to master at zhanghongyi/dgl from mirror

  • 0de1de3dcd [dev] upgrade minimum required torch version to 2.0.0 (#7358)
  • 3afa105be7 [GraphBolt][Doc] Update docs related to `seeds`. (#7351) Co-authored-by: Ubuntu <ubuntu@ip-172-31-0-133.us-west-2.compute.internal>
  • 6133cecdae [GraphBolt] Update tests related to `seeds` refactor. (#7352) Co-authored-by: Ubuntu <ubuntu@ip-172-31-0-133.us-west-2.compute.internal>
  • Compare 3 commits »

1 week ago

zhanghongyi synced commits to master at zhanghongyi/pytorch_geometric from mirror

  • 845c5cffc0 Allow keyword arguments in arbitrary order in `MessagePassing.propagate` (#9245)
  • 2567552896 Fixed node mapping in `RCDD` dataset (#9234) Fix https://github.com/pyg-team/pytorch_geometric/issues/9212
  • 212c4ce773 Fixing bugs in `model_parallel` example (#9231) Two bugs were fixed in `examples/multi_gpu/model_parallel.py`. The first one was the attribute error: ``` File "/workspace/examples/multi_gpu/model_parallel.py", line 30, in forward x, edge_index = x.to(self.device2), edge_index.to(self.device2) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1704, in __getattr__ raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'") AttributeError: 'GCN' object has no attribute 'device2' ``` After fixing the initial error, the next one appeared: ``` File "/workspace/examples/multi_gpu/model_parallel.py", line 58, in test out = model(data.x, data.edge_index, data.edge_attr) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1536, in _call_impl return forward_call(*args, **kwargs) TypeError: GCN.forward() takes 3 positional arguments but 4 were given ``` By the way, `data.edge_attr` is equal to `None`. With these fixes, the example works fine. --------- Co-authored-by: rusty1s <matthias.fey@tu-dortmund.de>
  • f69f595370 Fix the URL to the Karate Club paper in karate.py (#9230) Hello. There was the broken link to the “An Information Flow Model for Conflict and Fission in Small Groups” paper in [this](https://pytorch-geometric.readthedocs.io/en/latest/generated/torch_geometric.datasets.KarateClub.html#torch_geometric.datasets.KarateClub) documentation. I changed the link from http://www1.ind.ku.dk/complexLearning/zachary1977.pdf to https://www.journals.uchicago.edu/doi/abs/10.1086/jar.33.4.3629752. Ref: #9225 Co-authored-by: 1taroh <resets. 65810214+1taroh@users.noreply.github.com> Co-authored-by: Jintang Li <cnljt@outlook.com>
  • 01e830375c Drop GraphGym from README (#9241) Too outdated right now to advertize.
  • Compare 10 commits »

1 week ago

zhanghongyi synced commits to gnn-llm-model-integration at zhanghongyi/pytorch_geometric from mirror

  • e726eb7d65 Merge branch 'master' into gnn-llm-model-integration
  • 2463a43273 Cleanup (#9242) cleaning up to address review for https://github.com/pyg-team/pytorch_geometric/pull/9167/ --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • 845c5cffc0 Allow keyword arguments in arbitrary order in `MessagePassing.propagate` (#9245)
  • 2567552896 Fixed node mapping in `RCDD` dataset (#9234) Fix https://github.com/pyg-team/pytorch_geometric/issues/9212
  • 212c4ce773 Fixing bugs in `model_parallel` example (#9231) Two bugs were fixed in `examples/multi_gpu/model_parallel.py`. The first one was the attribute error: ``` File "/workspace/examples/multi_gpu/model_parallel.py", line 30, in forward x, edge_index = x.to(self.device2), edge_index.to(self.device2) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1704, in __getattr__ raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'") AttributeError: 'GCN' object has no attribute 'device2' ``` After fixing the initial error, the next one appeared: ``` File "/workspace/examples/multi_gpu/model_parallel.py", line 58, in test out = model(data.x, data.edge_index, data.edge_attr) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1536, in _call_impl return forward_call(*args, **kwargs) TypeError: GCN.forward() takes 3 positional arguments but 4 were given ``` By the way, `data.edge_attr` is equal to `None`. With these fixes, the example works fine. --------- Co-authored-by: rusty1s <matthias.fey@tu-dortmund.de>
  • Compare 20 commits »

1 week ago

zhanghongyi synced commits to skip_fix_pytorch_nightly at zhanghongyi/pytorch_geometric from mirror

1 week ago

zhanghongyi synced commits to llama3-try at zhanghongyi/pytorch_geometric from mirror

1 week ago

zhanghongyi synced commits to gnn-llm-model-integration at zhanghongyi/pytorch_geometric from mirror

  • 04ca2f8666 [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
  • 1a74985189 rename GNN_LLM to GRetriever
  • 84ced02136 [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
  • 59fae5e700 fixing type hint
  • 1f4c9490d3 cleanup sentence_transformer
  • Compare 11 commits »

1 week ago

zhanghongyi synced commits to master at zhanghongyi/dgl from mirror

  • ba9c1521f6 [GraphBolt] Update docstring related to cleaning up `seed_nodes` and `node_pairs`. (#7341) Co-authored-by: Ubuntu <ubuntu@ip-172-31-0-133.us-west-2.compute.internal>
  • 2251683443 [Temporal]Fix tensor option mismatch issue (#7346) Co-authored-by: Ubuntu <ubuntu@ip-172-31-21-218.ap-northeast-1.compute.internal>
  • 697a9977d5 [GraphBolt] Remove unused attributes in minibatch. (#7337) Co-authored-by: Ubuntu <ubuntu@ip-172-31-0-133.us-west-2.compute.internal>
  • c997434cdb [GraphBolt][CUDA] Update `copy_to`. (#7332) Co-authored-by: Ubuntu <ubuntu@ip-172-31-0-133.us-west-2.compute.internal>
  • Compare 4 commits »

1 week ago

zhanghongyi synced commits to skip_fix_pytorch_nightly at zhanghongyi/pytorch_geometric from mirror

2 weeks ago

zhanghongyi synced commits to gnn-llm-model-integration at zhanghongyi/pytorch_geometric from mirror

  • be162ff04a Merge branch 'master' into gnn-llm-model-integration
  • ed170342eb Test `CaptumExplainer` and `GNNExplainer` with unused parameters (#9216)
  • 557d063a6b Fix `EdgeIndex.matmul` on macOS PyTorch 1.13 (#9214)
  • 34f6e3e706 Respect hypen in package name when building nightly version (#9213)
  • Compare 4 commits »

2 weeks ago

zhanghongyi synced commits to master at zhanghongyi/dgl from mirror

2 weeks ago

zhanghongyi synced commits to master at zhanghongyi/pytorch_geometric from mirror

2 weeks ago

zhanghongyi synced commits to master at zhanghongyi/dgl from mirror

  • b68a2fc069 Revert "[GraphBolt] Quick fix for GCC 8" (#7328)
  • d853a010e0 [GraphBolt] Enable `DistributedItemSampler` test only on CPU. (#7323)
  • 9a340c77b4 [GraphBolt][CUDA] Add missing thrust include for later CCCL versions. (#7325)
  • 0d62d45210 [Misc] Add Triston to jenkins allowlist. (#7327) Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
  • a4e19691d5 [Determinism] Enable environment var to use cusparse spmm deterministic algorithm (#7310) Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
  • Compare 18 commits »

2 weeks ago