-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
bugfix for qlora finetuning on GPU #12298
bugfix for qlora finetuning on GPU #12298
Conversation
self.weight.qtype, input_seq_size) | ||
if self.weight.qtype == NF4: | ||
result = xe_linear.forward_new(x_2d, self.weight.data.view(torch.uint8), | ||
self.weight.qtype, input_seq_size) |
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.
please fix the code style.
@@ -23,6 +23,8 @@ pip install bitsandbytes scipy | |||
source /opt/intel/oneapi/setvars.sh # necessary to run before installing deepspeed | |||
pip install git+https://github.com/microsoft/DeepSpeed.git@78c518e | |||
pip install git+https://github.com/intel/intel-extension-for-deepspeed.git@ec33277 | |||
# install mpirun |
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.
# (optional) install mpirun to run multi-card finetuning
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
Fix error during qlora finetuning evaluation stage
update readme about mpirun installation