AI SKILLS / PREDICT · COMMUNITY SKILL
TorchDrug
TorchDrug is a PyTorch-based machine learning toolkit for drug discovery, providing graph neural networks, pre-trained models, and task definitions. It supports molecular property prediction, protein modeling, knowledge graph reasoning, molecular generation, and retrosynthesis planning, including 40+ datasets and 20+ model architectures.
Predict ADMET properties such as solubility, toxicity, and activity
Plan chemical synthesis routes
Protein Modeling and Function Prediction
TorchDrug is a PyTorch-native machine learning toolkit designed for drug discovery and molecular science design. It is mainly used for molecular property prediction, protein modeling, knowledge graph reasoning, molecular generation, and retrosynthesis planning. If you need to build custom graph neural network architectures for drug discovery, protein modeling, or knowledge graph reasoning, TorchDrug is an ideal choice. For pretrained models and diverse featurizers, you can use DeepChem; for benchmark datasets, you can use PyTDC.
TorchDrug 0.2.1 requires Python 3.7–3.10 and PyTorch 1.8–2.0. Before installing TorchDrug, you need to install PyTorch first, along with torch-scatter and torch-cluster that match your PyTorch and CUDA versions (the specific wheel URLs depend on your PyTorch and CUDA versions). On Apple Silicon, you need to compile scatter/cluster from source; TorchDrug runs only on CPU (MPS is not supported). You can also install via Conda:
How does TorchDrug differ from DeepChem? How should I choose?