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

[Core] [!4Bit] fix cannot pickle 'module' object for 8 bit (fix #47) #49

Merged
merged 21 commits into from
Jun 24, 2024

Conversation

CSY-ModelCloud
Copy link
Member

No description provided.

@CSY-ModelCloud CSY-ModelCloud changed the title [Core] fix cannot pickle 'module' object for 8 bit (#47) [Core] fix cannot pickle 'module' object for 8 bit (fix#47) Jun 24, 2024
@CSY-ModelCloud CSY-ModelCloud changed the title [Core] fix cannot pickle 'module' object for 8 bit (fix#47) [Core] fix cannot pickle 'module' object for 8 bit (fix #47) Jun 24, 2024
Copy link
Contributor

@Qubitium Qubitium left a comment

Choose a reason for hiding this comment

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

Remove these two config prop. symFalse and DescActTrue

@Qubitium Qubitium changed the title [Core] fix cannot pickle 'module' object for 8 bit (fix #47) [Core] [!4Bit] fix cannot pickle 'module' object for 8 bit (fix #47) Jun 24, 2024
@Qubitium Qubitium merged commit f44d984 into main Jun 24, 2024
3 checks passed
@CSY-ModelCloud CSY-ModelCloud deleted the csy-fix-issue-47 branch June 25, 2024 01:27
DeJoker pushed a commit to DeJoker/GPTQModel that referenced this pull request Jul 19, 2024
DeJoker pushed a commit to DeJoker/GPTQModel that referenced this pull request Jul 19, 2024
…Cloud#47) (ModelCloud#49)

* fix cannot pickle 'module' object for 8 bit

* remove unused import

* remove print

* check with tuple

* revert to len check

* add test for 8bit

* set same QuantizeConfig

* check if it's 4 bit

* fix grammar

* remove params

* it's not a list

* set gptqmodel_cuda back

* check is tuple

* format

* set desc_act=True

* set desc_act=True

* format

* format

* Refractor fix

* desc_act=True

---------

Co-authored-by: Qubitium <[email protected]>
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.

[BUG] [!4bit] save_quantized TypeError: cannot pickle 'module' object
2 participants