Download ARCHITECTURE.md from chrisuser/neuro-compiler: direct link, hf CLI and curl.
- Browser
- Download file 1.79 kB
-
https://huggingface.co/chrisuser/neuro-compiler/resolve/main/ARCHITECTURE.md
- Command line
-
hf download hf://chrisuser/neuro-compiler/ARCHITECTURE.md
-
curl -L -o ARCHITECTURE.md https://huggingface.co/chrisuser/neuro-compiler/resolve/main/ARCHITECTURE.md
Architecture of 0.3.0
The source encoder uses the pinned Qwen2.5-Coder-0.5B tokenizer and its first six transformer blocks. The original intermediate-layer contract omits Qwen's final normalization. Learned grounded graph AST, graph SSA and graph instruction selection retain the accepted eight-operation weights and their latent boundaries.
The 15E backend consumes predicted instruction-selection output. CanonicalMIR performs fixed ISA normalization and rejects unsupported or malformed rows. Exact dependency/lifetime computation and resource reservations supply explicit state. The frozen allocator scores choices using the original learned policy's tensor lookup buffers. Tensor stack lowering routes spill slots and enforces explicit register and System V callee-save/stack behavior. The original slot rank weight is negative and recorded in the manifest. A learned resident encoder and explicit numeric-payload routing emit bytes. This backend replaces both earlier neural regalloc and binary layers.
These explicit lifetime, state, stack and ABI mechanisms are production components of the owner-selected hybrid design. They are not described as learned neural algorithms. The scoring LUT is a frozen buffer, not a trainable parameter. No LLVM, assembler or source-reference compiler is called by production inference. The independent verifier alone parses source expressions and runs bounded emulation; it does not repair model predictions.
Export uses tensor-only SafeTensors, strict state loading, parameter-count checks and SHA-256 validation. Original accepted checkpoint SHA-256 relationships remain in the manifest. The exported AST/SSA/ISEL/final bytes match all 600 qualified cached-feature examples. Runtime changes are packaging adaptations, not new training.