← 开源
AlgRUC

JittorGeometric

JittorGeometric is a Jittor-based graph machine learning library.

Model DevelopmentDomain-specific trainingPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
1.20k
Star
197
Fork
+-2
本周
18
贡献者
创建于 2024-06-03 · 更新于 2026-10-09 · 今日第 11185 名
主要开发者

AlgRUC/JittorGeometric 排名第 11,185,有 1,198 个星标。

同类别比较

AlgRUC/JittorGeometric 排名第 11,185,此处有 8 个同类条目;facebookresearch/House3D 排名第 11,183。

同类别比较
名称排名指标
lucidrains/CoCa-pytorch11,175
语言:
Python
星标数:
1,201
分叉数:
90
简介:
Implementation of CoCa, Contrastive Captioners are Image-Text Foundation Models, in Pytorch
DeepWisdom/AutoDL11,178
语言:
Python
星标数:
1,200
分叉数:
213
简介:
Automated Deep Learning without ANY human intervention. 1'st Solution for AutoDL challenge@NeurIPS.
xorbitsai/xorbits11,180
语言:
Python
星标数:
1,200
分叉数:
68
简介:
Scalable Python DS & ML, in an API compatible & lightning fast way.
facebookresearch/House3D11,183
语言:
C++
星标数:
1,199
分叉数:
185
简介:
a Realistic and Rich 3D Environment
DeepRec-AI/DeepRec11,191
语言:
C++
星标数:
1,197
分叉数:
359
简介:
DeepRec is a high-performance recommendation deep learning framework based on TensorFlow. It is hosted in incubation in LF AI & Data Foundation.
a-r-j/graphein11,193
语言:
Jupyter Notebook
星标数:
1,197
分叉数:
143
简介:
Protein Graph Library
danielgross/LlamaAcademy11,194
语言:
Python
星标数:
1,197
分叉数:
73
简介:
A school for camelids
kexinhuang12345/DeepPurpose11,195
语言:
Jupyter Notebook
星标数:
1,197
分叉数:
307
简介:
A Deep Learning Toolkit for DTI, Drug Property, PPI, DDI, Protein Function Prediction (Bioinformatics)
关键参数与规格
关键参数与规格
参数值
语言Python
类别Model Development
子类别Domain-specific training
关键词Graph neural networks
星标数1,198
分叉数197
贡献者18
创建日期2024-06-03
更新日期2026-10-09
1 天星标数0
7 天星标数-2
排名11,185
上次排名11,134
排名变化-51
7 天星标排名18,341
上次 7 天星标排名18,289
7 天星标排名变化-52
总星标排名9,717
上次总星标排名9,706
总星标排名变化-11
国家China
README 摘录

0** is a state-of-the-art graph machine learning library built on the Jittor framework. As a Chinese-developed deep learning library, JittorGeometric provides comprehensive support for Graph Neural Networks (GNNs) research and applications, featuring enhanced performance, flexibility, and scalability. 🌟 Key Features Core Capabilities **🚀 JIT Compilation**: Leverage Just-In-Time compilation for dynamic code modification without pre-compilation overhead **⚡ Optimized Sparse Operations**: High-performance sparse matrix computations with CuSparse acceleration **🎯 Comprehensive Model Zoo**: 40+ implemented models covering classic, spectral

