-
Notifications
You must be signed in to change notification settings - Fork 48
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
fix: remove fire ported from Hari's PR #303 #324
fix: remove fire ported from Hari's PR #303 #324
Conversation
eb8d6c3
to
85612a6
Compare
The errors are completely unrelated to the changes in the PR.
Seems to be coming from fms-hf-tuning/tests/test_sft_trainer.py Lines 509 to 520 in 6cfb2ff
Same error in other PR builds as well https://github.com/foundation-model-stack/fms-hf-tuning/actions/runs/10637170607/job/29490507719?pr=324#step:4:1329 |
85612a6
to
b703b63
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@anhuong can we merge this when you are comfortable with it? |
Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com> Signed-off-by: Harikrishnan Balagopal <harikrishmenon@gmail.com>
b703b63
to
5ca6ee4
Compare
@HarikrishnanBalagopal what testing did you do for this change? We would want to ensure that with this change users can still run training from CLI, with JSON config, and from importing python module. Unit tests cover the python module and JSON config use cases. Thus if you test the CLI piece, then this should be sufficient. Including an example of running with CLI and with target_modules and not getting the error would be great. |
Implementing these changes on my machine: Running LoRA:
Log:
Fine Tuning
Log:
So it seems to run with no problem from CLI |
Thanks for running the test Will! |
Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com> Signed-off-by: Harikrishnan Balagopal <harikrishmenon@gmail.com> Signed-off-by: Anh Uong <anh.uong@ibm.com> Co-authored-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com> Signed-off-by: Angel Luu <angel.luu@us.ibm.com>
Description of the change
Remove the 2nd CLI parser (fire) because it's not necessary and throws errors when training with LoRA.
Related issue number
Fixes #47
How to verify the PR
make test
Was the PR tested