Back to Skills

torch-geometric

Graph Neural Networks (PyG). Node/graph classification, link prediction, GCN, GAT, GraphSAGE, heterogeneous graphs, molecular property prediction, for geometric deep learning.

5,913stars710forksUpdated 1/15/2026

Security Assessment

Medium Risk(50/100)

Detected risks:

Remote Code Execution([SKILL.md] eval()
Security Score50/100

About torch-geometric

The torch-geometric skill provides a robust framework for developing and training Graph Neural Networks (GNNs) using PyTorch. This library addresses the challenges of deep learning on graph-structured data, enabling users to effectively manage complexities associated with irregular data formats. By facilitating operations like mini-batch processing and multi-GPU training, this skill empowers practitioners to leverage the full potential of GNNs in various applications, from node and graph classification to link prediction.

FAQ

What types of problems can I solve with torch-geometric?

You can solve problems involving graph-based machine learning such as node classification, link prediction, molecular property prediction, and social network analysis.

Is torch-geometric compatible with other PyTorch libraries?

Yes, torch-geometric is built on top of PyTorch and can be used alongside other PyTorch libraries.

What are the requirements for installing torch-geometric?

You need to have PyTorch installed, and for additional functionalities, you may need to install specific dependencies as mentioned in the installation section.

Can I use torch-geometric for heterogeneous graphs?

Yes, torch-geometric supports heterogeneous graphs with multiple types of nodes and edges.

Is there support for large-scale graph learning?

Yes, torch-geometric includes features for large-scale graph learning such as neighbor sampling and distributed training.

Install torch-geometric

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill