N Neurarch All checks Caught bugs Docs Open the app

Checks / structure

Cycle introduction

Check G03. Runs in the editor as you build, in CI through the GitHub Action, and over the wire at POST /api/v1/check. Milliseconds, before any GPU is billed.

block structure G03
TriggerAn add_connection closes a cycle in the existing DAG. DFS check on the union of current edges and proposed edges.
WhyNN forward graphs are acyclic. Recurrence lives inside the layer type (LSTM, GRU), not as a graph cycle. A connection that closes a cycle is almost always a mis-step.
SourceDAG requirement matches PyTorch nn.Module.forward semantics. torch.autograd docs note that gradient computation requires a DAG.

Why it is not a lint you can ignore

A structural mistake does not fail at review time and it does not fail at import time. It fails when the module is constructed on the training node, after the job was queued and the dataset was downloaded. That is why this runs before the spend and not after it.
Run this check on your own model Free, no account needed

Every check

41 structural checks: 6 guardrail gates and 35 architecture advisor rules. See the full catalogue.

← G02 Param explosion  ยท  G04 Orphan layers →