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

SQFT Finetuning #947

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

Conversation

jpablomch
Copy link

@jpablomch jpablomch commented Nov 25, 2024

Description

This PR enables SQFT's NLS fine-tuning as a microservice in OPEA.

SQFT details can be found in the paper: SQFT: Low-cost Model Adaptation in Low-precision Sparse Foundation
Models (https://aclanthology.org/2024.findings-emnlp.749/)

Issues

N/A

Type of change

New feature (non-breaking change which adds new functionality) as detailed in our paper https://aclanthology.org/2024.findings-emnlp.749.pdf

Dependencies

Transformers, PEFT, and NNCF.

Tests

We include a test to validate the fine-tuning, similar to other existing fine-tuning approaches in OPEA.

@jpablomch jpablomch marked this pull request as ready for review November 26, 2024 22:08
@chensuyue
Copy link
Collaborator

Please fix the code scan issue and e2e test issue in CI test.
Submit each commit with git commit -s -m xxx to avoid DCO issue.

Yuan0320 and others added 8 commits November 27, 2024 10:28
Co-authored-by: J. Pablo Muñoz <[email protected]>
Signed-off-by: J. Pablo Muñoz <[email protected]>
Co-authored-by: J. Pablo Muñoz <[email protected]>
Signed-off-by: J. Pablo Muñoz <[email protected]>
Signed-off-by: Yuan0320 <[email protected]>
Signed-off-by: J. Pablo Muñoz <[email protected]>
Signed-off-by: Yuan0320 <[email protected]>
Signed-off-by: J. Pablo Muñoz <[email protected]>
…validation

Signed-off-by: Yuan0320 <[email protected]>
Signed-off-by: J. Pablo Muñoz <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: J. Pablo Muñoz <[email protected]>
@joshuayao joshuayao linked an issue Nov 28, 2024 that may be closed by this pull request
@joshuayao
Copy link
Collaborator

Hi @jpablomch, could you please help check the failures in the test?

Yuan0320 and others added 8 commits December 3, 2024 08:55
Co-authored-by: J. Pablo Muñoz <[email protected]>
Signed-off-by: Yuan0320 <[email protected]>
Co-authored-by: J. Pablo Muñoz <[email protected]>
Signed-off-by: Yuan0320 <[email protected]>
Co-authored-by: J. Pablo Muñoz <[email protected]>
Signed-off-by: Yuan0320 <[email protected]>
Co-authored-by: J. Pablo Muñoz <[email protected]>
Signed-off-by: Yuan0320 <[email protected]>
Co-authored-by: J. Pablo Muñoz <[email protected]>
Signed-off-by: Yuan0320 <[email protected]>
@ftian1
Copy link
Collaborator

ftian1 commented Dec 4, 2024

pls hold on this PR. we are syncing on how to deal with this one.

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.

[Feature] SQFT Finetuning Microservice
7 participants