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

aqlm #233

Closed
wants to merge 8 commits into from
Closed

aqlm #233

wants to merge 8 commits into from

Conversation

flozi00
Copy link
Collaborator

@flozi00 flozi00 commented Feb 9, 2024

What does this PR do?

Fixes # (issue)

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Was this discussed/approved via a Github issue or the discord / slack channel? Please add a link
    to it if that's the case.
  • Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@flozi00
Copy link
Collaborator Author

flozi00 commented Feb 9, 2024

@tgaddair
I dont know whats going on with me today
cloud you please finish this PR ?
Need to take a break for some days

@thincal
Copy link
Contributor

thincal commented Mar 11, 2024

+1 for the AQLM requirement

@tgaddair tgaddair mentioned this pull request Mar 17, 2024
36 tasks
@@ -234,7 +234,7 @@ def get_model(
trust_remote_code=trust_remote_code,
)

if model_type == "llama":
if model_type in ["llama", "llama_aqlm"]:

Choose a reason for hiding this comment

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

llama_aqlm and similar custom model types are deprecated. We moved AQLM from custom code to transformers integration with transformers 4.38.0. Correct me if I'm wrong and it serves different purpose here.

@@ -38,13 +38,14 @@ boto3 = "^1.28.34"
urllib3 = "<=1.26.18"
hqq = { version = "^0.1.2", optional = true }
stanford-stk = { version = "^0.7.0", markers = "sys_platform == 'linux'" }
aqlm = { version = "^1.0.0"}

Choose a reason for hiding this comment

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

Proper backprop was added in aqlm==1.1.0 and bf16 support was added in aqlm==1.1.2.

@flozi00 flozi00 closed this May 22, 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.

None yet

3 participants