TGraphX › Insights › FAQs

FAQs

Short answers to common TGraphX 1.5.1 questions. The three longer pages listed below give the code and the caveats. Does TGraphX need PyTorch Geometric or DGL? No. The base package depends on PyTorch, torchvision and PyYAML. Which versions are supported? The package declares Python 3.10 or later and PyTorch 1.13 or later. What shape must edge_index have? [2, E] with dtype torch.long. Graph() raises an error for other shapes or for 32-bit integers. Can node features be image patches? Yes. Pass [N, C, H, W] tensors to Graph and use a spatial layer such as ConvMessagePassing or TensorGraphSAGELayer. What does a node without incoming edges receive? It depends on the layer. GCNConv keeps the node's own features through its self-loop; ConvMessagePassing does not use them unless you add self-loops. Is there distributed training? Not as a framework. tgraphx.distributed provides helpers only; you launch the processes yourself. Are there custom CUDA kernels? No. The 1.5.1 wheel is pure Python and uses PyTorch operations.

Troubleshooting FAQ · FAQ for PyTorch users · Performance FAQ · Quickstart · Debugging common errors · PyG, OGB and DGL datasets