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

Remove overheads in library #328

Merged
merged 3 commits into from
Oct 3, 2024
Merged

Remove overheads in library #328

merged 3 commits into from
Oct 3, 2024

Conversation

dacorvo
Copy link
Collaborator

@dacorvo dacorvo commented Oct 3, 2024

What does this PR do?

This removes the indirection when calling torch.ops.quanto.unpack (the consequence is that we cannot disable the extensions for this call).

This also removes the calls to custom_ops for quantization methods since in the current pytorch version it has a significant overhead.

@dacorvo dacorvo merged commit b54737e into main Oct 3, 2024
16 checks passed
@dacorvo dacorvo deleted the refactor_library branch October 3, 2024 09:25
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