neuralqx.experimental.operators.symbolic.compiler.defaults module¶
Default pipeline and registry factories for the symbolic compiler.
- default_symbolic_pass_pipeline()¶
Builds the default two-stage symbolic compiler pass pipeline.
- Pre-cache passes (run on every
compile()call): SymbolicValidationPass- validates IR symbol scopes and update-op parameters.SymbolicNormalizationPass- computes the IR fingerprint and resolves the target backend.
- Post-cache passes (run only on cache misses):
SymbolicFanoutAnalysisPass- derives per-term fanout bounds and the total padded output size.SymbolicFusionPass- groups terms into fusion-compatible clusters for the lowerer.
- Return type:
- Returns:
Configured
SymbolicPassPipeline.
- Pre-cache passes (run on every
- default_symbolic_lowerer_registry()¶
Builds the default symbolic lowerer registry.
Currently registers only the JAX backend lowerer (
JAXSymbolicLowerer).- Return type:
- Returns:
Configured
SymbolicLowererRegistry.
- default_symbolic_artifact_store()¶
Returns the module-level shared in-memory artifact store.
The store is lazily created and reused across compiler instances in the same process. Call
InMemorySymbolicArtifactStore.clear()to evict all compiled artifacts if needed.- Return type:
- Returns:
Shared
InMemorySymbolicArtifactStore.