Meta tags:
description= A powerful and flexible machine learning platform for drug discovery - DeepGraphLearning/torchdrug;
Headings (most frequently used words):
uh, oh, navigation, from, code, saved, searches, files, contributing, license, footer, search, repositories, users, issues, pull, requests, provide, feedback, deepgraphlearning, torchdrug, with, menu, use, to, filter, your, results, more, quickly, folders, and, latest, commit, history, repository, installation, quick, start, about, releases, packages, contributors, languages, conda, pip, source, windows, powershell, apple, silicon, m1, m2, chips, topics, resources, of, conduct, stars, watchers, forks,
Text of the page (most frequently used words):
#torchdrug (28), and (17), code (16), github (15), #install (15), for (11), all (11), security (10), graph (10), the (10), torch (10), you (9), from (9), with (9), mol (9), pip (9), can (8), this (8), reload (8), pytorch (8), dataset (8), your (8), please (7), contributing (7), license (7), task (7), support (7), view (7), learning (6), platform (6), test_set (6), valid_set (6), train_set (6), core (6), gpus (6), import (6), enterprise (6), navigation (5), there (5), was (5), error (5), while (5), loading (5), page (5), drug (5), discovery (5), machine (5), optimizer (5), engine (5), solver (5), data (5), git (5), https (5), com (5), powershell (5), source (5), conda (5), search (5), community (4), readme (4), more (4), 256 (4), models (4), lengths (4), print (4), subgraph (4), operations (4), files (4), setup (4), deepgraphlearning (4), actions (4), quality (4), issues (4), cuda (3), python (3), stars (3), conduct (3), apache (3), resources (3), topics (3), multiple (3), gpu (3), cpus (3), are (3), tasks (3), len (3), datasets (3), edge_list (3), they (3), rusty1s (3), scatter (3), requirements (3), txt (3), see (3), commit (3), name (3), open (3), insights (3), pull (3), requests (3), signed (3), settings (3), another (3), tab (3), window (3), refresh (3), session (3), sign (3), saved (3), documentation (3), use (3), feedback (3), grade (3), features (3), copilot (3), solutions (3), explore (3), manage (2), docs (2), footer (2), other (2), releases (2), latest (2), repository (2), forks (2), 220 (2), custom (2), properties (2), powerful (2), flexible (2), about (2), development (2), distributed (2), single (2), switched (2), model (2), int (2), minimal (2), own (2), is_cc_bond (2), sub_mol (2), atom_type (2), edge (2), may (2), also (2), default (2), molecule (2), any (2), knowledge (2), designed (2), easy (2), implementation (2), start (2), pytorch_scatter (2), need (2), apple (2), silicon (2), cluster (2), program (2), visual (2), studio (2), following (2), change (2), case (2), module (2), build (2), tools (2), windows (2), code_of_conduct (2), citation (2), gitignore (2), test (2), docker (2), doc (2), asset (2), 115 (2), commits (2), last (2), message (2), menu (2), projects (2), appearance (2), cancel (2), available (2), searches (2), repositories (2), business (2), advanced (2), developer (2), customer (2), services (2), devops (2), app (2), merge (2), perform, that, action, time, not, share, personal, information, cookies, contact, status, privacy, terms, 2026, inc, languages, contributors, packages, jul, 2023, release, report, watching, watchers, activity, neural, networks, deep, released, under, everyone, welcome, contribute, refer, details, guidelines, wandb, logger, experiments, easily, tracked, managed, through, weights, biases, cpu, training, inference, accelerated, seamlessly, just, line, propertyprediction, hidden_dims, node_feature_dim, gin, random_split, utils, sum, visualize, tox21, provides, wide, range, common, building, blocks, apply, standard, solve, problem, nitrogen, dim, carbon, register, node, attributes, will, automatically, processed, during, indexing, to_scaffold, node_feature, bond_feature, atom_feature, ccoc, from_smiles, molecules, supported, get, desired, without, domain, induced, nodes, num_node, humans, focused, structured, enables, backed, framework, acceleration, auto, differentiation, quick, pytorch_cluster, run, compiled, their, sources, note, doesn, devices, mps, chips, architecture, x64, python37, libs, lib, env, visualstudiovars, initialize, commands, sessions, writing, profile, library, path, according, pscx, allowclobber, vssetup, first, then, modules, clone, versions, instructions, geometric, whl, cu102, html, milagraph, forge, pyg, installed, either, linux, macos, compatible, installation, rapid, prototyping, research, being, friendly, practitioners, pytorchic, style, based, toolbox, several, purposes, papers, implemented, benchmarks, tutorials, items, history, date, folders, file, tags, branches, master, additional, options, 113, star, fork, must, notification, notifications, public, dismiss, alert, accounts, out, resetting, focus, create, qualifiers, our, query, filter, results, quickly, submit, include, email, address, contacted, read, every, piece, take, input, very, seriously, provide, syntax, tips, clear, users, jump, pricing, premium, add, ons, powered, collections, trending, archive, accelerator, maintainer, lab, programs, fund, developers, sponsors, partners, trust, center, forum, skills, ebooks, reports, events, webinars, stories, type, software, topic, industries, government, manufacturing, financial, healthcare, industry, cases, devsecops, modernization, nonprofits, startups, small, medium, teams, enterprises, company, size, marketplace, changelog, blog, why, stop, leaks, before, secret, protection, secure, find, fix, vulnerabilities, application, enforce, changes, review, plan, track, work, instant, dev, environments, codespaces, automate, workflow, workflows, integrate, external, mcp, registry, new, direct, agents, issue, write, better, creation, toggle, skip, content,
Text of the page (random words):
github deepgraphlearning torchdrug a powerful and flexible machine learning platform for drug discovery github skip to content navigation menu toggle navigation sign in appearance settings platform ai code creation github copilot write better code with ai github copilot app direct agents from issue to merge mcp registry new integrate external tools developer workflows actions automate any workflow codespaces instant dev environments issues plan and track work code review manage code changes code quality enforce quality at merge application security github advanced security find and fix vulnerabilities code security secure your code as you build secret protection stop leaks before they start explore why github documentation blog changelog marketplace view all features solutions by company size enterprises small and medium teams startups nonprofits by use case app modernization devsecops devops ci cd view all use cases by industry healthcare financial services manufacturing government view all industries view all solutions resources explore by topic ai software development devops security view all topics explore by type customer stories events webinars ebooks reports business insights github skills support services documentation customer support community forum trust center partners view all resources open source community github sponsors fund open source developers programs security lab maintainer community accelerator github stars archive program repositories topics trending collections enterprise enterprise solutions enterprise platform ai powered developer platform available add ons github advanced security enterprise grade security features copilot for business enterprise grade ai features premium support enterprise grade 24 7 support pricing search or jump to search code repositories users issues pull requests search clear search syntax tips provide feedback we read every piece of feedback and take your input very seriously include my email address so i can be contacted cancel submit feedback saved searches use saved searches to filter your results more quickly name query to see all available qualifiers see our documentation cancel create saved search sign in sign up appearance settings resetting focus you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message uh oh there was an error while loading please reload this page deepgraphlearning torchdrug public notifications you must be signed in to change notification settings fork 220 star 1 6k code issues 113 pull requests 11 actions projects security and quality 0 insights additional navigation options code issues pull requests actions projects security and quality insights deepgraphlearning torchdrug master branches tags go to file code open more actions menu folders and files name name last commit message last commit date latest commit history 115 commits 115 commits asset asset conda torchdrug conda torchdrug doc source doc source docker docker test test torchdrug torchdrug gitignore gitignore citation citation code_of_conduct md code_of_conduct md contributing md contributing md license license readme md readme md requirements txt requirements txt setup py setup py view all files repository files navigation readme code of conduct contributing apache 2 0 license more items with docs tutorials benchmarks papers implemented torchdrug is a pytorch based machine learning toolbox designed for several purposes easy implementation of graph operations in a pytorchic style with gpu support being friendly to practitioners with minimal knowledge about drug discovery rapid prototyping of machine learning research installation torchdrug can be installed on either linux windows or macos it is compatible with 3 7 python 3 10 and pytorch 1 8 0 from conda conda install torchdrug c milagraph c conda forge c pytorch c pyg from pip pip install torch 1 9 0 pip install torch scatter torch cluster f https pytorch geometric com whl torch 1 9 0 cu102 html pip install torchdrug to install torch scatter for other pytorch or cuda versions please see the instructions in https github com rusty1s pytorch_scatter from source git clone https github com deepgraphlearning torchdrug cd torchdrug pip install r requirements txt python setup py install windows powershell we need to first install the build tools for visual studio we then install the following modules in powershell install module pscx allowclobber install module vssetup initialize visual studio in powershell with the following commands we may setup this for all powershell sessions by writing it to the powershell profile change the library path according to your own case import visualstudiovars architecture x64 env lib c program files python37 libs apple silicon m1 m2 chips we need pytorch 1 13 to run torchdrug on apple silicon for torch scatter and torch cluster they can be compiled from their sources note torchdrug doesn t support mps devices pip install torch 1 13 0 pip install git https github com rusty1s pytorch_scatter git pip install git https github com rusty1s pytorch_cluster git pip install torchdrug quick start torchdrug is designed for humans and focused on graph structured data it enables easy implementation of graph operations in machine learning models all the operations in torchdrug are backed by pytorch framework and support gpu acceleration and auto differentiation from torchdrug import data edge_list 0 1 1 2 2 3 3 4 4 5 5 0 graph data graph edge_list num_node 6 graph graph cuda the subgraph induced by nodes 2 3 4 subgraph graph subgraph 2 3 4 molecules are also supported in torchdrug you can get the desired molecule properties without any domain knowledge mol data molecule from_smiles ccoc o n atom_feature default bond_feature default print mol node_feature print mol atom_type print mol to_scaffold you may also register custom node edge or graph attributes they will be automatically processed during indexing operations with mol edge mol is_cc_bond mol edge_list 2 td carbon all dim 1 sub_mol mol subgraph mol atom_type td nitrogen print sub_mol is_cc_bond torchdrug provides a wide range of common datasets and building blocks for drug discovery with minimal code you can apply standard models to solve your own problem import torch from torchdrug import datasets dataset datasets tox21 dataset 0 visualize lengths int 0 8 len dataset int 0 1 len dataset lengths len dataset sum lengths train_set valid_set test_set torch utils data random_split dataset lengths from torchdrug import models tasks model models gin dataset node_feature_dim hidden_dims 256 256 256 256 task tasks propertyprediction model task dataset tasks training and inference are accelerated by multiple cpus or gpus this can be seamlessly switched in torchdrug by just a line of code from torchdrug import core single cpu multiple cpus distributed cpus solver core engine task train_set valid_set test_set optimizer single gpu solver core engine task train_set valid_set test_set optimizer gpus 0 multiple gpus solver core engine task train_set valid_set test_set optimizer gpus 0 1 2 3 distributed gpus solver core engine task train_set valid_set test_set optimizer gpus 0 1 2 3 0 1 2 3 experiments can be easily tracked and managed through weights biases platform solver core engine task train_set valid_set test_set optimizer logger wandb contributing everyone is welcome to contribute to the development of torchdrug please refer to contributing guidelines for more details license torchdrug is released under apache 2 0 license about a powerful and flexible machine learning platform for drug discovery torchdrug ai topics deep learning pytorch drug discovery graph neural networks resources readme license apache 2 0 license code of conduct code of conduct contributing contributing uh oh there was an error while loading please reload this page activity custom properties stars 1 6k stars watchers 26 watching forks 220 forks report repository releases 4 0 2 1 release latest jul 16 2023 3 releases packages 0 uh oh there was an error while loading please reload this page uh oh there was an error while loading please reload this page contributors uh oh there was an error while loading please reload this page languages python 88 6 c 5 8 cuda 5 3 other 0 3 footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|