Skip to content

[FIX] Pack uint1 tensors by data type width - #680

Merged
cyx-6 merged 1 commit into
mainfrom
codex/remove-uint1-getdatasize-special-case
Jul 22, 2026
Merged

[FIX] Pack uint1 tensors by data type width#680
cyx-6 merged 1 commit into
mainfrom
codex/remove-uint1-getdatasize-special-case

Conversation

@tqchen

@tqchen tqchen commented Jul 21, 2026

Copy link
Copy Markdown
Member

Remove the legacy scalar uint1 byte-per-element special case from GetDataSize, so all sub-byte integer types use the packed size calculation. Add focused coverage for packed uint1 and byte-sized bool8 tensors.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@cyx-6
cyx-6 merged commit d6c18a6 into main Jul 22, 2026
9 checks passed
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.

3 participants