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

Group shape error #13

Open
LuckyLYM opened this issue Jul 5, 2024 · 1 comment
Open

Group shape error #13

LuckyLYM opened this issue Jul 5, 2024 · 1 comment

Comments

@LuckyLYM
Copy link

LuckyLYM commented Jul 5, 2024

I ran the code with configs.llm.yaml and configs/qoq/gchn.yaml and got the following error message:

/lmquant/lmquant/quant/data/utils/shape.py, Line 77, in format_group_configs
assert n>=2, "the group shape must have at least two dimensions".

Could you please help resolve this issue?

@synxlin
Copy link
Contributor

synxlin commented Nov 8, 2024

Hi,
Did you edit the group size settings in the configuration yaml? In our package, we require all group size settings to have at least two dimensions, where the first dimension corresponds to the output channels, and the second dimension corresponds to the input channels.

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

No branches or pull requests

2 participants