Merged
Conversation
- grid-cell.glsl: hexagonal 3-wave grid cell firing pattern Three cosine waves at 60° intervals, orientation + phase + spacing params - addition-linear.glsl: multiplication-free L1 distance linear layer y = -||W - x||₁ + bias, no multiplications, only add/sub/abs - snippets/grid_cell.glsl: JIT-fusable op_grid_cell() - snippets/addition_linear.glsl: op_addition_linear(), op_sign_activation(), op_additive_sigmoid() for JIT fusion pipeline Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Core infrastructure for typed message passing between Vulkan compute (C++) and CubeMind brain modules (Python). Proto definitions (cpp/proto/grilly_channels.proto): - TensorData, SpikeTrain, SpikeEvent - ExpertWeights, ExpertUpdate, RouteRequest/Response - MemoryCapsule, MemoryQuery/Result - TelemetryEvent, NeurochemState - TrainStepRequest/Result - GrillyCompute RPC service C++ channel (cpp/include/grilly/channels/channel.h): - BaseChannel abstract interface - InProcessChannel: thread-safe queue with listener pattern - MessageEnvelope with type, timestamp, sender, payload Python channel (backend/channels.py): - Channel class: C++ backend with pure-Python fallback - Convenience: send_tensor, receive_tensor, send_spikes, receive_spikes, send_telemetry - Subscriber pattern: ch.on(MessageType.TELEMETRY, callback) pybind11 bindings (cpp/python/bindings_channels.cpp): - MessageType enum, MessageEnvelope, InProcessChannel - numpy array convenience methods Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Massive upgrade. DO NOT USE IN PRODUCTION. Latest git is for pre-release v1.0 which will be released soon. Use pypi + the attached pyd in the release section for the latest 0.6.1 gpu ready binary.