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

support for common hf multimodel #276

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

support for common hf multimodel #276

wants to merge 28 commits into from

Conversation

n1ck-guo
Copy link
Contributor

No description provided.

@wenhuach21
Copy link
Contributor

As discussed:
1 Configure the template using a file to eliminate the need for additional coding.
2 move the code from example to autoround
3 Refine the cache code in AutoRound to improve generalizability for new models with train_batch_size=1.

@wenhuach21
Copy link
Contributor

4 refine all the examples of vlm

@wenhuach21
Copy link
Contributor

5 also support it in auto_round cmd

auto_round/__main__.py Outdated Show resolved Hide resolved
auto_round/__main__.py Outdated Show resolved Hide resolved
auto_round/__main__.py Outdated Show resolved Hide resolved
Signed-off-by: n1ck-guo <[email protected]>
Signed-off-by: n1ck-guo <[email protected]>
auto_round/autoround.py Outdated Show resolved Hide resolved
auto_round/__main__.py Outdated Show resolved Hide resolved
Signed-off-by: n1ck-guo <[email protected]>
auto_round/autoround.py Outdated Show resolved Hide resolved
Signed-off-by: n1ck-guo <[email protected]>
Signed-off-by: n1ck-guo <[email protected]>
Signed-off-by: n1ck-guo <[email protected]>
auto_round/__main__.py Outdated Show resolved Hide resolved
Signed-off-by: n1ck-guo <[email protected]>
auto_round/__main__.py Outdated Show resolved Hide resolved
Signed-off-by: n1ck-guo <[email protected]>
Signed-off-by: n1ck-guo <[email protected]>
Signed-off-by: n1ck-guo <[email protected]>
Signed-off-by: n1ck-guo <[email protected]>
auto_round/autoround.py Outdated Show resolved Hide resolved
auto_round/__main__.py Outdated Show resolved Hide resolved
auto_round/autoround.py Outdated Show resolved Hide resolved
padding=True,
truncation=True,
) -> None:
super().__init__()
Copy link
Contributor

Choose a reason for hiding this comment

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

Please enhance the code by adding some comments and better add a README to include instructions on how to prepare llava dataset , support new models, etc. in this folder. Additionally, better test the code with an unseen model to evaluate its generalization capabilities.

Signed-off-by: n1ck-guo <[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.

3 participants