Skip to content

docs: 'The DSL is compute' — architecture principle for memory-free network definitions - #1194

Merged
michalharakal merged 1 commit into
developfrom
docs/dsl-is-compute
Aug 27, 2026
Merged

michalharakal merged 1 commit into
developfrom
docs/dsl-is-compute

Conversation

@michalharakal

Copy link
Copy Markdown
Contributor

New explanation page explanation/dsl-principles.adoc, linked from the architecture document's solution strategy and the nav.

It writes down the principle the recent work kept proving implicitly, so it can be taught instead of re-derived:

A network definition is a pure description of computation. Every claim about memory, encoding, layout, or placement lives outside the DSL — and every such claim is either honored by a mechanism or visibly rejected. Never silently approximated.

Contents:

Docs only — no code changes.

🤖 Generated with Claude Code

…of network definitions

States the rule the recent work kept proving implicitly: the DSL/DAG/tape
answer only *what is computed*; memory intent lives per tensor at the load
boundary (WeightForm), is priced by the plan, honored-or-visibly-rejected
by the resolvers, and runtime dispatch holds no memory policy at all.

Includes the level-responsibility table, the evidence (#1136: new ternary
arithmetic with zero DSL change; #1189/#1190: 1 GB model under a 256 MB
ART cap with zero DSL change — and the planner-lie counterexample showing
why claims must be contracts, not hints), what the principle rules out,
and where knobs actually belong. Linked from the architecture document's
solution strategy and the explanation nav.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

📖 Documentation Preview

The documentation has been built successfully for this PR.

Generated Files:

  • Operator documentation: docs/modules/operators/_generated_/
  • JSON schema output: operators.json

Artifacts:

  • Download the documentation-preview-1194 artifact to view the complete documentation locally.

This comment will be updated automatically when the PR is updated.

@michalharakal
michalharakal merged commit 8fd84b7 into develop Aug 27, 2026
18 checks passed
@michalharakal
michalharakal deleted the docs/dsl-is-compute branch August 27, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant