Skip to content

Releases

v0.3.1

Choose a tag to compare

@dttutty dttutty released this 07 Nov 07:30

Publish frost-gnn 0.3.1 on PyPI from the public FROST repository.

  • The package description now emphasizes temporal recommendation systems and is generated from the main README with public installation instructions. Repository-only image and documentation links are converted for the PyPI page; the source archive includes the full guides.
  • Add a manual Trusted Publishing workflow with a validation-only mode. It checks artifact hashes, package name/version and source-tag provenance before uploading through the pypi environment.
  • Runtime behavior is unchanged from 0.3.0: the CSV trainer defaults to TGN and supports saved-model candidate scoring, optional timestamps and node features.

Install the downloaded wheel on Linux x86-64 (glibc 2.31+) with Python 3.12:

python -m pip install ./frost_gnn-0.3.1-cp312-cp312-manylinux_2_31_x86_64.whl
frost train --show-config

Available on PyPI: python -m pip install frost-gnn. The PyPI distributions match these verified release assets.

Validation: 65 installed-wheel CPU tests passed (1 skipped), including the TGN CLI, native sampler and TPNet checks on an AVX2 CPU path. Publication validation and repository-hygiene checks passed, as did Ruff, actionlint and package metadata checks. No GPU job was run. See BUILD_INFO.json and SHA256SUMS.

v0.3.0

Choose a tag to compare

@dttutty dttutty released this 07 Nov 07:12

frost train events.csv now uses TGN with a shared, configurable starter preset.

python -m pip install ./frost_gnn-0.3.0-cp312-cp312-manylinux_2_31_x86_64.whl
frost train events.csv
frost train --show-config
frost train events.csv --config settings.yaml --epochs 20
frost train events.csv --model tgat --output tgat.pt

Starter settings: one-hop recent sampling (10 neighbors), GRU memory, 128-dimensional embeddings/memory/time encoding, two attention heads, dropout 0.2, 10 epochs, batch size 200, Adam at 0.001, seed 42, CPU with four threads. Settings live in configs/predict.yaml; CLI flags override custom YAML, which overrides bundled defaults. Unknown keys and invalid values fail before training. Resolved settings are saved with the checkpoint.

TGN uses the existing FROST temporal attention encoder, GRU memory updater and additive link head. Memory resets each epoch, positive endpoints publish last-message mailboxes after chronological batches, and equal-time groups share a frozen memory snapshot. Before saving, history is replayed with the final weights. Prediction reads the saved memory and pending messages without updating state. TGAT remains selectable, and 0.2.0 TGAT checkpoints remain loadable.

The simple predictor still requires nodes seen in training. Output scores are uncalibrated ranking scores. Queries before the training cutoff remain rejected, and test CSV rows never become training events.

Private distribution only; not published on PyPI. Target: Linux x86-64, glibc 2.31+, Python 3.12 and PyTorch 2.9.0. Existing advanced multi-GPU entry points are unchanged. If upgrading directly from FROST 0.1.0, first uninstall the old frost distribution; 0.2.0 users can upgrade the frost_gnn wheel directly.

Validation: 583 library CPU tests passed (8 skipped), 129 parent-project tests passed, and 65 tests passed (1 skipped) against the exact wheel on an AVX2 CPU path with source-checkout imports disabled. These include memory learning, equal-time causality, final-weight replay, read-only queries, configuration precedence and legacy checkpoint compatibility. Ruff, mypy and package metadata validation passed. No GPU job was run. See BUILD_INFO.json and SHA256SUMS for provenance and integrity.

The pre-existing TPNet snapshot comparison now allows measured CPU rounding differences in gradient/parameter summaries. Losses, predictions and projection state retain the tighter checks, and sampling remains exact. TPNet runtime code and the upstream reference values are unchanged.

v0.2.0

Choose a tag to compare

@dttutty dttutty released this 07 Nov 07:01

Train a temporal graph neural network directly from your own event CSV and score candidate interactions with the new frost command.

