Skip to content
Back to skills

Large Scale Graphs

ASecurity

"Use DIG's large-scale graph stack for GraphFMOB/GraphFMIB-style

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 8, 2026
developmentgonodeapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill large-scale-graphs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Large Scale Graphs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Large Scale Graphs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-large-scale-graphs/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-large-scale-graphs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: large-scale-graphs
description: "Use DIG's large-scale graph stack for GraphFMOB/GraphFMIB-style
  workflows, METIS partitioning, subgraph loaders, feature momentum, and async
  graph-memory helpers."
disable-model-invocation: true
metadata:
  disco-role: operating
license: GPL 3.0
---

# Large-Scale Graphs

Use this sub-skill for DIG workflows that scale graph learning to large node-classification graphs or the GraphFMOB/GraphFMIB code paths.

## Include

- `dig.lsgraph.dataset`: `get_data`, `SubgraphLoader`, `EvalSubgraphLoader`.
- `dig.lsgraph.method.FM`: `FeatureMomentum`.
- `dig.lsgraph.method.GraphFMOB`: `AsyncIOPool`, `metis`, `permute`, `compute_micro_f1`, `gen_masks`, `dropout`, and GraphFMOB loaders when `dig_ext` is available.
- `examples/lsgraph/GraphFMOB` style workflows and the `GraphFMIB` example path.
- OGB/Reddit/Flickr/Yelp/SBM-style large-graph loading patterns.

## Exclude

- Molecular, 3D, SSL, explainability, GOOD, augmentation, or fairness workflows unless they are used only as supporting examples.

## Start Here

- Read `references/api-reference.md` for the loader and memory helpers.
- Read `references/workflows.md` for the partition/load/train/inference pattern.
- Read `references/troubleshooting.md` when `dig_ext` or sparse extensions are missing.
- Run `scripts/lsgraph_feature_momentum_smoke.py` for a safe, extension-aware smoke check.

## Core Workflows

- **Partitioned training**: use METIS partitioning, `SubgraphLoader`, and `EvalSubgraphLoader` to batch a large graph into local neighborhoods.
- **Feature memory**: use `FeatureMomentum` and `AsyncIOPool` to keep node embeddings or async transfer buffers aligned with the partitioned loader.
- **Model evaluation**: use `compute_micro_f1` on the loaded data and masks after training.

## Important Limitation

`dig.lsgraph.dataset` and the async helper code depend on a compiled `dig_ext` extension in the source tree. If that extension is not present, document the limitation and restrict yourself to extension-independent API guidance. `FeatureMomentum` can be imported directly from `dig.lsgraph.method.FM`, but some CPU-only PyTorch builds still fail its pinned-memory allocation and should be reported as a backend limitation rather than treated as a dataset failure.

Files in this skill

  • SKILL.md2.2 KB
  • references/api-reference.md913 B
  • references/troubleshooting.md1 KB
  • references/workflows.md793 B
  • scripts/lsgraph_feature_momentum_smoke.py1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.