Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

feat: add Attribute_Tensor to protobuf schema#9

Merged
dndungu merged 1 commit intozerfoo:mainfrom
dndungu:fix/attribute-tensor
Mar 3, 2026
Merged

feat: add Attribute_Tensor to protobuf schema#9
dndungu merged 1 commit intozerfoo:mainfrom
dndungu:fix/attribute-tensor

Conversation

@dndungu
Copy link
Copy Markdown
Contributor

@dndungu dndungu commented Mar 3, 2026

Summary

  • Add Attribute_Tensor oneof variant to Attribute message in zerfoo.proto
  • Regenerated zerfoo.pb.go with the new field

Why

PRs #7 and #8 merged as no-ops due to diverged histories (same commit messages, different SHAs/content). This PR is based directly on upstream main with a clean diff.

Without Attribute_Tensor, zerfoo/zerfoo fails to build:

model/builder.go:402:42: undefined: zmf.Attribute_Tensor

Test plan

  • Verify Attribute_Tensor is present in merged zerfoo.pb.go
  • Tag v0.3.0 after merge
  • Update zerfoo/zerfoo go.mod to zmf v0.3.0

Add tensor oneof variant to Attribute message, enabling storage of
tensor constants as node attributes. Required by zerfoo model builder.
@dndungu dndungu merged commit 9e4a2a1 into zerfoo:main Mar 3, 2026
3 checks passed
@dndungu dndungu deleted the fix/attribute-tensor branch March 3, 2026 22:03
@dndungu dndungu restored the fix/attribute-tensor branch March 4, 2026 22:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant