Repository navigation
Define neural architectures in BASIC with packed tensors - #97
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GotA neural policies can define their architecture in BASIC using shared packed-tensor operations, so a new supported architecture no longer needs a custom native runner. Per-player weights and recurrent state stay inside the VM. BASIC scalar arithmetic remains deterministic integer/Q16.16; float32 is confined to tensors.
Uses the merged Bassy #9, pinned to
a02e6dd5889310b13d21725c891bde8d01539f08in both dependency locks. Its contents match the locally tested dependency exactly.Validation:
Limits: private trained bot uploads were not tested. David's reference state differs by at most 5.96e-8, with at most one raw Q16.16 output unit of difference. Cross-platform float32 bitwise identity is not promised. Benchmarks are documented: small models pay extra host-call overhead, while the tested large David model was faster and Fly was about 1.55x slower than its specialized runner.