Skip to content

feat: add Attribute_Tensor to protobuf schema#10

Open
dndungu wants to merge 2 commits intozerfoo:mainfrom
dndungu:fix/attribute-tensor
Open

feat: add Attribute_Tensor to protobuf schema#10
dndungu wants to merge 2 commits intozerfoo:mainfrom
dndungu:fix/attribute-tensor

Conversation

@dndungu
Copy link
Contributor

@dndungu dndungu commented Mar 4, 2026

Summary

  • Add Attribute_Tensor variant to the ZMF protobuf schema
  • Required by zonnx converter for ONNX models with tensor-valued attributes (e.g., Gather embedded indices)

Test plan

  • Protobuf schema compiles
  • Used by zonnx v0.3.0+ for model conversion

dndungu added 2 commits March 3, 2026 14:02
Add tensor oneof variant to Attribute message, enabling storage of
tensor constants as node attributes. Required by zerfoo model builder.
Block quantization types for 4-bit and 8-bit weight storage.
Q4_0 = 14, Q8_0 = 15.
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