Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix split pruning for multiple iterative_steps #352

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

1 participant