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

contiguous groups #147

Closed
wants to merge 1 commit into from
Closed

contiguous groups #147

wants to merge 1 commit into from

Conversation

kylesayrs
Copy link
Collaborator

SUMMARY:
"please provide a brief summary"

TEST PLAN:
"please outline how the changes were tested"

Copy link

github-actions bot commented Sep 6, 2024

👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review.

from torch.nn import Module

from llmcompressor.core import Event, EventType, State
from llmcompressor.modifiers import Modifier
from llmcompressor.modifiers.utils.pytorch_helpers import run_calibration_forward

__all__ = ["QuantizationModifier"]
__all__ = ["QuantizationModifier", "CONTIGUOUS_ACTIVATION_ORDERINGS"]
CONTIGUOUS_ACTIVATION_ORDERINGS = {ActivationOrdering.GROUP}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't ActivationOrdering.GROUP the only non-contiguous one? not the only contiguous one? CONTIGUOUS_ACTIVATION_ORDERINGS

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah sorry I inverted the set accidentally

@kylesayrs
Copy link
Collaborator Author

@kylesayrs kylesayrs closed this Sep 9, 2024
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