Skip to content

Conversation

@SPieterG
Copy link

The SplitPruner updates self.offsets instead of layer.offsets causing index errors when using iterative_steps > 1

Reproducible by setting iterative_steps=2 in the test_concat_split.py and test_split.py tests

@SPieterG
Copy link
Author

@VainF Looking at the ConcatPruner it seems to do the same with self.offsets but the test_concat.py already works even with iterative_steps = 5. Would you know what could be the difference that makes concat work but split fail or would it be failing in a hidden way?

@SPieterG SPieterG marked this pull request as draft March 14, 2024 12:22
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