, dynamic, molecular, and transformer-based GNNs **📊 Rich Dataset Support**: Built-in loaders for popular graph datasets (Planetoid, OGB, Reddit, etc. 0 **🔄 Distributed Training**: Multi-GPU and multi-node training support with MPI **🌊 Dynamic Graph Processing**: Event-based dynamic graph support with parallel processing **📦 Mini-batch Support**: Efficient mini-batch training for large-scale graphs **🔧 Ascend-GNN**: GNN for NPU **🎛️ Extended Model Categories**: Graph transformers, self-supervised learning, and recommendation systems Quick Tour Supported Models JittorGeometric 2. **Install Jittor** or follow

the Jittor official documentation. **Verify installation** For Distributed Training (Optional) Install MPI support: 📋 Requirements Python 3. 0+ CuPy (for CUDA operations) NumPy, SciPy, NetworkX For distributed training: OpenMPI 4. 5+ and mpi4py 🔄 Distributed Training JittorGeometric 2. 0 supports distributed training across multiple GPUs and nodes: Single Machine Multi-GPU Multi-Node Training 1. Launch distributed training: For detailed distributed training setup, see examples/README. 🧪 Testing Run a specific example: 📖 Documentation Comprehensive documentation is available at 👥 Contributors This project is actively

maintained by the **JittorGeometric Team** at Renmin University of China and Northeastern University‌. cn Contributors: See Contributors 📄 License JittorGeometric is released under the Apache 2.

常见问题

记录了多少星标和分叉?

AlgRUC/JittorGeometric 有 1,198 个星标和 197 个分叉。

仓库排名是多少?

AlgRUC/JittorGeometric 排名第 11,185。

记录的语言和类别是什么?

AlgRUC/JittorGeometric 有 1,198 个星标,语言为 Python,类别为 Model Development。

哪个仓库排名最接近?

AlgRUC/JittorGeometric 与 facebookresearch/House3D 比较,后者排名第 11,183,有 1,199 个星标。

README

JittorGeometric 2.0

A Comprehensive Graph Machine Learning Library Built on Jittor

Documentation • Examples • Installation • Quick Start • Models


Overview

JittorGeometric 2.0 is a state-of-the-art graph machine learning library built on the Jittor framework. As a Chinese-developed deep learning library, JittorGeometric provides comprehensive support for Graph Neural Networks (GNNs) research and applications, featuring enhanced performance, flexibility, and scalability.

🌟 Key Features

Core Capabilities

  • 🚀 JIT Compilation: Leverage Just-In-Time compilation for dynamic code modification without pre-compilation overhead
  • ⚡ Optimized Sparse Operations: High-performance sparse matrix computations with CuSparse acceleration
  • 🎯 Comprehensive Model Zoo: 40+ implemented models covering classic, spectral, dynamic, molecular, and transformer-based GNNs
  • 📊 Rich Dataset Support: Built-in loaders for popular graph datasets (Planetoid, OGB, Reddit, etc.)

New in Version 2.0

  • 🔄 Distributed Training: Multi-GPU and multi-node training support with MPI
  • 🌊 Dynamic Graph Processing: Event-based dynamic graph support with parallel processing
  • 📦 Mini-batch Support: Efficient mini-batch training for large-scale graphs
  • 🔧 Ascend-GNN: GNN for NPU
  • 🎛️ Extended Model Categories: Graph transformers, self-supervised learning, and recommendation systems

Quick Tour

### Dataset Selection
import os.path as osp
from jittor_geometric.datasets import Planetoid
import jittor_geometric.transforms as T
import jittor as jt

dataset = 'cora'
path = osp.join(osp.dirname(osp.realpath(__file__)), '.', 'data', dataset)
dataset = Planetoid(path, dataset, transform=T.NormalizeFeatures())
data = dataset[0]
v_num = data.x.shape[0]

### Data Preprocess
from jittor_geometric.ops import cootocsr,cootocsc
from jittor_geometric.nn.conv.gcn_conv import gcn_norm
edge_index, edge_weight = data.edge_index, data.edge_attr
edge_index, edge_weight = gcn_norm(
                        edge_index, edge_weight,v_num,
                        improved=False, add_self_loops=True)
with jt.no_grad():
   data.csc = cootocsc(edge_index, edge_weight, v_num)
   data.csr = cootocsr(edge_index, edge_weight, v_num)

### Model Definition
from jittor import nn
from jittor_geometric.nn import GCNConv

class GCN(nn.Module):
    def __init__(self, dataset, dropout=0.8):
        super(GCN, self).__init__()
        self.conv1 = GCNConv(in_channels=dataset.num_features, out_channels=256)
        self.conv2 = GCNConv(in_channels=256, out_channels=dataset.num_classes)
        self.dropout = dropout

    def execute(self):
        x, csc, csr = data.x, data.csc, data.csr
        x = nn.relu(self.conv1(x, csc, csr))
        x = nn.dropout(x, self.dropout, is_train=self.training)
        x = self.conv2(x, csc, csr)
        return nn.log_softmax(x, dim=1)

### Training
model = GCN(dataset)
optimizer = nn.Adam(params=model.parameters(), lr=0.001, weight_decay=5e-4) 
for epoch in range(200):
   model.train()
   pred = model()[data.train_mask]
   label = data.y[data.train_mask]
   loss = nn.nll_loss(pred, label)
   optimizer.step(loss)

Supported Models

JittorGeometric 2.0 includes implementations of 40+ state-of-the-art GNN models:

Classic Graph Neural Networks

Model Year Venue Description
ChebNet 2016 NeurIPS Spectral graph convolutions
GCN 2017 ICLR Graph Convolutional Networks
GraphSAGE 2017 NeurIPS Inductive graph learning
GAT 2018 ICLR Graph Attention Networks
SGC 2019 ICML Simplified Graph Convolution
APPNP 2019 ICLR Approximate Personalized Propagation
GCNII 2020 ICML Deeper Graph Convolutional Networks

Spectral Graph Neural Networks

Model Year Venue Description
GPRGNN 2021 ICLR Generalized PageRank GNN
BernNet 2021 NeurIPS Bernstein polynomial filters
ChebNetII 2022 NeurIPS Improved Chebyshev filters
EvenNet 2022 NeurIPS Even polynomial filters
OptBasis 2023 ICML Optimal basis functions

Dynamic Graph Neural Networks

Model Year Venue Description
JODIE 2019 SIGKDD Temporal interaction networks
DyRep 2019 ICLR Dynamic representation learning
TGN 2020 ArXiv Temporal Graph Networks
GraphMixer 2022 ICLR MLP-based dynamic graphs
Dygformer 2023 NeurIPS Dynamic graph transformers

Molecular Graph Neural Networks

Model Year Venue Description
SchNet 2017 NeurIPS Continuous-filter convolutions
DimeNet 2020 ICLR Directional message passing
EGNN 2021 ICML Equivariant Graph Networks
Graphormer 2021 NeurIPS Graph transformers for molecules
SphereNet 2022 ICLR Spherical message passing
Uni-Mol 2023 ICLR Universal molecular representation
Transformer-M 2023 ICLR Molecular transformers

Graph Self-supervised Learning

Model Year Venue Description
DGI 2019 ICLR Deep Graph Infomax
MVGRL 2020 ICML Multi-view contrastive learning
GRACE 2020 ICML Graph contrastive learning
PolyGCL 2024 ICLR Polynomial graph contrastive learning

Graph Recommendation

Model Year Venue Description
SASREC 2018 ICDM Self-attentive sequential recommendation
SGNNHN 2020 CIKM Set-based GNN for heterogeneous networks
CRAFT 2025 NeurIPS Cross-attention recommendation

Graph Embedding

Model Year Venue Description
Deepwalk 2014 KDD Random walk embeddings
LINE 2015 WWW Large-scale information network embedding
Node2Vec 2016 KDD Scalable feature learning
LightGCN 2020 SIGIR Simplified GCN for recommendation
DirectAU 2022 KDD Direct alignment and uniformity
SimGCL 2024 KAIS Simple graph contrastive learning
XSimGCL 2024 TKDE Extreme simple graph contrastive learning

Graph Transformers

Model Year Venue Description
SGFormer 2023 NeurIPS Simplifying graph transformers
NAGFormer 2023 ICLR Neighborhood aggregation transformers
PolyFormer 2024 KDD Polynomial-based graph transformers

Installation

Step-by-Step Installation

  1. Create a conda environment

    conda create -n jittorgeometric python=3.10
    conda activate jittorgeometric
    
  2. Install Jittor

    python -m pip install git+https://github.com/Jittor/jittor.git
    

    or follow the Jittor official documentation.

  3. Install dependencies

    pip install astunparse==1.6.3 autograd==1.7.0 cupy==13.3.0 numpy==1.24.0 \
                pandas==2.2.3 Pillow==11.1.0 PyMetis==2023.1.1 six==1.16.0 \
                pyparsing==3.2 scipy==1.15.1 setuptools==69.5.1 sympy==1.13.3 \
                tqdm==4.66.4 einops huggingface_hub==0.27.1 networkx==3.4.2 \
                scikit-learn==1.7.1 rdkit==2025.3.5 seaborn==0.13.2 \
                alive-progress==3.3.0
    
  4. Install JittorGeometric

    git clone https://github.com/AlgRUC/JittorGeometric.git
    cd JittorGeometric
    pip install .
    
  5. Verify installation

    python examples/gcn_example.py
    

For Distributed Training (Optional)

Install MPI support:

conda install -c conda-forge openmpi=4.0.5
conda install -c conda-forge mpi4py

📋 Requirements

  • Python 3.10+
  • CUDA 11.0+ (for GPU support)
  • Jittor 1.3.0+
  • CuPy (for CUDA operations)
  • NumPy, SciPy, NetworkX
  • For distributed training: OpenMPI 4.0.5+ and mpi4py

🔄 Distributed Training

JittorGeometric 2.0 supports distributed training across multiple GPUs and nodes:

Single Machine Multi-GPU

mpiexec -n 2 python dist_gcn.py --num_parts 2 --dataset reddit

Multi-Node Training

  1. Configure your hostfile:
172.31.195.15 slots=1
172.31.195.16 slots=1
  1. Partition the graph:
python dist_partition.py --dataset reddit --num_parts 2 --use_gdc
  1. Launch distributed training:
mpirun -n 2 --hostfile hostfile \
--prefix /path/to/conda/env \
python dist_gcn.py --num_parts 2 --dataset reddit

For detailed distributed training setup, see examples/README.md.

🧪 Testing

Run a specific example:

python examples/gcn_example.py

📖 Documentation

Comprehensive documentation is available at https://algruc.github.io/JittorGeometric/index.html

👥 Contributors

This project is actively maintained by the JittorGeometric Team at Renmin University of China and Northeastern University‌.

Core Team

📄 License

JittorGeometric is released under the Apache 2.0 License.

🙏 Acknowledgments


If you have any questions or would like to contribute, please feel free to contact us!

排名相邻
同类项目