# Install the downloaded wheel in a Python 3.12 environment.
python -m pip install ./frost_gnn-0.2.0-cp312-cp312-manylinux_2_31_x86_64.whl
frost train events.csv --src 42 --candidates 121,12312,31231,12331
frost predict frost-model.pt --test test.csv --predictions scores.csv
frost features nodes.csv --id-col n_id --output nodes.npy
  • The distribution is now frost_gnn; Python imports remain frost. When upgrading from the FROST 0.1.0 wheel, uninstall the old frost distribution first to avoid overlapping files. This package remains private and is not published on PyPI.
  • Accepts src,dst CSVs with numeric/ISO timestamps or synthetic row-order time. Queries use the training cutoff by default; explicit times and independent test CSVs are supported.
  • Checkpoints include model weights, ID mappings, node features and event history. Predict without retraining. NPY features support direct numeric-ID indexing or a JSON row-ID mapping; the tabular converter writes that mapping automatically.
  • The simple entry point trains one-hop TGAT on CPU or a selected GPU. Existing advanced multi-GPU and TPNet entry points remain available.
  • Scores are sigmoid ranking scores, not calibrated real-world probabilities. Query nodes must have appeared in training. Queries before the training cutoff are rejected; test queries never become training history.

Target: Linux x86-64, glibc 2.31+, Python 3.12, PyTorch 2.9.0. The wheel includes the native sampler and bundles its OpenMP runtime. CPU use does not require a GPU; a compatible NVIDIA driver is required for CUDA execution.

Validation: 568 library CPU tests passed (8 skipped), 129 parent integration tests passed, and 25 installed-wheel training/prediction/native-sampler tests passed with editable imports disabled. Ruff, mypy and package metadata checks passed. No GPU job was run for this release. See BUILD_INFO.json and SHA256SUMS for provenance and integrity.

v0.1.0

Choose a tag to compare

@dttutty dttutty released this 07 Nov 06:30

FROST's first installable release for temporal (dynamic) graph neural network training.

Compatibility

  • Linux x86-64, glibc 2.31 or newer; CPython 3.12.
  • PyTorch 2.9.0 with CUDA 12.8; GPU training requires a compatible NVIDIA driver.
  • The wheel includes the compiled temporal sampler, its OpenMP runtime, default model/sampling configurations, and TPNet source notices.

Install

This release is in a private repository. Authenticate GitHub CLI with an account that has repository access, then download the assets into a new directory:

gh release download v0.1.0 --repo dttutty/frost_dev
sha256sum --check SHA256SUMS

Inside your Python 3.12 environment:

python -m pip install torch==2.9.0 --index-url https://download.pytorch.org/whl/cu128
python -m pip install ./frost-0.1.0-cp312-cp312-manylinux_2_31_x86_64.whl
python -m frost --cfg job model=tgn
frost-data --help

Install the downloaded wheel explicitly. The unrelated frost project on PyPI is not this release.

Train

Set FROST_DATA_ROOT and TGB_DATA_ROOT as environment variables or in .env.local in your working directory. Prepared datasets are available from Hugging Face.

Two GPU workers plus one host rank:

CUDA_VISIBLE_DEVICES=0,1 torchrun --standalone --nproc_per_node=3 -m frost \
  model=tgn dataset=LASTFM

Native recipes: TGN, JODIE, APAN, TGAT, CAWN, TCL, GraphMixer and DyGFormer. Official TGB candidate layouts are selected automatically with neg_sampler=rnd_dst_then_tgb eval_metric=mrr.

TPNet uses a dedicated trainer with one process per GPU and its own random-projection state updates:

frost-data fetch-tgb tgbl-wiki
CUDA_VISIBLE_DEVICES=0,1 torchrun --standalone --nproc_per_node=2 \
  -m frost.tpnet.train --dataset_name tgbl-wiki --batch_size 400 \
  --use_random_projection --report-mrr

Assets and validation

  • *.whl: precompiled Python package; no source checkout required.
  • frost-0.1.0.tar.gz: source distribution; building requires a C++17 compiler with OpenMP support and Python development headers.
  • BUILD_INFO.json: source commit, build compatibility and validation record.
  • SHA256SUMS: checksums for the wheel, source distribution and build record.

The wheel was built from the source distribution, audited and repaired with auditwheel, installed into an isolated target and tested without editable-install hooks or the experiment package. All eight configuration entry points, data/TPNet commands and 105 CPU regression tests passed (one upstream-variant test skipped). Ruff, mypy and distribution metadata checks passed. GPU end-to-end training was not rerun for this release.

Source commit: 1040d499fd297898a99f424066f2e9e011e24299.