Skip to main content

Temporal Graph Benchmark project repo

Project description

TGB

Temporal Graph Benchmark project repo

Install dependency

Our implementation works with python >= 3.9 and can be installed as follows

  1. set up virtual environment (conda should work as well)
python -m venv ~/tgb_env/
source ~/tgb_env/bin/activate
  1. install external packages
pip install pandas==1.5.3
pip install matplotlib==3.7.1
pip install clint==0.5.1

install Pytorch and PyG dependencies (needed to run the examples)

pip install torch==2.0.0 --index-url https://download.pytorch.org/whl/cu117
pip install torch_geometric==2.3.0
pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.0.0+cu117.html
  1. install local dependencies under root directory /TGB
pip install -e .

Instruction for tracking new documentation and running mkdocs locally

  1. first run the mkdocs server locally in your terminal
mkdocs serve
  1. go to the local hosted web address similar to
[14:18:13] Browser connected: http://127.0.0.1:8000/

Example: to track documentation of a new hi.py file in tgb/edgeregression/hi.py

  1. create docs/api/tgb.hi.md and add the following
# `tgb.edgeregression`

::: tgb.edgeregression.hi
  1. edit mkdocs.yml
nav:
  - Overview: index.md
  - About: about.md
  - API:
	other *.md files 
	- tgb.edgeregression: api/tgb.hi.md

Creating new branch

git fetch origin

git checkout -b test origin/test

dependencies for mkdocs (documentation)

pip install mkdocs
pip install mkdocs-material
pip install mkdocstrings-python
pip install mkdocs-jupyter
pip install notebook

full dependency list

Our implementation works with python >= 3.9 and has the following dependencies

pytorch == 2.0.0
torch-geometric == 2.3.0
torch-scatter==2.1.1
torch-sparse==0.6.17
torch-spline-conv==1.2.2
pandas==1.5.3
clint==0.5.1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_tgb-0.1.1.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_tgb-0.1.1-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

File details

Details for the file py_tgb-0.1.1.tar.gz.

File metadata

  • Download URL: py_tgb-0.1.1.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.8 Linux/5.15.0-1038-azure

File hashes

Hashes for py_tgb-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f89db19cdf4b4e2af3d1a9aca8dd09f60022bbc87947176990ceb0d3c2582fed
MD5 76460bafeeeebcea1056d2673baa8d20
BLAKE2b-256 b173c70695e9d469d671459ea929efe0f0c6ee85fa9ec0b042404c81c79a1e21

See more details on using hashes here.

File details

Details for the file py_tgb-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: py_tgb-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 55.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.8 Linux/5.15.0-1038-azure

File hashes

Hashes for py_tgb-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d8a9315838e6a6d04d10f8a3ce302bea9c9171a8a4f07132db4cdaffe6603f37
MD5 8a6136a8cd8524c3a14a268012429d20
BLAKE2b-256 5c9ce64c9146ab98a4d3b336c42b4ece8ff4d3145b542ce8929cbfeaa4d8789a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page