Skip to content

Conversation

RunDevelopment
Copy link
Member

@RunDevelopment RunDevelopment commented May 29, 2024

size += size % model.size_requirements.multiple_of does not make size a multiple of multiple_of. E.g. for size=3 and multiple_of=4, this will result in a value of 6 for size at the end.

It was also wrong in that it didn't account for the minimum size.

@joeyballentine joeyballentine merged commit 25e9dc3 into chaiNNer-org:main May 29, 2024
@RunDevelopment RunDevelopment deleted the fix-onnx-padding branch May 29, 2024 22:46
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.

2 participants